rpms/cpufrequtils/devel cpufrequtils.spec,NONE,1.1
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Mon Jun 2 20:52:35 UTC 2008
Author: jwilson
Update of /cvs/pkgs/rpms/cpufrequtils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8682
Added Files:
cpufrequtils.spec
Log Message:
Oops, helps to add the spec file...
--- 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
Obsoletes: cpufreq-utils
Provides: cpufreq-utils = %{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
More information about the fedora-extras-commits
mailing list