Browse Source

update to 2.0.2, new upstream

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@576 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
b6e067e647
1 changed files with 13 additions and 10 deletions
  1. 13 10
      a/acpid/acpid-vl.spec

+ 13 - 10
a/acpid/acpid-vl.spec

@@ -1,21 +1,21 @@
 Summary: ACPI Event Daemon
 Summary(ja): ACPI イベントデーモン
 Name: acpid
-Version: 1.0.10
+Version: 2.0.2
 Release: 1%{?_dist_release}
 License: GPL
 Group: System Environment/Daemons
-URL: http://acpid.sourceforge.net/
+URL: http://tedfelix.com/linux/acpid-netlink.html
 
-Source0: http://downloads.sourceforge.net/acpid/%{name}-%{version}.tar.gz
+Source: http://tedfelix.com/linux/acpid-%{version}.tar.gz
 Source1: acpid.init
 Source2: acpid.video.conf
 Source3: acpid.power.conf
 Source4: acpid.power.sh
 
-Patch1: acpid-1.0.10-makefile.patch
-
-Patch10: acpid-1.0.6-ignore-rpmnew.patch
+Patch1: acpid-2.0.2-makefile.patch
+Patch2: acpid-2.0.2-no_umask.patch
+Patch3: acpid-2.0.2-headers.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Requires(post): chkconfig
@@ -25,7 +25,7 @@ ExclusiveArch: x86_64 %{ix86}
 
 Vendor: Project Vine
 Distribution: Vine Linux
-
+Packager: daisuke
 
 %description
 acpid is a daemon that dispatches ACPI events to user-space programs.
@@ -39,8 +39,8 @@ acpidはACPIイベントをユーザスペースのプログラムへ素早く
 %prep
 %setup -q
 %patch1 -p1 -b .makefile
-%patch10 -p1 -b .ignore-rpmnew
-
+%patch2 -p1 -b .no_umask
+%patch3 -p1 -b .headers
 
 %build
 make %{?_smp_mflags}
@@ -49,7 +49,7 @@ make %{?_smp_mflags}
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}
-make install INSTPREFIX=%{buildroot}
+make install DESTDIR=%{buildroot}
 
 mkdir -p %{buildroot}%{_sysconfdir}/acpi/events
 mkdir -p %{buildroot}%{_sysconfdir}/acpi/actions
@@ -107,6 +107,9 @@ fi
 
 
 %changelog
+* Tue Mar 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-1
+- new upstream release
+
 * Sat May  9 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.10-1
 - new upstream release: fixes CVE-2009-0798 (too many open files DoS)
 - fix power.sh (Source4) to work with ConsoleKit >= 0.3.0