Группа :: Развлечения
Пакет: thinksaber
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: thinksaber
Version: 0.4
Release: alt3
Summary: Turn your HDAPS-enabled Thinkpad into Jedi's Lightsabre
License: GPL-2.0
Group: Toys
Url: http://elfsternberg.com/projects/thinksaber/
Source0: %url/%name-%version.tar.gz
Source1: thinksaber.sh
Source2: thinksaber.sysconfig
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%define tsdir %_datadir/%name
%description
Thinksaber is obviously inspired by the program MacSaber, and I'm
grateful to the MacSaber people for assembling the Star Wars sound
effects collection needed to make it so successful.
Thinksaber uses a motion-detection algorithm derived from the one
written by Tatsuhiko Miyagawa (miyagawa at gmail.com) for his own
thinkpad-saber program, which ran only under Perl for Windows.
Obviously, I think mine's better.
%prep
%setup
%install
mkdir -p %buildroot%tsdir
cp -a *.wav %buildroot%tsdir
install -pDm755 %name.py %buildroot%_bindir/%name.py
install -pDm755 %SOURCE1 %buildroot%_bindir/%name
install -pDm644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name
# TODO:
# - something regarding the udev rule needed (js input)
# !TODO:
# - _don't_ add desktop file, Jedi will know better. :)
%files
%_bindir/*
%tsdir
%_sysconfdir/sysconfig/%name
%doc AUTHORS ChangeLog README
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.4
Release: alt3
Summary: Turn your HDAPS-enabled Thinkpad into Jedi's Lightsabre
License: GPL-2.0
Group: Toys
Url: http://elfsternberg.com/projects/thinksaber/
Source0: %url/%name-%version.tar.gz
Source1: thinksaber.sh
Source2: thinksaber.sysconfig
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%define tsdir %_datadir/%name
%description
Thinksaber is obviously inspired by the program MacSaber, and I'm
grateful to the MacSaber people for assembling the Star Wars sound
effects collection needed to make it so successful.
Thinksaber uses a motion-detection algorithm derived from the one
written by Tatsuhiko Miyagawa (miyagawa at gmail.com) for his own
thinkpad-saber program, which ran only under Perl for Windows.
Obviously, I think mine's better.
%prep
%setup
%install
mkdir -p %buildroot%tsdir
cp -a *.wav %buildroot%tsdir
install -pDm755 %name.py %buildroot%_bindir/%name.py
install -pDm755 %SOURCE1 %buildroot%_bindir/%name
install -pDm644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name
# TODO:
# - something regarding the udev rule needed (js input)
# !TODO:
# - _don't_ add desktop file, Jedi will know better. :)
%files
%_bindir/*
%tsdir
%_sysconfdir/sysconfig/%name
%doc AUTHORS ChangeLog README
%changelog
…
Полный changelog можно просмотреть здесь