]> git.pld-linux.org Git - packages/librsvg.git/blobdiff - librsvg.spec
- typo
[packages/librsvg.git] / librsvg.spec
index 0da5848b854ba073f6a0571d06afedb8851b72a8..7b9712fe00797805b52fb63ff0df8727363b295f 100644 (file)
@@ -1,42 +1,44 @@
 # Note that this is NOT a relocatable package
-%define name           librsvg
-%define ver            1.0.1
-%define RELEASE                0_cvs_0
-%define rel            %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-%define prefix         /usr
-%define sysconfdir     /etc
-
-Name:          %name
-Vendor:                GNOME
-Distribution:  CVS
+
 Summary:       Raph's SVG library
-Summary(pl):   biblioteka Raph's SVG
-
-Version:       %ver
-Release:       %rel
-Copyright:     LGPL
-Group:         System Environment/Libraries
-Source:        %{name}-%{ver}.tar.gz
-URL:           http://nautilus.eazel.com/
-BuildRoot:     /var/tmp/%{name}-%{ver}-root
-Docdir:        %{prefix}/doc
-Requires:      glib >= 1.2.9
-Requires:      gtk+ >= 1.2.9
-Requires:      libxml >= 1.8.10
-Requires:      gdk-pixbuf >= 0.10.0
-Requires:      popt >= 1.5
-Requires:      freetype >= 2.0.1
-Requires:      libpng
+Summary(pl):   Biblioteka Raph's SVG
+Name:          librsvg
+Version:       1.0.1
+Release:       1
+License:       LGPL
+Vendor:                GNOME
+Group:         Libraries
+Group(de):     Libraries
+Group(es):     Bibliotecas
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/librsvg/%{name}-%{version}.tar.bz2
+URL:           http://nautilus.eazel.com/
+BuildRequires: glib-devel >= 1.2.9
+BuildRequires: gtk+-devel >= 1.2.9
+BuildRequires: libxml-devel >= 1.8.10
+BuildRequires: gdk-pixbuf-devel >= 0.10.0
+BuildRequires: popt-devel >= 1.5
+BuildRequires: freetype-devel >= 2.0.1
+BuildRequires: libpng-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix                /usr/X11R6
+%define _sysconfdir    /etc
 
 %description
 Eazel Extension Library
 
 %description -l pl
-Rozszezona bibioteka eazel
+Rozsze¿ona bibioteka eazel
 
 %package devel
 Summary:       Libraries and include files for developing with librsvg.
+Summary(pl):   Biblioteki i pliki nag³ówkowe do developing'u z u¿yciem librsvg.
 Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
 Requires:      %name = %{PACKAGE_VERSION}
 
 %description devel
@@ -44,67 +46,75 @@ This package provides the necessary development libraries and include
 files to allow you to develop with librsvg.
 
 %description devel -l pl
-Bibliteki potrzebne do programowania.
+Bibliteki potrzebne do programowania, zawieraj±ce biblioteki i pliki
+nag³ówkowe, które pomagaj± tworzenie oprogramowania z wykorzystaniem 
+librsvg.
+
+%package static
+Summary:       Static libraries and include files for developing with librsvg.
+Summary(pl):   Statyczne biblioteki do developing'u z u¿yciem librsvg.
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %name = %{PACKAGE_VERSION}
 
-%changelog
-* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
-- removed obsoletes from sub packages and added mozilla and trilobite
-subpackages
+%description static
+This package provides the necessary development static libraries to allow you 
+to develop with librsvg.
 
-* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
-- created this thing
+%description static -l pl
+Bibliteki statyczne potrzebne do programowania, zawieraj±ce biblioteki, które 
+wspomagaj± tworzenie oprogramowania z wykorzystaniem librsvg.
 
 %prep
-%setup
+%setup -q
 
 %build
+CFLAGS="$RPM_OPT_FLAGS" 
+export LDFLAGS
+
+%configure2_13 \
+       --prefix=%{_prefix} \
+       --sysconfdir=%{_sysconfdir}
 %ifarch alpha
-       MYARCH_FLAGS="--host=alpha-redhat-linux"
+       --host=alpha-pld-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}
+%install
+rm -rf $RPM_BUILD_ROOT
 
-make -k
-make check
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
 
-%install
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-make -k prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
 for FILE in "$RPM_BUILD_ROOT/bin/*"; do
        file "$FILE" | grep -q not\ stripped && strip $FILE
 done
 
-%clean
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+gzip -9nf ChangeLog AUTHORS NEWS
 
 %post
-if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then
-       echo "%{prefix}/lib" >> /etc/ld.so.conf
-fi
 /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so*
+%doc *.gz
 
-%defattr(0555, bin, bin)
-%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
-%{prefix}/lib/*.so*
 
 %files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/librsvg-config
+%attr(755,root,root) %{_libdir}/*.la
+%{_libdir}/*.sh
+%{_includedir}/librsvg/*.h
 
-%defattr(0555, bin, bin)
-%{prefix}/lib/*.la
-%{prefix}/lib/*.sh
-%{prefix}/bin/librsvg-config
 
-%defattr(0444, bin, bin)
-%{prefix}/include/librsvg/*.h
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
This page took 0.030852 seconds and 4 git commands to generate.