SPECS: cpufrequtils.spec - release 2 - separated libs into subpackage

blues blues at pld-linux.org
Sun Jan 8 17:47:30 CET 2006


Author: blues                        Date: Sun Jan  8 16:47:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 2 - separated libs into subpackage

---- Files affected:
SPECS:
   cpufrequtils.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/cpufrequtils.spec
diff -u SPECS/cpufrequtils.spec:1.8 SPECS/cpufrequtils.spec:1.9
--- SPECS/cpufrequtils.spec:1.8	Sun Jan  8 17:17:43 2006
+++ SPECS/cpufrequtils.spec	Sun Jan  8 17:47:25 2006
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - make separate package with libs only
 #
 # Conditional build:
 %bcond_without	sysfs	# sysfs
@@ -10,13 +8,14 @@
 Summary(pl):	Skalowanie częstotliwości procesora
 Name:		cpufrequtils
 Version:	0.4
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.kernel.org/pub/linux/utils/kernel/cpufreq/%{name}-%{version}.tar.bz2
 # Source0-md5:	f0f9cecda44584c3ba28239568ef0a42
 URL:		http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
 %{?with_sysfs:BuildRequires:	sysfsutils-devel}
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,11 +24,22 @@
 %description -l pl
 Skalowanie częstotliwości procesora.
 
+%package libs
+Summary:	Library cpufrequtils
+Summary(pl):	Biblioteka skalująca częstotliwość procesora
+Group:		Libraries
+
+%description libs
+Library cpufrequtils.
+
+%description libs -l pl
+Biblioteka skalująca częstotliwość procesora.
+
 %package devel
 Summary:	Header file for libcpufreq library
 Summary(pl):	Plik nagłówkowy biblioteki libcpufreq
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description devel
 Header file for libcpufreq library.
@@ -58,16 +68,19 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/cpufreq-*
-%attr(755,root,root) %{_libdir}/libcpufreq.so.*.*.*
 %{_mandir}/man1/cpufreq-*.1*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcpufreq.so.*.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcpufreq.so
@@ -80,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/01/08 16:47:25  blues
+- release 2 - separated libs into subpackage
+
 Revision 1.8  2006/01/08 16:17:43  blues
 - TODO added
 
================================================================

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



More information about the pld-cvs-commit mailing list