rpms/cpufrequtils/F-8 cpufrequtils.spec, NONE, 1.1 disable-gsic.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Mon Jun 2 21:47:30 UTC 2008


Author: jwilson

Update of /cvs/pkgs/rpms/cpufrequtils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18232

Modified Files:
	.cvsignore sources 
Added Files:
	cpufrequtils.spec disable-gsic.patch 
Log Message:
* Tue May 27 2008 Jarod Wilson <jwilson at redhat.com> 003-1
- New upstream release
- Rename package to match upstream name (old cvs history
  can be found under old package name, cpufreq-utils)
- Drop static and libtool libs



--- NEW FILE cpufrequtils.spec ---
Summary:        CPU Frequency changing related utilities
Name:           cpufrequtils
Version:        003
Release:        1%{?dist}
Group:          System Environment/Base
License:        GPL
URL:            http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
Source:         http://www.kernel.org/pub/linux/utils/kernel/cpufreq/%{name}-%{version}.tar.bz2
Patch0:         disable-gsic.patch
Buildroot:      %{_tmppath}/%{name}-%{version}-root
BuildRequires:  libsysfs-devel gettext
# pulls in automake and autoconf
BuildRequires:  libtool
ExclusiveArch:  %{ix86} x86_64 ppc ppc64
Provides:       cpufreq-utils = 1:%{version}-%{release}
Obsoletes:      cpufreq-utils < 1:%{version}-%{release}

%description
cpufrequtils contains several utilities that can be used to control
the cpufreq interface provided by the kernel on hardware that
supports CPU frequency scaling.

%prep
%setup -q
%patch0 -p1

%build
make CFLAGS="$RPM_OPT_FLAGS"
%ifarch %{ix86}
cd debug/i386
make CFLAGS="$RPM_OPT_FLAGS"
%endif
%ifarch x86_64
cd debug/x86_64
make CFLAGS="$RPM_OPT_FLAGS"
%endif
cd ..

%install
rm -rf $RPM_BUILD_ROOT

make DESTDIR=%{buildroot} mandir=%{_mandir} bindir=%{_bindir} includedir=%{_includedir} libdir=%{_libdir} install

# Remove libtool lib and static lib
rm -f %{buildroot}%{_libdir}/*.{a,la}

%find_lang cpufrequtils

%ifarch %{ix86}
cd debug/i386
install centrino-decode %{buildroot}%{_bindir}/centrino-decode
install dump_psb %{buildroot}%{_bindir}/dump_psb
install powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode
cd ../..
%endif
%ifarch x86_64
cd debug/x86_64
install powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode
cd ../..
%endif

chmod -R a-s %{buildroot}

%clean
rm -rf $RPM_BUILD_ROOT;

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f cpufrequtils.lang
%defattr(-,root,root,0755)
%{_includedir}/cpufreq.h
%{_libdir}/libcpufreq.so*
%{_bindir}/cpufreq-info
%{_bindir}/cpufreq-set
%ifarch %{ix86}
%{_bindir}/centrino-decode
%{_bindir}/dump_psb
%endif
%ifarch %{ix86} x86_64
%{_bindir}/powernow-k8-decode
%endif
%{_mandir}/*/*


%changelog
* Tue May 27 2008 Jarod Wilson <jwilson at redhat.com> 003-1
- New upstream release
- Rename package to match upstream name (old cvs history
  can be found under old package name, cpufreq-utils)
- Drop static and libtool libs

* Wed Feb 13 2008 Jarod Wilson <jwilson at redhat.com>
- Bump and rebuild with gcc 4.3

* Tue Jul 11 2006 Karsten Hopp <karsten at redhat.de>
- buildrequire libsysfs-devel

* Wed Jul  9 2006 Dave Jones <davej at redhat.com>
- Rebuild against new libsysfs

* Wed Jun  7 2006 Dave Jones <davej at redhat.com>
- Upstream -002 release.

* Sat Feb 11 2006 Dave Jones <davej at redhat.com>
- rebuild.

* Thu Feb 09 2006 Dave Jones <davej at redhat.com>
- rebuild.

* Mon Dec 19 2005 Dave Jones <davej at redhat.com>
- New upstream 0.4 release.

* Fri Dec 16 2005 Jesse Keating <jkeating at redhat.com>
- rebuilt for new gcj

* Fri Dec 09 2005 Jesse Keating <jkeating at redhat.com>
- rebuilt

* Sun Jul 31 2005 Florian La Roche <laroche at redhat.com>
- package all files

* Mon May  9 2005 Dave Jones <davej at redhat.com>
- Update to upstream 0.3

* Fri Apr 22 2005 Matthias Saou <http://freshrpms.net/> 0.2-2
- Major spec file cleanup. (#155731)
- Use %%find_lang macro.
- Add missing sysfsutils-devel build requirement.

* Fri Apr 15 2005 Florian La Roche <laroche at redhat.com>
- remove empty preun script

* Tue Mar  1 2005 Dave Jones <davej at redhat.com>
- Rebuild for gcc4.

* Sun Feb 27 2005 Dave Jones <davej at redhat.com>
- Update to upstream 0.2

* Tue Feb  8 2005 Dave Jones <davej at redhat.com>
- Rebuild with -D_FORTIFY_SOURCE=2

* Sat Dec  4 2004 Dave Jones <davej at redhat.com>
- Initial packaging


disable-gsic.patch:

--- NEW FILE disable-gsic.patch ---
--- cpufrequtils-0.3/debug/i386/Makefile~	2004-12-04 15:58:54.287473296 -0500
+++ cpufrequtils-0.3/debug/i386/Makefile	2004-12-04 15:59:08.035383296 -0500
@@ -12,7 +12,7 @@ intel_gsic: intel_gsic.c
 powernow-k8-decode: powernow-k8-decode.c
 	$(CC) $(CFLAGS) -o powernow-k8-decode powernow-k8-decode.c
 
-all: centrino-decode dump_psb intel_gsic powernow-k8-decode
+all: centrino-decode dump_psb powernow-k8-decode
 
 clean:
 	rm -rf centrino-decode dump_psb intel_gsic powernow-k8-decode


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cpufrequtils/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Jun 2008 20:07:22 -0000	1.1
+++ .cvsignore	2 Jun 2008 21:46:49 -0000	1.2
@@ -0,0 +1,2 @@
+cpufrequtils-003
+cpufrequtils-003.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cpufrequtils/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Jun 2008 20:07:22 -0000	1.1
+++ sources	2 Jun 2008 21:46:49 -0000	1.2
@@ -0,0 +1 @@
+5263d82a20e6638adf6461de6e307f26  cpufrequtils-003.tar.bz2




More information about the fedora-extras-commits mailing list