File cpufrequtils.spec of Package cpufrequtils

#
# spec file for package cpufrequtils (Version 004)
#
# Copyright (c) 2008 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 sysfsutils
Url:            http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
Version:        004
Release:        35
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
%ifarch  ppc
Obsoletes:      cpufrequtils-32bit
%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

%build
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}

%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
* Tue Dec 09 2008 ro@suse.de
- remove ix86 from ifarch statement obsoleting 32bit package
* 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
* Mon Nov 06 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