]> git.pld-linux.org Git - packages/cvs-nserver.git/commitdiff
- added %preun
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 21 Jul 2001 15:04:39 +0000 (15:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- separated client package - there should be separated nserver and pserver
  package too

Changed files:
    cvs-nserver.spec -> 1.11

cvs-nserver.spec

index 413da91e11d3ce9818574ee7143e0da03bb40b3f..d5b9c63f515d523561e89eabaf86f842726bc908 100644 (file)
@@ -10,8 +10,8 @@ License:      GPL
 Group:         Development/Version Control
 Group(pl):     Programowanie/Zarz±dzanie wersjami
 Source0:       http://alexm.here.ru/cvs-nserver/download/%{name}-%{version}.tar.gz
-# outdated, but maybe will be needed for checkpasswd (outside programs):
 Patch0:                %{name}-cvspasswd.patch
+# outdated, but maybe will be needed for checkpasswd (outside programs):
 #Patch0:               cvs-nserver-PAM_fix.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -74,6 +74,17 @@ dosyalar
 eþzamanlý olarak yapýlmasýný kontrol etmek için gereken iþlevleri
 saðlar.
 
+%package client
+Summary:       Concurrent Versions System - client
+Summary(pl):    Concurrent Versioning System - klient
+Group:         Development/Version Control
+
+%description client
+client
+
+%description -l pl client
+klient
+
 %prep
 %setup -q 
 %patch0 -p1
@@ -125,21 +136,33 @@ else
        /usr/sbin/useradd -u 53 -r -d /home/cvsroot -s /bin/false -c "CVS user" -g cvs cvsadmin 1>&2
 fi
 
+%preun
+/usr/sbin/userdel cvs
+/usr/sbin/userdel cvsadmin
+/usr/sbin/groupdel cvs
+/usr/sbin/groupdel cvsadmin
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/cvs
 %attr(755,root,root) %{_bindir}/cvschkpw
 %attr(755,root,root) %{_bindir}/cvs-pserver
 %attr(755,root,root) %{_bindir}/cvs-nserver
-%attr(755,root,root) %{_bindir}/cvsbug
 %attr(755,root,root) %{_bindir}/rcs2log
 %attr(4750,cvsadmin,cvs) %{_bindir}/cvspasswd
+%{_infodir}/cvs.*
+%{_mandir}/man8/cvs-pserver.8*
+%{_mandir}/man8/cvs-nserver.8*
+%{_mandir}/man8/cvs-server.8*
+%dir /usr/share/cvs-nserver/*
+
+%files client
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/cvs
+%attr(755,root,root) %{_bindir}/cvsbug
+%{_infodir}/cvsclient*
 %{_mandir}/man1/cvs.1*
 %{_mandir}/man5/cvs.5*
-%{_mandir}/man8/*.8*
-%{_infodir}/cvs*
-%dir /usr/share/cvs-nserver
+%{_mandir}/man8/cvsbug.8*
This page took 0.060283 seconds and 4 git commands to generate.