SPECS: cpufrequtils.spec - updated to 002, epoch 1

qboosh qboosh at pld-linux.org
Sun May 27 00:56:48 CEST 2007


Author: qboosh                       Date: Sat May 26 22:56:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 002, epoch 1

---- Files affected:
SPECS:
   cpufrequtils.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/cpufrequtils.spec
diff -u SPECS/cpufrequtils.spec:1.13 SPECS/cpufrequtils.spec:1.14
--- SPECS/cpufrequtils.spec:1.13	Mon Feb 12 22:23:51 2007
+++ SPECS/cpufrequtils.spec	Sun May 27 00:56:43 2007
@@ -7,15 +7,17 @@
 Summary:	Scales your CPU frequency
 Summary(pl.UTF-8):	Skalowanie częstotliwości procesora
 Name:		cpufrequtils
-Version:	0.4
-Release:	3
+Version:	002
+Release:	1
+Epoch:		1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.kernel.org/pub/linux/utils/kernel/cpufreq/%{name}-%{version}.tar.bz2
-# Source0-md5:	f0f9cecda44584c3ba28239568ef0a42
+# Source0-md5:	93291a0d705ee2e19a6d7491b223c9f2
 URL:		http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
+BuildRequires:	libtool
 %{?with_sysfs:BuildRequires:	sysfsutils-devel >= 1.3.0-3}
-Requires:	%{name}-libs = %{version}-%{release}
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,7 +41,7 @@
 Summary:	Header file for libcpufreq library
 Summary(pl.UTF-8):	Plik nagłówkowy biblioteki libcpufreq
 Group:		Development/Libraries
-Requires:	%{name}-libs = %{version}-%{release}
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 %{?with_sysfs:Requires:	sysfsutils-devel >= 1.3.0-3}
 
 %description devel
@@ -48,21 +50,35 @@
 %description devel -l pl.UTF-8
 Plik nagłówkowy biblioteki libcpufreq.
 
+%package static
+Summary:	Static libcpufreq library
+Summary(pl.UTF-8):	Statyczna biblioteka libcpufreq
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static libcpufreq library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libcpufreq.
+
 %prep
 %setup -q
 
 %build
-%configure \
-	%{?with_sysfs:--enable-sysfs} \
-	%{?with_procfs:--enable-proc} \
-
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZATION="%{rpmcflags}" \
+	V=true \
+	%{!?with_sysfs:SYSFS=false} \
+	%{!?with_procfs:PROC=false}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	mandir=%{_mandir}
 
 %find_lang %{name}
 
@@ -74,7 +90,7 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS README
 %attr(755,root,root) %{_bindir}/cpufreq-*
 %{_mandir}/man1/cpufreq-*.1*
 
@@ -88,12 +104,19 @@
 %{_libdir}/libcpufreq.la
 %{_includedir}/cpufreq.h
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcpufreq.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2007/05/26 22:56:43  qboosh
+- updated to 002, epoch 1
+
 Revision 1.13  2007/02/12 21:23:51  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cpufrequtils.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list