Hello community, here is the log from the commit of package apcupsd for openSUSE:Factory checked in at 2012-02-08 17:17:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apcupsd (Old) and /work/SRC/openSUSE:Factory/.apcupsd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apcupsd", Maintainer is "sbra...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes 2012-02-01 11:52:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.apcupsd.new/apcupsd.changes 2012-02-08 17:17:23.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Feb 8 11:55:48 UTC 2012 - dval...@suse.com + +- fix ppc64 build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apcupsd.spec ++++++ --- /var/tmp/diff_new_pack.G3xMmF/_old 2012-02-08 17:17:25.000000000 +0100 +++ /var/tmp/diff_new_pack.G3xMmF/_new 2012-02-08 17:17:25.000000000 +0100 @@ -32,6 +32,7 @@ BuildRequires: pm-utils BuildRequires: tcpd-devel BuildRequires: update-desktop-files +BuildRequires: automake %if 0%{?suse_version} < 1210 BuildRequires: sysvinit %else @@ -69,6 +70,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define apache_serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs -q PREFIX) + %description Controls and monitors the status of an APC UPS under Linux. Allows your computer or server to run for a specified length of time on UPS power @@ -79,10 +81,13 @@ http://www.apc.com/tools/download/. %package gui + + Summary: APC UPS Monitor GUI (for APC UPSs) Group: Hardware/UPS Requires: %{name} = %{version} + %description gui Controls and monitors the status of an APC UPS under Linux. Allows your computer or server to run for a specified length of time on UPS power @@ -94,6 +99,8 @@ %prep %setup -q +#This is needed as apcupsd doesn't recognize ppc64 correctly +cp /usr/share/automake-1.11/config.* ./autoconf/ cp -a %{S:1} platforms/suse/apcupsd.in cp -a %{S:2} %{S:4} %{S:5} . cp -a %{S:3} apcupsd-early-powerdown @@ -112,6 +119,7 @@ %patch10 -p1 %patch11 + %build # Incomplete: #cd autoconf @@ -139,6 +147,7 @@ --with-cgi-bin=%{apache_serverroot}/cgi-bin make %{?_smp_mflags} + %install %makeinstall mkdir -p $RPM_BUILD_ROOT/sbin @@ -161,6 +170,7 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates cp apcupsd.sysconfig $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.apcupsd + %post %{fillup_and_insserv apcupsd} # HALT_POWERDOWN_INSERT is supported since SuSE Linux 10.1, SLES 10. @@ -184,9 +194,11 @@ fi fi + %preun %{stop_on_removal apcupsd} + %postun # Remove HALT_POWERDOWN_INSERT if test $1 -eq 0 -a ! -f /etc/init.d/apcupsd ; then @@ -204,6 +216,7 @@ %{restart_on_update apcupsd} %{insserv_cleanup} + %files %defattr(-,root,root) %doc apcupsd-early-powerdown COPYING ChangeLog* DISCLAIMER Developers INSTALL README.SUSE ReleaseNotes examples/ @@ -240,10 +253,13 @@ %doc %{_mandir}/man?/*.* /var/adm/fillup-templates/sysconfig.* + %files gui %defattr(-,root,root) %{_bindir}/gapcmon %{_datadir}/applications/gapcmon.desktop %{_datadir}/pixmaps/*.png + + %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org