SPECS: cpufrequtils.spec - need regen autotools in subdirs, still ...

glen glen at pld-linux.org
Sun Jun 19 11:00:45 CEST 2005


Author: glen                         Date: Sun Jun 19 09:00:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- need regen autotools in subdirs, still doesn't build

---- Files affected:
SPECS:
   cpufrequtils.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/cpufrequtils.spec
diff -u SPECS/cpufrequtils.spec:1.1 SPECS/cpufrequtils.spec:1.2
--- SPECS/cpufrequtils.spec:1.1	Sun Jun 19 02:55:33 2005
+++ SPECS/cpufrequtils.spec	Sun Jun 19 11:00:40 2005
@@ -1,4 +1,9 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	sysfs	# sysfs
+%bcond_without	procfs	# procfs
+#
 Summary:	Scales your cpu frequency
 Summary(pl):	Skalowanie częstotliwości procesora
 Name:		cpufrequtils
@@ -12,6 +17,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
+%{?with_sysfs:BuildRequires:	libsysfs-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,7 +31,25 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+
+cd utils
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+#%{__automake}
+cd ..
+
+cd libcpufreq
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+#%{__automake}
+cd ..
+
+%configure \
+	%{?with_sysfs:--enable-sysfs=/sys} \
+	%{?with_procfs:--enable-proc} \
+
 %{__make}
 
 %install
@@ -53,6 +77,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/06/19 09:00:40  glen
+- need regen autotools in subdirs, still doesn't build
+
 Revision 1.1  2005/06/19 00:55:33  blues
 - raw version - original tool from kernel.org
-
================================================================

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




More information about the pld-cvs-commit mailing list