1 # Note that this is NOT a relocatable package
4 %define RELEASE 0_cvs_0
5 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
7 %define sysconfdir /etc
12 Summary: Raph's SVG library
13 Summary(pl): biblioteka Raph's SVG
18 Group: System Environment/Libraries
19 Source: %{name}-%{ver}.tar.gz
20 URL: http://nautilus.eazel.com/
21 BuildRoot: /var/tmp/%{name}-%{ver}-root
23 Requires: glib >= 1.2.9
24 Requires: gtk+ >= 1.2.9
25 Requires: libxml >= 1.8.10
26 Requires: gdk-pixbuf >= 0.10.0
28 Requires: freetype >= 2.0.1
32 Eazel Extension Library
35 Rozszezona bibioteka eazel
38 Summary: Libraries and include files for developing with librsvg.
39 Group: Development/Libraries
40 Requires: %name = %{PACKAGE_VERSION}
43 This package provides the necessary development libraries and include
44 files to allow you to develop with librsvg.
46 %description devel -l pl
47 Bibliteki potrzebne do programowania.
50 * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
51 - removed obsoletes from sub packages and added mozilla and trilobite
54 * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
62 MYARCH_FLAGS="--host=alpha-redhat-linux"
68 export LC_ALL LINGUAS LANG
70 ## Warning! Make sure there are no spaces or tabs after the \
71 ## continuation character, or else the rpm demons will eat you.
72 CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \
73 --sysconfdir=%{sysconfdir}
79 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
80 make -k prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
81 for FILE in "$RPM_BUILD_ROOT/bin/*"; do
82 file "$FILE" | grep -q not\ stripped && strip $FILE
86 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
89 if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then
90 echo "%{prefix}/lib" >> /etc/ld.so.conf
94 %postun -p /sbin/ldconfig
98 %defattr(0555, bin, bin)
99 %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
104 %defattr(0555, bin, bin)
107 %{prefix}/bin/librsvg-config
109 %defattr(0444, bin, bin)
110 %{prefix}/include/librsvg/*.h