Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404325
en ru br
Репозитории ALT
S:008-alt4
5.1: 005-alt3
4.1: 002-alt2
4.0: 002-alt2
3.0: 0.3-alt1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: cpufrequtils

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define libname libcpufreq

Name: cpufrequtils
Version: 002
Release: alt2

Summary: Tools to determine and set CPUfreq settings
License: GPL
Group: System/Base

URL: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
Source: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils-%version.tar.bz2
Patch0: cpufrequtils-002-Makefile.patch

# Automatically added by buildreq on Wed Apr 18 2007

BuildRequires: libsysfs-devel

Requires: %libname = %version-%release

%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.

%package -n %libname
Summary: Library for %name
License: GPL
Group: Development/C

%description -n %libname
This packages contains some library needed by %name.

%package -n %libname-devel
Summary: Headers for developing programs that will use %libname
License: GPL
Group: Development/C
Requires: %libname = %version-%release
Obsoletes: %name-devel
Provides: %name-devel

%description -n %libname-devel
This package contains the headers that programmers will need to develop
applications which will use %libname.

%prep
%setup -q
%patch0 -p1

%build
%make_build CFLAGS="%optflags" V=true

%install
%make_install DESTDIR=%buildroot mandir=%_mandir libdir=%_libdir V=true install
rm -f %buildroot%_libdir/*.a

%find_lang cpufrequtils

%post -n %libname -p %post_ldconfig
%postun -n %libname -p %postun_ldconfig

%files -f cpufrequtils.lang
%_bindir/*
%_man1dir/*

%files -n %libname
%_libdir/libcpufreq.so.*

%files -n %libname-devel
%_includedir/*
%_libdir/libcpufreq.so

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin