Group :: Sistema/Kernel e hardware
RPM: sispmctl
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: sispmctl
Version: 2.7
Release: alt2.M40.1
Summary: GEMBIRD Silver Shield PM Control
License: GPL
Group: System/Kernel and hardware
Url: http://sispmctl.sourceforge.net
Source0: %name-%version.tar.gz
Source1: 74-sispmctl.rules
Patch0: sispmctl-2.7-alt-buffer.patch
Patch1: sispmctl-2.7-debian-version.patch
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: libusb-devel
%description
SIS-PM Control for Linux aka sispmctl is an application
enabling the use of the GEMBIRD (m)SiS-PM device family
(or a Revolt Power Switch) under Linux.
Add users who need to control the device to _powermgr group.
%prep
%setup
%patch0 -p1
%patch1 -p0
%build
%configure --enable-webless
%make_build
%install
%makeinstall
install -pDm644 %SOURCE1 %buildroot%_sysconfdir/udev/rules.d/74-sispmctl.rules
%files
%_bindir/*
%_man1dir/*
%config(noreplace) %_sysconfdir/udev/rules.d/74-sispmctl.rules
%doc AUTHORS ChangeLog README
%pre
%_sbindir/groupadd -r -f _powermgr >/dev/null 2>&1
# TODO:
# - consider web part
# - see also http://sourceforge.net/projects/sispmctl/develop
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.7
Release: alt2.M40.1
Summary: GEMBIRD Silver Shield PM Control
License: GPL
Group: System/Kernel and hardware
Url: http://sispmctl.sourceforge.net
Source0: %name-%version.tar.gz
Source1: 74-sispmctl.rules
Patch0: sispmctl-2.7-alt-buffer.patch
Patch1: sispmctl-2.7-debian-version.patch
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: libusb-devel
%description
SIS-PM Control for Linux aka sispmctl is an application
enabling the use of the GEMBIRD (m)SiS-PM device family
(or a Revolt Power Switch) under Linux.
Add users who need to control the device to _powermgr group.
%prep
%setup
%patch0 -p1
%patch1 -p0
%build
%configure --enable-webless
%make_build
%install
%makeinstall
install -pDm644 %SOURCE1 %buildroot%_sysconfdir/udev/rules.d/74-sispmctl.rules
%files
%_bindir/*
%_man1dir/*
%config(noreplace) %_sysconfdir/udev/rules.d/74-sispmctl.rules
%doc AUTHORS ChangeLog README
%pre
%_sbindir/groupadd -r -f _powermgr >/dev/null 2>&1
# TODO:
# - consider web part
# - see also http://sourceforge.net/projects/sispmctl/develop
%changelog
…
Todas as alterações você pod ver aqui