packages: idled/idled.spec - idled.conf.template to /etc/idled not docs, pa...

zbyniu zbyniu at pld-linux.org
Sat Jun 11 23:09:25 CEST 2011


Author: zbyniu                       Date: Sat Jun 11 21:09:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- idled.conf.template to /etc/idled not docs, pass CC, rel 12

---- Files affected:
packages/idled:
   idled.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: packages/idled/idled.spec
diff -u packages/idled/idled.spec:1.30 packages/idled/idled.spec:1.31
--- packages/idled/idled.spec:1.30	Fri Dec 18 00:38:23 2009
+++ packages/idled/idled.spec	Sat Jun 11 23:09:20 2011
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Demon który kończy nieaktywne sesje użytkowników
 Name:		idled
 Version:	1.16
-Release:	11
+Release:	12
 License:	non-profit
 Group:		Daemons
 Source0:	http://www.darkwing.com/idled/download/%{name}-%{version}.tar.gz
@@ -48,6 +48,7 @@
 %build
 %{__make} clean
 %{__make} \
+	CC="%{__cc}" \
 	OPTFLAGS="%{rpmcflags} -DMAILMESSAGEFILE=\"%{_sysconfdir}/idled/logout.msg\""\
 	LDFLAGS="%{rpmldflags}" \
 	DEST="%{_sbindir}" \
@@ -63,7 +64,7 @@
 install idled $RPM_BUILD_ROOT%{_sbindir}
 install idled.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
 install idled.8 $RPM_BUILD_ROOT%{_mandir}/man8
-mv -f idled.cf.template idled.conf.template
+install idled.cf.template $RPM_BUILD_ROOT%{_sysconfdir}/idled/idled.conf.template
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/idled
 
@@ -89,12 +90,13 @@
 
 %files
 %defattr(644,root,root,755)
-%doc idled.conf.template README TODO CHANGES COPYRIGHT
+%doc README TODO CHANGES COPYRIGHT
 %dir %{_sysconfdir}/idled
+%{_sysconfdir}/idled/idled.conf.template
 %{_sysconfdir}/idled/logout.msg
 %attr(755,root,root) %{_sbindir}/idled
 %attr(754,root,root) /etc/rc.d/init.d/idled
-%{_mandir}/man*/*
+%{_mandir}/man[58]/idled*
 %attr(640,root,root) %ghost /var/log/idled.log
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -103,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2011/06/11 21:09:20  zbyniu
+- idled.conf.template to /etc/idled not docs, pass CC, rel 12
+
 Revision 1.30  2009/12/17 23:38:23  baggins
 - rel 11
 - use dynamically allocated memory, MAXUSERS=10000 seems too much for data seg
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/idled/idled.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list