OBS User unknown
2007-07-04 22:32:31 +00:00
committed by Git OBS Bridge
parent 047b101259
commit 7b273780f0
10 changed files with 22 additions and 179 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package acpid (Version 1.0.4)
# spec file for package acpid (Version 1.0.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,10 +12,10 @@
Name: acpid
URL: http://acpid.sourceforge.net/
Version: 1.0.4
Release: 81
Version: 1.0.6
Release: 1
%define acpi_version 0.09
License: GNU General Public License (GPL)
License: GPL v2 or later
Group: System/Daemons
Autoreqprov: on
PreReq: %insserv_prereq %fillup_prereq
@@ -28,10 +28,6 @@ Source3: README.SuSE
Source4: ibm_acpi.modprobe
Source5: events.default
Patch1: acpi_%{acpi_version}.dif
Patch2: acpid-1.0.4-signedness.diff
Patch3: acpid-1.0.4-close-fd-on-client-disconnect.diff
Patch4: acpid-1.0.4-use-syslog.diff
Patch5: acpid-1.0.4-skip-editor-backup-files.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ia64
@@ -57,10 +53,6 @@ Authors:
%patch1
pushd acpi-%{acpi_version}
popd
%patch2
%patch3
%patch4 -p1
%patch5
cp %{S:2} %{S:3} %{S:4} %{S:5} .
%build
@@ -83,6 +75,8 @@ ln -sf /usr/share/automake*/mkinstalldirs mkinstalldirs
make prefix=%{buildroot}/usr install
install -Dm 644 acpi.1 %{buildroot}/%{_mandir}/man1/acpi.1
popd
# for the rpmlint fascists
mv samples examples
mkdir -p %{buildroot}/var/lib/acpi
# keep the logfile
install -dm 755 %buildroot%_var/log
@@ -113,7 +107,7 @@ rm -f -- var/lib/acpi/*
/usr/sbin/rcacpid
/sbin/acpid
/usr/bin/acpi_listen
%doc README.SuSE README Changelog samples
%doc README.SuSE README Changelog examples
/usr/share/man/man8/acpid.8.gz
/usr/share/man/man8/acpi_listen.8.gz
/usr/bin/acpi
@@ -122,6 +116,10 @@ rm -f -- var/lib/acpi/*
%dir %attr(0750, root, root) /var/lib/acpi
%changelog
* Tue Jul 03 2007 - seife@suse.de
- update to version 1.0.6
mostly our patches included upstream
- adjust init script to the new pcc-acpi module
* Tue Jun 19 2007 - thoenig@suse.de
- Add $local_fs to Required-Start (b.n.c #285472)
* Mon Jun 04 2007 - lrupp@suse.de