SPECS: cpufrequtils.spec - don't regenerate ac/am (not needed now ...

qboosh qboosh at pld-linux.org
Mon Jun 20 22:56:31 CEST 2005


Author: qboosh                       Date: Mon Jun 20 20:56:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't regenerate ac/am (not needed now for anything, too much PITA)
- fixed files, added -devel package

---- Files affected:
SPECS:
   cpufrequtils.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/cpufrequtils.spec
diff -u SPECS/cpufrequtils.spec:1.3 SPECS/cpufrequtils.spec:1.4
--- SPECS/cpufrequtils.spec:1.3	Mon Jun 20 21:34:08 2005
+++ SPECS/cpufrequtils.spec	Mon Jun 20 22:56:26 2005
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_with	sysfs	# sysfs
+%bcond_with	sysfs	# sysfs (detection broken)
 %bcond_without	procfs	# procfs
 #
 Summary:	Scales your CPU frequency
@@ -14,10 +14,7 @@
 Source0:	http://www.kernel.org/pub/linux/utils/kernel/cpufreq/%{name}-%{version}.tar.bz2
 # Source0-md5:	ccd1423d76d19889652f06b7c018106b
 URL:		http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
-BuildRequires:	autoconf
-BuildRequires:	automake
 %{?with_sysfs:BuildRequires:	libsysfs-devel}
-BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,29 +23,22 @@
 %description -l pl
 Skalowanie częstotliwości procesora.
 
+%package devel
+Summary:	Header file for libcpufreq library
+Summary(pl):	Plik nagłówkowy biblioteki libcpufreq
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header file for libcpufreq library.
+
+%description devel -l pl
+Plik nagłówkowy biblioteki libcpufreq.
+
 %prep
 %setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-
-cd utils
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-#%{__automake}
-cd ..
-
-cd libcpufreq
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-#%{__automake}
-cd ..
-
 %configure \
 	%{?with_sysfs:--enable-sysfs=/sys} \
 	%{?with_procfs:--enable-proc} \
@@ -61,18 +51,26 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(754,root,root) %{_bindir}/cpufreq-*
+%attr(755,root,root) %{_libdir}/libcpufreq.so.*.*.*
+%{_mandir}/man1/cpufreq-*.1*
+
+%files devel
 %defattr(644,root,root,755)
-%doc README TODO
-%attr(754,root,root) %{_sbindir}/*
-#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
-#%{_mandir}/man?/*
-#%attr(754,root,root) /etc/rc.d/init.d/%{name}
-#%dir %{_libdir}/%{name}
-#%attr(755,root,root) %{_libdir}/%{name}/*
+%attr(755,root,root) %{_libdir}/libcpufreq.so
+%{_libdir}/libcpufreq.la
+%{_includedir}/cpufreq.h
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -80,6 +78,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/06/20 20:56:26  qboosh
+- don't regenerate ac/am (not needed now for anything, too much PITA)
+- fixed files, added -devel package
+
 Revision 1.3  2005/06/20 19:34:08  qboosh
 - descs from summaries
 
================================================================

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




More information about the pld-cvs-commit mailing list