SPECS: gamin.spec - rel 5 - merge libs to main package (it's all in libdir, ...

baggins baggins at pld-linux.org
Fri Oct 24 21:34:18 CEST 2008


Author: baggins                      Date: Fri Oct 24 19:34:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 5
- merge libs to main package (it's all in libdir, so no multilib problems)
- installed more docs and moved all of it to -docs package
- obsolete fam (after 3 years I changed my mind),
    rationale: fam does not support inotify, gamin does;
               some programs rely on extended capabilities provided by gamin (Thunar)
	       loss of network support is no big deal, as gamin can monitor NFS mount client side

---- Files affected:
SPECS:
   gamin.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/gamin.spec
diff -u SPECS/gamin.spec:1.49 SPECS/gamin.spec:1.50
--- SPECS/gamin.spec:1.49	Tue Oct 14 23:55:27 2008
+++ SPECS/gamin.spec	Fri Oct 24 21:34:13 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Biblioteka dostarczająca File Alteration Monitor API gamina
 Name:		gamin
 Version:	0.1.9
-Release:	4
+Release:	5
 License:	LGPL v2.1
 Group:		Networking/Daemons
 Source0:	http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz
@@ -17,8 +17,10 @@
 BuildRequires:	pkgconfig
 BuildRequires:	python
 BuildRequires:	python-devel
-Requires:	%{name}-libs = %{version}-%{release}
-Provides:	fam = %{name}
+Provides:	fam
+Provides:	fam-libs
+Obsoletes:	fam
+Obsoletes:	fam-libs
 Obsoletes:	gamin-inetd
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,25 +34,26 @@
 kompatybilny na poziomie API i ABI z gaminem, ale niezależny od
 ogólnosystemowego demona.
 
-%package libs
-Summary:	Libraries for gamin
-Summary(pl.UTF-8):	Biblioteki dla gamina
+%package docs
+Summary:	Documentation for gamin
+Summary(pl.UTF-8):	Dokumentacja dla gamina
 Group:		Libraries
-Provides:	fam-libs = %{name}-libs
+Requires:	%{name} = %{version}-%{release}
 
-%description libs
-Libraries for gamin.
+%description docs
+Documentation for gamin.
 
-%description libs -l pl.UTF-8
-Biblioteki dla gamina.
+%description docs -l pl.UTF-8
+Dokumentacja dla gamina.
 
 %package devel
 Summary:	Includes to develop using gamin
 Summary(pl.UTF-8):	Pliki nagłówkowe do tworzenia programów z użyciem gamina
 Group:		Development/Libraries
-Requires:	%{name}-libs = %{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel
-Provides:	fam-devel = %{name}-devel
+Provides:	fam-devel
+Obsoletes:	fam-devel
 
 %description devel
 Includes to develop using gamin.
@@ -63,7 +66,8 @@
 Summary(pl.UTF-8):	Statyczne biblioteki gamina
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
-Provides:	fam-static = %{name}-static
+Provides:	fam-static
+Obsoletes:	fam-static
 
 %description static
 gamin static libraries.
@@ -89,22 +93,22 @@
 %patch0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
 %configure \
 	--%{?debug:en}%{!?debug:dis}able-debug
+
 %{__make} \
 	CFLAGS="%{rpmcflags} -D_GNU_SOURCE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+rm -rf html
+install -d html
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp -a doc/*.{html,gif} html
+
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 
@@ -113,25 +117,25 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	libs -p /sbin/ldconfig
-%postun	libs -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/gam_server
-
-%files libs
-%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libfam.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libfam.so.0
 %attr(755,root,root) %{_libdir}/libgamin-1.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgamin-1.so.0
 
+%files docs
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO html doc/*.txt
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libfam.so
-%attr(755,root,root) %{_libdir}//libgamin-1.so
+%attr(755,root,root) %{_libdir}/libgamin-1.so
 %{_libdir}/libfam.la
 %{_libdir}/libgamin-1.la
 %{_includedir}/fam.h
@@ -154,6 +158,15 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2008/10/24 19:34:13  baggins
+- rel 5
+- merge libs to main package (it's all in libdir, so no multilib problems)
+- installed more docs and moved all of it to -docs package
+- obsolete fam (after 3 years I changed my mind),
+    rationale: fam does not support inotify, gamin does;
+               some programs rely on extended capabilities provided by gamin (Thunar)
+	       loss of network support is no big deal, as gamin can monitor NFS mount client side
+
 Revision 1.49  2008/10/14 21:55:27  glen
 - release 4 (python 2.6)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gamin.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list