Browse Source

* acpitool: new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5957 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
4af5781ad8
1 changed files with 20 additions and 16 deletions
  1. 20 16
      a/acpitool/acpitool-vl.spec

+ 20 - 16
a/acpitool/acpitool-vl.spec

@@ -1,15 +1,17 @@
-Summary: Command line ACPI client
-Summary(ja): コマンドライン ACPI クライアント
-Name: acpitool
-Version: 0.4.7
-Release: 1%{?_dist_release}
-License: GPLv2+
-Group: Applications/System
-URL: http://freeunix.dyndns.org:8000/site2/acpitool.shtml
-
-Source: http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2
-Patch0: acpitool-0.4.7-gcc43.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Summary:	Command line ACPI client
+Summary(ja):	コマンドライン ACPI クライアント
+Name:		acpitool
+Version:	0.5.1
+Release:	1%{?_dist_release}
+License:	GPLv2+
+Group:		Applications/System
+URL:		http://freeunix.dyndns.org:8000/site2/acpitool.shtml
+
+Source:		http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
 
 %description
 AcpiTool is a Linux ACPI client. It's a small command line application, 
@@ -21,18 +23,17 @@ ACPI values.
 
 %prep
 %setup -q
-%patch0 -p1 -b .gcc43
 
 %build
 %configure
 make %{?_smp_mflags}
 
 %install
-rm -fr $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
 
 %clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -41,6 +42,9 @@ rm -fr $RPM_BUILD_ROOT
 %{_mandir}/man1/acpitool*
 
 %changelog
+* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.5.1-1
+- new upstream release
+
 * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.7-1
 - initial build for Vine Linux