Name: librsvg Summary: Raph's SVG library Version: 1.0.2 Release: 1 License: LGPL Group: System Environment/Libraries Source: %{name}-%{version}.tar.gz URL: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: libxml >= 1.8.10 Requires: gdk-pixbuf >= 0.10.0 Requires: freetype >= 2.0.1 BuildRequires: gdk-pixbuf-devel >= 0.10.0 BuildRequires: freetype-devel >= 2.0.1 BuildRequires: libxml-devel >= 1.8.10 %description Yeah, uhm, so this is an SVG library and stuff. It's really cool, prolly because Raph wrote it. You need it for nautilus. Somebody really should re-write this, don't you think? %package devel Summary: Libraries and include files for developing with librsvg. Group: Development/Libraries Requires: %name = %{version} Requires: gdk-pixbuf-devel >= 0.10.0 Requires: freetype-devel >= 2.0.1 Requires: libxml-devel >= 1.8.10 %description devel This package provides the necessary development libraries and include files to allow you to develop with librsvg. %prep %setup -q %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif LC_ALL="" LINGUAS="" LANG="" export LC_ALL LINGUAS LANG ## Warning! Make sure there are no spaces or tabs after the \ ## continuation character, or else the rpm demons will eat you. CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} \ --bindir=%{_bindir} --includedir=%{_includedir} \ --datadir=%{_datadir} make make check %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT/%{_prefix} \ sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \ libdir=$RPM_BUILD_ROOT/%{_libdir} \ bindir=$RPM_BUILD_ROOT/%{_bindir} \ includedir=$RPM_BUILD_ROOT/%{_includedir} \ datadir=$RPM_BUILD_ROOT/%{_datadir} install %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_libdir}/*a %{_libdir}/*.sh %{_libdir}/*.so %{_bindir}/* %{_includedir}/librsvg-1/ %{_datadir}/aclocal/librsvg.m4 %{_libdir}/pkgconfig/librsvg-1.0.pc %changelog * Wed Oct 31 2001 Gregory Leblanc - removed unncessary %defines - removed -k from make, because it doesn't make sense in RPM - fixed file location macros - made setup quiet - added some build-time dependancies - fixed URL - replaced copyright with license * Tue Oct 10 2000 Robin Slomkowski - removed obsoletes from sub packages and added mozilla and trilobite subpackages * Wed Apr 26 2000 Ramiro Estrugo - created this thing