SPECS: cvsnt.spec - protocols with ext deps splitted into subpackages

arekm arekm at pld-linux.org
Wed Mar 26 00:59:09 CET 2008


Author: arekm                        Date: Tue Mar 25 23:59:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- protocols with ext deps splitted into subpackages

---- Files affected:
SPECS:
   cvsnt.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/cvsnt.spec
diff -u SPECS/cvsnt.spec:1.7 SPECS/cvsnt.spec:1.8
--- SPECS/cvsnt.spec:1.7	Wed Mar 26 00:39:54 2008
+++ SPECS/cvsnt.spec	Wed Mar 26 00:59:04 2008
@@ -137,12 +137,25 @@
 %description database-sqlite
 SQLite Database support for CVSNT.
 
+%package protocol-gserver
+Summary:	gserver (Kerberos GSS) protocol support for CVSNT
+Group:		Development/Version Control
+Requires:	%{name} = %{version}-%{release}
+
+%description protocol-gserver
+gserver (Kerberos GSS) support for CVSNT.
+
+%package protocol-sserver
+Summary:	sserver (SSL) procotol support for for CVSNT
+Group:		Development/Version Control
+Requires:	%{name} = %{version}-%{release}
+
+%description protocol-sserver
+sserver (SSL) protocol support for CVSNT.
+
 %prep
 %setup -q
 
-rm -rf pcre zlib
-# rm -rf libltdl
-
 %build
 %configure \
 	--enable-mdns \
@@ -156,7 +169,7 @@
 	--enable-pserver \
 	--enable-ext \
 	--enable-rsh \
-	--enable-gserver \
+	--%{?with_kerberos:en}%{!?with_kerberos:dis}able-gserver \
 	--enable-sserver \
 	--enable-sspi \
 	--enable-enum \
@@ -223,6 +236,7 @@
 %defattr(644,root,root,755)
 %doc doc/html_cvsclient
 %doc AUTHORS FAQ README
+%doc triggers/examples/*.txt
 %dir %{_sysconfdir}/cvsnt
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/cvsnt
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cvsnt/*
@@ -230,8 +244,16 @@
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/cvsnt
 %dir %{_libdir}/cvsnt/*
-%attr(755,root,root) %{_libdir}/cvsnt/protocols/*.so
-%{_libdir}/cvsnt/protocols/*.la
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/enum.so
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/ext.so
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/pserver.so
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/server.so
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/sspi.so
+%{_libdir}/cvsnt/protocols/enum.la
+%{_libdir}/cvsnt/protocols/ext.la
+%{_libdir}/cvsnt/protocols/pserver.la
+%{_libdir}/cvsnt/protocols/server.la
+%{_libdir}/cvsnt/protocols/sspi.la
 %attr(755,root,root) %{_libdir}/lib*-*.so*
 %{_mandir}/man[15]/*
 
@@ -243,30 +265,50 @@
 
 %files database-mysql
 %defattr(644,root,root,755)
+%doc triggers/sql/*_mysql.sql
 %attr(755,root,root) %{_libdir}/cvsnt/databases/mysql.so
 %{_libdir}/cvsnt/databases/mysql.la
 
 %files database-odbc
 %defattr(644,root,root,755)
+%doc triggers/sql/*_oracle.sql
+%doc triggers/sql/*_mssql.sql
 %attr(755,root,root) %{_libdir}/cvsnt/databases/odbc.so
 %{_libdir}/cvsnt/databases/odbc.la
 
 %files database-postgres
 %defattr(644,root,root,755)
+%doc triggers/sql/*_postgres.sql
 %attr(755,root,root) %{_libdir}/cvsnt/databases/postgres.so
 %{_libdir}/cvsnt/databases/postgres.la
 
 %files database-sqlite
 %defattr(644,root,root,755)
+%doc triggers/sql/*_sqlite.sql
 %attr(755,root,root) %{_libdir}/cvsnt/databases/sqlite.so
 %{_libdir}/cvsnt/databases/sqlite.la
 
+%if %{with kerberos}
+%files protocol-gserver
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/gserver.so
+%{_libdir}/cvsnt/protocols/gserver.la
+%endif
+
+%files protocol-sserver
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/cvsnt/protocols/sserver.so
+%{_libdir}/cvsnt/protocols/sserver.la
+
 %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.8  2008-03-25 23:59:04  arekm
+- protocols with ext deps splitted into subpackages
+
 Revision 1.7  2008-03-25 23:39:54  arekm
 - database subpackages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cvsnt.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list