%define major 1 Name: librsvg Summary: Raph's SVG library Version: 1.0.3 Release: 1mdk License: LGPL Group: System/Libraries Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}-%{version}.tar.bz2 URL: http://nautilus.eazel.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: popt-devel libpng-devel libgtk+1.2-devel gdk-pixbuf-devel freetype2-devel libxml-devel gnome-libs-devel %description Eazel Extension Library %package -n %{name}%{major} Summary: Raph's SVG library Group: System/Libraries # (needed to remove wrong librsvg0 which should not have existed) Obsoletes: librsvg0 Provides: librsvg0 = %{version} %description -n %{name}%{major} Eazel Extension Library %package -n %{name}%{major}-devel Summary: Libraries and include files for developing with librsvg. Group: Development/C Requires: %{name}%{major} = %{version} Provides: %{name}-devel = %{version} # (needed to remove wrong librsvg0 which should not have existed) Obsoletes: librsvg0-devel Provides: librsvg0-devel = %{version} %description -n %{name}%{major}-devel This package provides the necessary development libraries and include files to allow you to develop with librsvg. %prep %setup -q %build %configure %make make check %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %makeinstall %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig -n %{name}%{major} %postun -p /sbin/ldconfig -n %{name}%{major} %files -n %{name}%{major} %defattr(-, root, root) %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README %{_libdir}/*.so.* %files -n %{name}%{major}-devel %defattr(-,root,root) %{_libdir}/*.la %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/*.sh %{_bindir}/librsvg-config %{_includedir}/librsvg-1 %{_libdir}/pkgconfig/* %{_datadir}/aclocal/* %changelog * Thu Jan 24 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.3-1mdk - Release 1.0.3 * Fri Oct 26 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.2-1mdk - Release 1.0.2 * Fri Jul 6 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-1mdk - Release 1.0.1 * Tue May 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-2mdk - Use correct major number for package naming * Mon May 14 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-1mdk - First Mandrake packae * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com> - removed obsoletes from sub packages and added mozilla and trilobite subpackages * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com> - created this thing