SPECS: passwd_exp.spec - add cron files symlinks - perl deps - lic...

glen glen at pld-linux.org
Wed Feb 7 16:13:28 CET 2007


Author: glen                         Date: Wed Feb  7 15:13:28 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add cron files symlinks
- perl deps
- license seems GPLv2

---- Files affected:
SPECS:
   passwd_exp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/passwd_exp.spec
diff -u SPECS/passwd_exp.spec:1.1 SPECS/passwd_exp.spec:1.2
--- SPECS/passwd_exp.spec:1.1	Wed Feb  7 16:02:25 2007
+++ SPECS/passwd_exp.spec	Wed Feb  7 16:13:22 2007
@@ -1,12 +1,14 @@
 # $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
 Summary:	password expiration email notifier
 Name:		passwd_exp
 Version:	1.2.9
-Release:	0.1
-License:	LGPL
+Release:	0.2
+License:	GPL v2
 Group:		Applications
 Source0:	http://devel.dob.sk/passwd_exp/%{name}-%{version}b.tar.gz
 # Source0-md5:	48eb2435cde93286cc05d3bfd20743c3
+BuildRequires:	rpm-perlprov >= 4.1-13
 Patch0:		%{name}-DESTDIR.patch
 URL:		http://devel.dob.sk/passwd_exp/
 BuildRequires:	perl-Text-Tokenizer
@@ -28,6 +30,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/cron.{daily,weekly},%{_sysconfdir}/passwd_exp/mail,%{_datadir}/passwd_exp/mail}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -39,10 +42,14 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/passwd_exp
 %dir %{_sysconfdir}/passwd_exp
+%dir %{_sysconfdir}/passwd_exp/mail
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/passwd_exp/passwd_exp.conf
+/etc/cron.daily/passwd_exp.cron
+/etc/cron.weekly/passwd_exp-admin.cron
 %{_mandir}/man1/passwd_exp.1*
 %dir %{_datadir}/passwd_exp
 %dir %{_datadir}/passwd_exp/mod
+%dir %{_datadir}/passwd_exp/mail
 %{_datadir}/passwd_exp/mod/_shell.reader
 %{_datadir}/passwd_exp/mod/_termcap.reader
 %{_datadir}/passwd_exp/mod/passwd.bsd
@@ -60,6 +67,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/02/07 15:13:22  glen
+- add cron files symlinks
+- perl deps
+- license seems GPLv2
+
 Revision 1.1  2007/02/07 15:02:25  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/passwd_exp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list