X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=athcool.spec;h=4a546fab1e2251a4bdbeb5ddac740356d018b88b;hb=HEAD;hp=663e4df0b314e80c8ad318ad15c899704eb2ad3a;hpb=3979b59455431b284fef866aa9c3042f83686231;p=packages%2Fathcool.git diff --git a/athcool.spec b/athcool.spec index 663e4df..4a546fa 100644 --- a/athcool.spec +++ b/athcool.spec @@ -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