Group :: Gráficos
RPM: wxsvg
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: wxsvg
Version: 1.0b8
%define minor _1
Release: alt2
Summary: wxSVG is viewer SVG files
License: GPL
Group: Graphics
Url: http://www.wxsvg.org
Packager: Slava Dubrovskiy <dubrsl at altlinux.ru>
Source: %name-%version%minor.tar.gz
BuildRequires: gcc-c++ libart_lgpl-devel libpango-devel wxGTK-devel libavformat-devel libswscale-devel
%description
wxSVG is viewer SVG files
%package -n lib%name
License: GPL
Group: System/Libraries
Summary: lib%name is C++ library to create, manipulate and render SVG files
%description -n lib%name
lib%name is C++ library to create, manipulate and render SVG files
%package -n lib%name-devel-static
License: GPL
Group: System/Libraries
Summary: lib%name is static C++ library to create, manipulate and render SVG files
Obsoletes: lib%name-static
%description -n lib%name-devel-static
lib%name is static C++ library to create, manipulate and render SVG files
%package -n lib%name-devel
License: GPL
Group: Development/C++
Summary: Development shared library for wxSVG
Requires: lib%name = %version-%release
%description -n lib%name-devel
Development shared library for wxSVG
%prep
%setup -q
touch INSTALL
touch NEWS
touch README
%build
%autoreconf
%__subst "s|LIBS=\"-lavformat|LIBS=\"-lavformat -lswscale|g" configure
%configure
%make_build
%install
make install DESTDIR=%buildroot
%post -p %post_ldconfig -n lib%name
%postun -p %postun_ldconfig -n lib%name
%files
%doc ChangeLog AUTHORS TODO COPYING
%_bindir/*
%files -n lib%name
%_libdir/lib*
%exclude %_libdir/lib*.a
%files -n lib%name-devel-static
%_libdir/lib*.a
%files -n lib%name-devel
%_includedir/wx*
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0b8
%define minor _1
Release: alt2
Summary: wxSVG is viewer SVG files
License: GPL
Group: Graphics
Url: http://www.wxsvg.org
Packager: Slava Dubrovskiy <dubrsl at altlinux.ru>
Source: %name-%version%minor.tar.gz
BuildRequires: gcc-c++ libart_lgpl-devel libpango-devel wxGTK-devel libavformat-devel libswscale-devel
%description
wxSVG is viewer SVG files
%package -n lib%name
License: GPL
Group: System/Libraries
Summary: lib%name is C++ library to create, manipulate and render SVG files
%description -n lib%name
lib%name is C++ library to create, manipulate and render SVG files
%package -n lib%name-devel-static
License: GPL
Group: System/Libraries
Summary: lib%name is static C++ library to create, manipulate and render SVG files
Obsoletes: lib%name-static
%description -n lib%name-devel-static
lib%name is static C++ library to create, manipulate and render SVG files
%package -n lib%name-devel
License: GPL
Group: Development/C++
Summary: Development shared library for wxSVG
Requires: lib%name = %version-%release
%description -n lib%name-devel
Development shared library for wxSVG
%prep
%setup -q
touch INSTALL
touch NEWS
touch README
%build
%autoreconf
%__subst "s|LIBS=\"-lavformat|LIBS=\"-lavformat -lswscale|g" configure
%configure
%make_build
%install
make install DESTDIR=%buildroot
%post -p %post_ldconfig -n lib%name
%postun -p %postun_ldconfig -n lib%name
%files
%doc ChangeLog AUTHORS TODO COPYING
%_bindir/*
%files -n lib%name
%_libdir/lib*
%exclude %_libdir/lib*.a
%files -n lib%name-devel-static
%_libdir/lib*.a
%files -n lib%name-devel
%_includedir/wx*
%changelog
…
Todas as alterações você pod ver aqui