SPECS: bopm.spec - -libs subpackage - build bopm with libopm share...
glen
glen at pld-linux.org
Tue Jan 10 22:58:09 CET 2006
Author: glen Date: Tue Jan 10 21:58:09 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- -libs subpackage
- build bopm with libopm shared lib
---- Files affected:
SPECS:
bopm.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/bopm.spec
diff -u SPECS/bopm.spec:1.11 SPECS/bopm.spec:1.12
--- SPECS/bopm.spec:1.11 Tue Jan 10 22:35:22 2006
+++ SPECS/bopm.spec Tue Jan 10 22:58:03 2006
@@ -3,7 +3,7 @@
Summary(pl): Monitorowanie i blokowanie otwartych proxy do używania z ircd
Name: bopm
Version: 3.1.2
-Release: 0.12
+Release: 0.14
License: GPL
Group: Applications/Communications
Source0: http://static.blitzed.org/www.blitzed.org/bopm/files/%{name}-%{version}.tar.gz
@@ -11,11 +11,13 @@
Source1: %{name}.init
Source2: %{name}.conf
Patch0: %{name}-DESTDIR.patch
+Patch1: %{name}-shared.patch
URL: http://www.blitzed.org/bopm/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: rpmbuild(macros) >= 1.268
+Requires: %{name} = %{version}-%{release}
Requires(post,preun): /sbin/chkconfig
Requires(postun): /usr/sbin/groupdel
Requires(postun): /usr/sbin/userdel
@@ -54,10 +56,19 @@
skonfigurowany do zgłaszania nowych proxy z powrotem do projektu
Blitzed Open Proxy Monitoring.
+%package libs
+Summary: libopm open proxy scanning library
+Group: Libraries
+
+%description libs
+libopm open proxy scanning library.
+
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+# we include contrib in %doc. cleanup it
find -name CVS | xargs -r rm -rf
rm -f contrib/bopm.spec
@@ -108,6 +119,9 @@
%groupremove %{name}
fi
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc ChangeLog INSTALL README bopm.conf.sample
@@ -121,12 +135,35 @@
%attr(640,bopm,bopm) %ghost /var/log/%{name}/bopm.log
%attr(640,bopm,bopm) %ghost /var/log/%{name}/scan.log
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libopm.so.*.*.*
+
+# oneday when -devel is created
+%if 0
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/opm.h
+%{_includedir}/opm_common.h
+%{_includedir}/opm_error.h
+%{_includedir}/opm_types.h
+%{_libdir}/libopm.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libopm.a
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2006/01/10 21:58:03 glen
+- -libs subpackage
+- build bopm with libopm shared lib
+
Revision 1.11 2006/01/10 21:35:22 glen
- sorted preamble, use %service
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bopm.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list