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

Группа :: Система/Библиотеки
Пакет: scanbuttond

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

Name: scanbuttond
Version: 0.2.3
Release: alt0.1

Summary: Scanner Button tools to SANE

Group: System/Libraries
License: GPL
Url: http://scanbuttond.sf.net

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://dl.sf.net/%name/%name-%version.tar.bz2
Source1: scanbuttond.init
Source2: initscanner.sh
Source3: buttonpressed.sh
Patch0: scanbuttond-0.2.3.diff

# Automatically added by buildreq on Sat Jan 06 2007

BuildRequires: gcc-c++ libusb-devel

%description
Modern scanners usually have several front panel buttons which are intended to
trigger certain actions like copying, faxing or mailing the scanned document.
This daemon monitors the scanner's buttons and runs a shell script whenever one
of these buttons has been pressed. Because it is accessing the scanner directly
via libusb, there should be no conflicts with SANE or other scanner drivers:
scanbuttond simply won't touch the scanner hardware while you are using SANE.

See http://www.linux.com/print.pl?sid=06/12/18/1937227 for examples.

%prep
%setup -q
%patch0 -p1

%build
%configure --libdir=%_libdir/%name
%make_build

%install
%make_install DESTDIR=%buildroot install

rm -rf %buildroot%_libdir/%name/*.{la,so}
mkdir -p -m 755 %buildroot%_initdir/
install -c -m 755 %SOURCE1 %buildroot%_initdir/%name
rm -rf %buildroot%_sysconfdir/scanbuttond/*.sh
install -m 755 %SOURCE2 %buildroot%_sysconfdir/%name/
install -m 755 %SOURCE3 %buildroot%_sysconfdir/%name/

%post
%post_service %name

%preun
%preun_service %name

%files
%doc README AUTHORS ChangeLog
%_bindir/%name
%_libdir/%name/
%dir %_sysconfdir/%name/
%config(noreplace) %_sysconfdir/%name/meta.conf
%_sysconfdir/%name/*.sh
%_initdir/%name

%changelog

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

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