packages: apcupsd/apcupsd.spec - fixed md5 - BR: automake, gd-devel, man, u...

sparky sparky at pld-linux.org
Sat Feb 6 14:18:44 CET 2010


Author: sparky                       Date: Sat Feb  6 13:18:44 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed md5
- BR: automake, gd-devel, man, util-linux-ng
- dropped BR: gettext-devel, ncurses-ext-devel
- pass shutdown, wall and mail paths so SysVinit won't be required to build
- explicit listing of _sbindir programms

---- Files affected:
packages/apcupsd:
   apcupsd.spec (1.92 -> 1.93) 

---- Diffs:

================================================================
Index: packages/apcupsd/apcupsd.spec
diff -u packages/apcupsd/apcupsd.spec:1.92 packages/apcupsd/apcupsd.spec:1.93
--- packages/apcupsd/apcupsd.spec:1.92	Sat Feb  6 13:55:08 2010
+++ packages/apcupsd/apcupsd.spec	Sat Feb  6 14:18:39 2010
@@ -17,7 +17,7 @@
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/apcupsd/%{name}-%{version}.tar.gz
-# Source0-md5:	bb2f8e4fc6b2f5d7b3e236eb57b81640
+# Source0-md5:	cd17f0a903dc2220e55ed54e242359d2
 Source1:	%{name}.init
 Source2:	%{name}.logrotate
 Source3:	%{name}.sysconfig
@@ -26,12 +26,14 @@
 URL:		http://www.apcupsd.com/
 %{?with_gapcmon:BuildRequires:	GConf2-devel >= 2.0}
 BuildRequires:	autoconf
-BuildRequires:	gettext-devel
+BuildRequires:	automake
+BuildRequires:	gd-devel
 %{?with_gapcmon:BuildRequires:	gtk+2-devel >= 2:2.4.0}
-BuildRequires:	ncurses-ext-devel
+BuildRequires:	man
 %{?with_snmp:BuildRequires:	net-snmp-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	util-linux-ng
 Requires(post):	fileutils
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
@@ -54,7 +56,7 @@
 odpowiednio uruchamia kontrolowany shutdown przy dłuższej awarii
 zasilania.
 
-%package cgi 
+%package cgi
 Summary:	upsstats - Web-based UPS status viewer
 Summary(pl.UTF-8):	upsstats - oparta na WWW przeglądarka stanu UPS-a
 Group:		Applications/Networking
@@ -94,6 +96,9 @@
 %build
 %{__autoconf}
 %configure \
+	APCUPSD_MAIL="/bin/mail" \
+	SHUTDOWN="/sbin/shutdown" \
+	WALL="%{_bindir}/wall" \
 	--with-log-dir=%{_var}/log \
 	--with-stat-dir=%{_var}/lib/apcupsd \
 %if %{with cgi}
@@ -146,7 +151,10 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog Developers
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/apcaccess
+%attr(755,root,root) %{_sbindir}/apctest
+%attr(755,root,root) %{_sbindir}/apcupsd
+%attr(755,root,root) %{_sbindir}/smtp
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apcupsd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/apcupsd
 %attr(754,root,root) %{_sysconfdir}/apccontrol
@@ -191,6 +199,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.93  2010/02/06 13:18:39  sparky
+- fixed md5
+- BR: automake, gd-devel, man, util-linux-ng
+- dropped BR: gettext-devel, ncurses-ext-devel
+- pass shutdown, wall and mail paths so SysVinit won't be required to build
+- explicit listing of _sbindir programms
+
 Revision 1.92  2010/02/06 12:55:08  marcus
 - up to 3.14.8
 
@@ -328,7 +343,7 @@
 - cleanups
 
 Revision 1.52  2004/11/05 22:26:13  kali
-- simplified bcond, added %%verify(not md5 size mtime)
+- simplified bcond, added %verify(not md5 size mtime)
 - removed Source0-size
 
 Revision 1.51  2004/11/05 20:03:42  paszczus
@@ -367,7 +382,7 @@
 - removed llh patch, already in sources
 
 Revision 1.40  2004/05/24 16:26:29  kali
-- added %%verify(not md5 size mtime) to config files
+- added %verify(not md5 size mtime) to config files
 
 Revision 1.39  2004/05/22 22:42:14  kali
 - md5 updated
@@ -384,14 +399,14 @@
 - updated to 3.10.12 (almost all fixes from Zbigniew Bryczkowski)
 - added init script, logrotate
 - patch0 - fix dirs
-- %%post,%%preun,%%files fixes
+- %post,%preun,%files fixes
 - rel. 0.9 - need to be tested
 
 Revision 1.35  2004/04/17 18:44:10  hunter
--don't use here-files, put them into cvs.
+- don't use here-files, put them into cvs.
 
 Revision 1.34  2004/04/17 18:29:00  hunter
--don't use configure2_13 when it's not needed.
+- don't use configure2_13 when it's not needed.
 
 Revision 1.33  2004/04/06 17:16:53  averne
 - updated to 3.10.10
@@ -418,7 +433,7 @@
 - umask in scripts, other fixes/cosmetics where needed
 
 Revision 1.26  2002/04/25 15:47:17  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.25  2002/02/23 01:23:23  kloczek
 - adapterized.
@@ -428,10 +443,10 @@
   Group field using gettext).
 
 Revision 1.23  2002/01/18 02:12:21  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.22  2001/09/28 09:32:53  marcus
-- s/%%configure/%%configure2_13/g
+- s/%configure/%configure2_13/g
 
 Revision 1.21  2001/09/24 09:40:59  qboosh
 - Prereq: chkconfig
@@ -450,12 +465,12 @@
 - release 3
 
 Revision 1.15  2001/02/20 15:39:32  mkierus
--fix sysconfdir back to /etc
+- fix sysconfdir back to /etc
 
 Revision 1.14  2001/01/02 06:01:40  kloczek
 - added paths patch,
 - spec adapterized.
-NOT: still not finished.
+  NOT: still not finished.
 
 Revision 1.13  2001/01/01 20:49:13  areq
 - fix sysconfdir=/etc/apcupsd/
@@ -464,7 +479,7 @@
 - start update to 3.8.1
 
 Revision 1.11  2000/06/09 07:22:47  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.10  2000/05/17 23:02:34  kloczek
 - spec adapterized.
@@ -489,12 +504,3 @@
 
 Revision 1.4  1999/11/27 14:24:09  kloczek
 - adapter(ized) and partialy rewrited.
-
-* Fri Aug  6 1999 Peter Hanecak <hanecak at megaloman.sk>
-- build process cleaned (so non-root users can do that smoothly)
-- build-root changed
-- %defattr
-
-* Sun Jun  6 1999 Bert de Bruijn <bob at ccl.kuleuven.ac.be>
-- new spec file, first rpm release since source release under GPL ?
-- use sed in %build to force buildroot.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apcupsd/apcupsd.spec?r1=1.92&r2=1.93&f=u



More information about the pld-cvs-commit mailing list