SPECS: apcupsd.spec - fixed build (spec syntax) - proper gapcmon BRs

qboosh qboosh at pld-linux.org
Sat Mar 1 20:20:01 CET 2008


Author: qboosh                       Date: Sat Mar  1 19:20:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build (spec syntax)
- proper gapcmon BRs

---- Files affected:
SPECS:
   apcupsd.spec (1.85 -> 1.86) 

---- Diffs:

================================================================
Index: SPECS/apcupsd.spec
diff -u SPECS/apcupsd.spec:1.85 SPECS/apcupsd.spec:1.86
--- SPECS/apcupsd.spec:1.85	Sat Mar  1 20:03:34 2008
+++ SPECS/apcupsd.spec	Sat Mar  1 20:19:56 2008
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+# TODO: /usr/share/hal/fdi/policy/20thirdparty/80-apcupsd-ups-policy.fdi
 #
 # Conditional build:
 %bcond_without	cgi	# without CGI program support
@@ -22,11 +23,13 @@
 Source3:	%{name}.sysconfig
 Patch0:		%{name}-configure.patch
 URL:		http://www.apcupsd.com/
+%{?with_gapcmon:BuildRequires:	GConf2-devel >= 2.0}
 BuildRequires:	autoconf
-%{?with_gapcmon:	BuildRequires:	gconfmm-devel}
 BuildRequires:	gettext-devel
+%{?with_gapcmon:BuildRequires:	gtk+2-devel >= 2:2.4.0}
 BuildRequires:	ncurses-ext-devel
-%{?with_snmp:	BuildRequires:	net-snmp-devel}
+%{?with_snmp:BuildRequires:	net-snmp-devel}
+BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post):	fileutils
 Requires(post,preun):	/sbin/chkconfig
@@ -166,7 +169,7 @@
 %dir /var/lib/apcupsd
 %attr(640,root,root) %ghost /var/log/apcupsd.events
 %attr(640,root,root) %ghost /var/lib/apcupsd/apcupsd.status
-%{_mandir}/man8/apcupsd.*
+%{_mandir}/man8/apcupsd.8*
 
 %if %{with cgi}
 %files cgi
@@ -177,9 +180,9 @@
 %if %{with gapcmon}
 %files gapcmon
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/gapcmon
 %{_desktopdir}/gapcmon.desktop
-%{_pixmapsdir}/*
+%{_pixmapsdir}/*.png
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -188,6 +191,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.86  2008-03-01 19:19:56  qboosh
+- fixed build (spec syntax)
+- proper gapcmon BRs
+
 Revision 1.85  2008-03-01 19:03:34  qboosh
 - unified GNOME/GTK+ spelling, formatting
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apcupsd.spec?r1=1.85&r2=1.86&f=u



More information about the pld-cvs-commit mailing list