[svn] r3121 - in trunk/rpms: . bittorrent laptop-mode-tools nagios

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sun Apr 10 22:50:02 CEST 2005


Author: dag
Date: 2005-04-10 22:50:01 +0200 (Sun, 10 Apr 2005)
New Revision: 3121

Added:
   trunk/rpms/laptop-mode-tools/
   trunk/rpms/laptop-mode-tools/laptop-mode-tools.spec
Modified:
   trunk/rpms/bittorrent/bittorrent.spec
   trunk/rpms/nagios/nagios-1.2.spec
Log:
Updates

Modified: trunk/rpms/bittorrent/bittorrent.spec
===================================================================
--- trunk/rpms/bittorrent/bittorrent.spec	2005-04-10 20:38:06 UTC (rev 3120)
+++ trunk/rpms/bittorrent/bittorrent.spec	2005-04-10 20:50:01 UTC (rev 3121)
@@ -12,7 +12,7 @@
 
 Summary: Network file transfer tool
 Name: bittorrent
-Version: 4.0.0
+Version: 4.0.1
 Release: 1
 License: BitTorrent Open Source License
 Group: Applications/Internet
@@ -80,7 +80,6 @@
 		bittorrent.desktop
 %endif
 
-#convert bittorrent.ico bittorrent.png
 %{__install} -Dp -m644 images/logo/bittorrent_96.png %{buildroot}%{_datadir}/pixmaps/bittorrent.png
 
 %post gui
@@ -100,7 +99,6 @@
 %dir %{python_sitelib}/BitTorrent/
 %{python_sitelib}/BitTorrent/*.py
 %{python_sitelib}/BitTorrent/*.pyc
-%ghost %{python_sitelib}/BitTorrent/*.pyo
 %{_datadir}/pixmaps/BitTorrent-%{version}/
 %exclude %{_docdir}/BitTorrent-%{version}/
 
@@ -112,7 +110,10 @@
 %{?_without_freedesktop:%{_datadir}/gnome/apps/Internet/bittorrent.desktop}
 
 %changelog
-* Wed Mar 09 2005 Dag Wieers <dag at wieers.com> - 4.0.0-1 - $Rev$
+* Sun Apr 10 2005 Dag Wieers <dag at wieers.com> - 4.0.1-1
+- Updated to release 4.0.1.
+
+* Wed Mar 09 2005 Dag Wieers <dag at wieers.com> - 4.0.0-1
 - Updated to release 4.0.0.
 
 * Wed Jan 12 2005 Dag Wieers <dag at wieers.com> - 3.9.0-3

Added: trunk/rpms/laptop-mode-tools/laptop-mode-tools.spec
===================================================================
--- trunk/rpms/laptop-mode-tools/laptop-mode-tools.spec	2005-04-10 20:38:06 UTC (rev 3120)
+++ trunk/rpms/laptop-mode-tools/laptop-mode-tools.spec	2005-04-10 20:50:01 UTC (rev 3121)
@@ -0,0 +1,79 @@
+# $Id$
+# Authority: dag
+# Upstream: Bart Samwel <bart at samwel.tk>
+
+Summary: Tools to spin down hard disks automatically for power savings
+Name: laptop-mode-tools
+Version: 1.05
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://www.xs4all.nl/~bsamwel/laptop_mode/tools/
+
+Source: http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/laptop-mode-tools_%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+Requires: acpid
+
+%description
+Laptop mode is a Linux kernel feature that allows your laptop to save
+considerable power, by allowing the hard drive to spin down for longer
+periods of time. This package contains the userland scripts that are
+needed to enable laptop mode. It includes support for automatically
+enabling laptop mode when the computer is working on batteries.
+
+%prep
+%setup
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -Dp -m0755 usr/sbin/laptop_mode %{buildroot}%{_sbindir}/laptop_mode
+%{__install} -Dp -m0755 usr/sbin/lm-syslog-setup %{buildroot}%{_sbindir}/lm-syslog-setup
+%{__install} -Dp -m0755 etc/init.d/laptop-mode %{buildroot}%{_initrddir}/laptop-mode
+%{__install} -Dp -m0644 etc/laptop-mode/laptop-mode.conf %{buildroot}%{_sysconfdir}/laptop-mode/laptop-mode.conf
+
+for script in etc/acpi/actions/lm_*.sh; do
+	%{__install} -Dp -m0755 $script %{buildroot}%{_sysconfdir}/acpi/actions/$(basename $script)
+done
+
+for file in etc/acpi/events/lm_*; do
+	%{__install} -Dp -m0644 $file %{buildroot}%{_sysconfdir}/acpi/events/$(basename $file)
+done
+
+for man in man/*.8; do
+	%{__install} -Dp -m0644 $man %{buildroot}%{_mandir}/man8/$(basename $man)
+done
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%preun
+if [ $1 -eq 0 ]; then
+	/sbin/service laptop-mode stop &>/dev/null || :
+	/sbin/chkconfig --del laptop-mode
+fi
+
+%post
+/sbin/chkconfig --add laptop-mode
+/sbin/service laptop-mode start &>/dev/null || :
+
+%postun
+/sbin/service laptop-mode condrestart &>/dev/null || :
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING README Documentation/*.txt
+%doc %{_mandir}/man8/*.8*
+%config %{_sysconfdir}/acpi/actions/lm_*.sh
+%config %{_sysconfdir}/acpi/events/lm_*
+%config(noreplace) %{_sysconfdir}/laptop-mode/
+%config %{_initrddir}/laptop-mode
+%{_sbindir}/laptop_mode
+%{_sbindir}/lm-syslog-setup
+
+%changelog
+* Sun Apr 10 2005 Dag Wieers <dag at wieers.com> - 1.04-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/laptop-mode-tools/laptop-mode-tools.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/nagios/nagios-1.2.spec
===================================================================
--- trunk/rpms/nagios/nagios-1.2.spec	2005-04-10 20:38:06 UTC (rev 3120)
+++ trunk/rpms/nagios/nagios-1.2.spec	2005-04-10 20:50:01 UTC (rev 3121)
@@ -8,7 +8,7 @@
 Summary: Open Source host, service and network monitoring program
 Name: nagios
 Version: 1.2
-Release: 1
+Release: 2
 License: GPL
 Group: Applications/System
 URL: http://www.nagios.org/
@@ -70,13 +70,14 @@
 	--with-command-grp="apache" \
 	--with-gd-lib="%{_libdir}" \
 	--with-gd-inc="%{_includedir}" \
+	--with-htmurl="/nagios" \
 	--with-init-dir="%{_initrddir}" \
-	--with-htmurl="/nagios" \
 	--with-lockfile="%{_localstatedir}/run/nagios.pid" \
 	--with-mail="/bin/mail" \
 	--with-nagios-user="nagios" \
 	--with-nagios-grp="nagios" \
 	--enable-embedded-perl \
+	--with-perlcache \
 	--with-template-objects \
 	--with-template-extinfo
 %{__make} %{?_smp_mflags} all
@@ -180,6 +181,9 @@
 %{_includedir}/nagios/
 
 %changelog
+* Sun Apr 10 2005 Dag Wieers <dag at wieers.com> - 1.2-2
+* Enabled --with-perlcache in configure. (Michael Donovan)
+
 * Fri Nov 26 2004 Dag Wieers <dag at wieers.com> - 1.2-1
 * Fixed %%{_libdir} in httpd nagios.conf. (Thomas Zehetbauer)
 



More information about the svn-commits mailing list