Author: blues                        Date: Wed Oct 25 12:04:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate libs to subpackage

---- Files affected:
SPECS:
   GeoIP.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/GeoIP.spec
diff -u SPECS/GeoIP.spec:1.27 SPECS/GeoIP.spec:1.28
--- SPECS/GeoIP.spec:1.27       Sun Sep  3 13:16:23 2006
+++ SPECS/GeoIP.spec    Wed Oct 25 14:04:05 2006
@@ -3,7 +3,7 @@
 Summary(pl):   Biblioteka do sprawdzenia z jakiego kraju pochodzi adres IP lub 
domena
 Name:          GeoIP
 Version:       1.4.0
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Libraries
 Source0:       
http://www.maxmind.com/download/geoip/api/c/%{name}-%{version}.tar.gz
@@ -14,6 +14,7 @@
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: zlib-devel
+Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,11 +45,22 @@
 kraju, z którego pochodzą odwiedzający, do wykrywania oszustw
 dotyczących kart kredytowych oraz kontroli eksportu oprogramowania.
 
+%package libs
+Summary:       GeoIP Library
+Summary(pl):   Biblioteka GeoIP
+Group:         Libraries
+
+%description libs
+GeoIP library.
+
+%description libs -l pl
+Biblioteka GeoIP.
+
 %package devel
 Summary:       Header files for GeoIP library
 Summary(pl):   Pliki nagłówkowe biblioteki GeoIP
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-libs = %{version}-%{release}
 
 %description devel
 Header files for GeoIP library.
@@ -92,18 +104,21 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%post libs     -p /sbin/ldconfig
+%postun        libs    -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_datadir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/GeoIP.conf
 %{_mandir}/man1/*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%{_datadir}/%{name}
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
@@ -120,6 +135,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/10/25 12:04:05  blues
+- separate libs to subpackage
+
 Revision 1.27  2006/09/03 11:16:23  glen
 - strict internal deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/GeoIP.spec?r1=1.27&r2=1.28&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to