Hello community, here is the log from the commit of package apcupsd checked in at Tue Feb 19 02:18:31 CET 2008. -------- --- apcupsd/apcupsd.changes 2008-01-21 15:25:26.000000000 +0100 +++ /mounts/work_src_done/STABLE/apcupsd/apcupsd.changes 2008-02-18 16:57:00.579725000 +0100 @@ -1,0 +2,10 @@ +Mon Feb 18 16:51:51 CET 2008 - jdelvare@suse.de + +- Package apctest.8 properly. +- Convert the user's guide to HTML before packaging it. Not that + many users know what to do with latex source files (361885). +- Do not package the uninteresting or redundant documentation. + This makes the package 4 times smaller (installed size divided + by 15, from 33.1 MB to 2.2 MB on i386) (361885). + +------------------------------------------------------------------- New: ---- apcupsd-install-apctest-man.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apcupsd.spec ++++++ --- /var/tmp/diff_new_pack.LO5436/_old 2008-02-19 02:17:20.000000000 +0100 +++ /var/tmp/diff_new_pack.LO5436/_new 2008-02-19 02:17:20.000000000 +0100 @@ -10,8 +10,9 @@ # norootforbuild + Name: apcupsd -BuildRequires: apache2-devel gcc-c++ gconf2-devel gd-devel gnome-vfs2-devel gtk2-devel mailx ncurses-devel net-snmp-devel tcpd-devel update-desktop-files +BuildRequires: apache2-devel gcc-c++ gconf2-devel gd-devel gnome-vfs2-devel gtk2-devel latex2html mailx ncurses-devel net-snmp-devel tcpd-devel update-desktop-files %if %suse_version > 1010 BuildRequires: openSUSE-release %else @@ -21,7 +22,7 @@ License: GPL v2 or later Summary: APC UPS Daemon (Powerful Daemon for APC UPSs) Version: 3.14.3 -Release: 1 +Release: 15 Url: http://www.apcupsd.com/ Source: apcupsd-%{version}.tar.bz2 Source1: apcupsd.init @@ -32,6 +33,7 @@ Patch3: apcupsd-powersave.patch Patch4: apcupsd-configure.patch Patch5: apcupsd-largebuf-overflow.patch +Patch6: apcupsd-install-apctest-man.patch PreReq: %fillup_prereq %insserv_prereq /usr/bin/sed /usr/bin/grep Requires: /usr/bin/mail BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -85,9 +87,10 @@ %patch1 %patch3 chmod -x kernstodo -# Estonian in Estonia -> Estonian %patch4 %patch5 +%patch6 -p1 +# Estonian in Estonia -> Estonian mv src/po/et_EE.po src/po/et.po %build @@ -118,6 +121,9 @@ --enable-nls\ --with-cgi-bin=%{apache_serverroot}/cgi-bin make +cd doc/latex +make web +cd ../.. %install %makeinstall @@ -127,13 +133,16 @@ mkdir -p $RPM_BUILD_ROOT/sbin install src/apcupsd-lite $RPM_BUILD_ROOT/sbin ln -sf ../../etc/init.d/apcupsd $RPM_BUILD_ROOT/usr/sbin/rcapcupsd -rm doc/Makefile.in doc/Makefile doc/apcupsd.man %find_lang apcupsd %suse_update_desktop_file gapcmon chmod 644 $RPM_BUILD_ROOT/usr/share/pixmaps/*.png +mv doc/latex/apcupsd users_guide +cd users_guide +rm -f imagename_translations images.aux images.idx images.log images.out images.pl images.tex internals.pl labels.pl WARNINGS +cd .. # fix docu permissions rm examples/safe.apccontrol.in -find examples doc -type f | xargs chmod 644 +find examples users_guide -type f | xargs chmod 644 %post %{fillup_and_insserv apcupsd} @@ -183,7 +192,7 @@ %files -f apcupsd.lang %defattr(-,root,root) -%doc apcupsd-early-powerdown COPYING ChangeLog* DISCLAIMER Developers INSTALL README.SUSE ReleaseNotes kernstodo doc/ examples/ +%doc apcupsd-early-powerdown COPYING ChangeLog* DISCLAIMER Developers INSTALL README.SUSE ReleaseNotes kernstodo users_guide/ examples/ /sbin/apcupsd-lite %{_datadir}/hal/fdi/policy/20thirdparty/*.fdi %{_sbindir}/apcupsd @@ -209,6 +218,7 @@ %{apache_serverroot}/cgi-bin/upsstats.cgi %{apache_serverroot}/cgi-bin/upsimage.cgi %doc %{_mandir}/man8/apcupsd.8* +%doc %{_mandir}/man8/apctest.8* %files gui %defattr(-,root,root) @@ -217,6 +227,13 @@ %{_datadir}/pixmaps/*.png %changelog +* Mon Feb 18 2008 jdelvare@suse.de +- Package apctest.8 properly. +- Convert the user's guide to HTML before packaging it. Not that + many users know what to do with latex source files (361885). +- Do not package the uninteresting or redundant documentation. + This makes the package 4 times smaller (installed size divided + by 15, from 33.1 MB to 2.2 MB on i386) (361885). * Mon Jan 21 2008 sbrabec@suse.cz - Updated to version 3.14.3: * HAL policy file is automatically installed on Linux systems to @@ -337,7 +354,7 @@ - Updated to version 3.10.11. * Mon Nov 10 2003 ro@suse.de - use net-snmp instead of ucdsnmp -* Tue Sep 16 2003 kukuk@suse.de +* Wed Sep 17 2003 kukuk@suse.de - Remove setuid bit from apcupsd (else SuSEconfig will do it) * Mon Sep 01 2003 sbrabec@suse.cz - Removed tcpd.h (use systemwide instead). ++++++ apcupsd-install-apctest-man.patch ++++++ Index: apcupsd-3.14.3/doc/Makefile.in =================================================================== --- apcupsd-3.14.3.orig/doc/Makefile.in +++ apcupsd-3.14.3/doc/Makefile.in @@ -18,14 +18,16 @@ apcupsd.man: dummy install: install-man -install-man: apcupsd.man +install-man: apcupsd.man apctest.man @$(ECHO) "Installing manual pages..." @$(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(manext) @$(INSTALL_DATA) apcupsd.man $(DESTDIR)$(mandir)/man$(manext)/apcupsd.$(manext) + @$(INSTALL_DATA) apctest.man $(DESTDIR)$(mandir)/man$(manext)/apctest.$(manext) uninstall: - @$(ECHO) "Removing manual page ..." + @$(ECHO) "Removing manual pages..." @$(RM) -f $(DESTDIR)$(mandir)/man$(manext)/apcupsd.$(manext) + @$(RM) -f $(DESTDIR)$(mandir)/man$(manext)/apctest.$(manext) clean: targetclean ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org