File cpufrequtils.spec of Package cpufrequtils
#
# spec file for package cpufrequtils (Version 005)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: cpufrequtils
BuildRequires: doxygen lynx
Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
Version: 005
Release: 2
Summary: Tools to Determine and Set CPUfreq Settings
License: GPL v2 or later
Group: System/Base
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293
%ifarch ppc64
Obsoletes: cpufrequtils-64bit
%endif
#
%description
To make access to the Linux kernel cpufreq subsystem easier for users
and cpufreq userspace tools, the cpufrequtils package was created. It
contains a library used by other programs (libcpufreq), command line
tools to determine current CPUfreq settings and to modify them
(cpufreq-info and cpufreq-set), and debug tools.
Authors:
--------
Dominik Brodowski <linux@brodo.de>
%prep
%setup -q
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
CONF="PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir libdir=%_libdir"
export CFLAGS="$RPM_OPT_FLAGS"
make STRIP=true $CONF
%install
CONF="PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir libdir=%_libdir"
make install DESTDIR=$RPM_BUILD_ROOT $CONF
%find_lang %{name}
rm %{buildroot}%{_libdir}/*.*a
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr (-,root,root)
%{_libdir}/libcpufreq.*
%{_mandir}/man1/cpufreq*
/usr/include/cpufreq.h
/usr/bin/cpufreq-*
%changelog
* Fri Jun 19 2009 coolo@novell.com
- disable as-needed for this package as it fails to build with it
* Mon Jun 15 2009 seife@suse.de
- update to version 005:
- documentation fixes
- fix in /proc reading code (unused on kernel 2.6)
* Mon Jun 15 2009 ro@suse.de
- drop sysfsutils from buildrequires
* Sun Apr 19 2009 crrodriguez@suse.de
- remove static libraries and "la" files
* Wed Dec 10 2008 olh@suse.de
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
* Thu Oct 30 2008 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Tue Jul 15 2008 seife@suse.de
- update to version 004
- support for cpufreq statistics
- new translations
- some minor fixes (memory allocation etc.)
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang problems
* Tue Nov 07 2006 schwab@suse.de
- Don't strip binaries.
* Thu Jun 29 2006 seife@suse.de
- update to upstream version 002 (changed numbering scheme):
- new Makefile-based build system instead of autotools
- includes a patch which causes cpufrequtils to always set the
maximum frequency before the minimum frequency on a policy
change, as the kernel expects.
* Fri May 26 2006 schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 22 2005 seife@suse.de
- update to version 0.4
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Tue Jun 14 2005 seife@suse.de
- update to version 0.3
* Tue Jun 14 2005 ro@suse.de
- added sysfsutils to nfb
* Mon Feb 28 2005 seife@suse.de
- update to version 0.2
* Tue Jan 18 2005 seife@suse.de
- update to version 0.2-pre1
* Tue Dec 21 2004 seife@suse.de
- initial submission, version 0.1