]> git.pld-linux.org Git - packages/athcool.git/blobdiff - athcool.spec
- release 2
[packages/athcool.git] / athcool.spec
index 663e4df0b314e80c8ad318ad15c899704eb2ad3a..4a546fab1e2251a4bdbeb5ddac740356d018b88b 100644 (file)
@@ -3,8 +3,8 @@ Summary(ja.UTF-8):      AMD Athlon/Duron の省電力機能を有効にする
 Summary(pl.UTF-8):     Narzędzie do włączania trybu oszczędności energii procesorów Athlon
 Name:          athcool
 Version:       0.3.11
-Release:       1
-License:       GPL v2
+Release:       2
+License:       GPL v2+
 Group:         Applications/System
 Source0:       http://members.jcom.home.ne.jp/jacobi/linux/files/%{name}-%{version}.tar.gz
 # Source0-md5: 4f550f9aaaa68a01d1e8ae31491e5406
@@ -12,6 +12,7 @@ Source1:      %{name}.init
 Source2:       %{name}.sysconfig
 URL:           http://members.jcom.home.ne.jp/jacobi/linux/softwares.html
 BuildRequires: pciutils-devel
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
@@ -49,7 +50,7 @@ Tryb oszczędności energii działa, gdy jądro zawiera wsparcie dla ACPI
 %{__make} \
        CC="%{__cc}" \
        CFLAGS="%{rpmcflags}" \
-       LIBS="-lpci -lz"
+       LIBS="`pkg-config --libs libpci`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.031824 seconds and 4 git commands to generate.