1 # Note that this is NOT a relocatable package
3 Summary: Raph's SVG library
4 Summary(pl): biblioteka Raph's SVG
12 Group(es): Bibliotecas
15 Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/librsvg/%{name}-%{version}.tar.bz2
16 URL: http://nautilus.eazel.com/
17 BuildRequires: glib-devel >= 1.2.9
18 BuildRequires: gtk+-devel >= 1.2.9
19 BuildRequires: libxml-devel >= 1.8.10
20 BuildRequires: gdk-pixbuf-devel >= 0.10.0
21 BuildRequires: popt-devel >= 1.5
22 BuildRequires: freetype-devel >= 2.0.1
23 BuildRequires: libpng-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _sysconfdir /etc
30 Eazel Extension Library
33 Rozszezona bibioteka eazel
36 Summary: Libraries and include files for developing with librsvg.
37 Group: Development/Libraries
38 Group(de): Entwicklung/Libraries
39 Group(fr): Development/Librairies
40 Group(pl): Programowanie/Biblioteki
41 Requires: %name = %{PACKAGE_VERSION}
44 This package provides the necessary development libraries and include
45 files to allow you to develop with librsvg.
47 %description devel -l pl
48 Bibliteki potrzebne do programowania.
55 MYARCH_FLAGS="--host=alpha-redhat-linux"
61 export LC_ALL LINGUAS LANG
63 ## Warning! Make sure there are no spaces or tabs after the \
64 ## continuation character, or else the rpm demons will eat you.
65 CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \
66 --sysconfdir=%{_sysconfdir}
72 rm -rf $RPM_BUILD_ROOT
73 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
74 %{__make} -k prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
75 for FILE in "$RPM_BUILD_ROOT/bin/*"; do
76 file "$FILE" | grep -q not\ stripped && strip $FILE
80 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
83 if ! grep %{_prefix}/lib /etc/ld.so.conf > /dev/null ; then
84 echo "%{_prefix}/lib" >> /etc/ld.so.conf
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
93 %defattr(0555, bin, bin)
94 %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
98 %defattr(644,root,root,755)
100 %defattr(0555, bin, bin)
103 %attr(755,root,root) %{_bindir}/librsvg-config
105 %defattr(0444, bin, bin)
106 %{_includedir}/librsvg/*.h