]> git.pld-linux.org Git - packages/bbkeys.git/blame - bbkeys.spec
- tabs in preamble
[packages/bbkeys.git] / bbkeys.spec
CommitLineData
80375716 1Summary: bbkeys, a completely configurable key-combo grabber for blackbox
c5956979 2Summary(pl.UTF-8): Całkowicie konfigurowalny przechwytywacz klawiszy dla blackboksa
80375716 3Name: bbkeys
2de88b99 4Version: 0.8.6
180aaf8d 5Release: 4
80375716 6License: GPL
7Group: X11/Applications
5a9a8257 8Source0: http://dl.sourceforge.net/bbkeys/%{name}-%{version}.tar.gz
87ecb751 9# Source0-md5: 6df58a99d136f21682b859b823d31b7d
df901a21 10Patch0: %{name}-sysconfdir.patch
2de88b99 11Patch1: %{name}-ac_fixes.patch
8f9cfc28 12Patch2: %{name}-etc_dir.patch
ccfc0532 13URL: http://bbkeys.sourceforge.net/
2de88b99 14BuildRequires: XFree86-devel
44c9028d 15BuildRequires: autoconf
16BuildRequires: automake
2de88b99 17BuildRequires: libstdc++-devel
318154c2 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80375716 19
80375716 20%description
21bbkeys is a configurable key-grabber designed for the blackbox window
22manager which is written by Brad Hughes. It is based on the bbtools
23object code created by John Kennis and re-uses some of the blackbox
24window manager classes as well. bbkeys is easily configurable via
5593f85b 25directly hand-editing the user's ~/.bbkeysrc file, or by using the
80375716 26provided gui configuration tool, bbkeysconf (for lack of a better name
27yet).
44c9028d 28
74f0f5a4 29%description -l pl.UTF-8
d596fcb6 30bbkeys jest konfigurowalnym programem do przechwytywania klawiszy
74f0f5a4 31zaprojektowanym dla zarządcy okien blackbox, napisanego przez Brada
d596fcb6 32Hughesa. Bazuje na kodzie obiektowym bbtools napisanym przez Johna
74f0f5a4
JR
33Kennisa, używa także niektórych klas blackboksa. bbkeys są łatwo
34konfigurowalne przez bezpośrednią edycję pliku użytkownika
18b282af
ER
35~/.bbkeysrc, albo poprzez graficzny interfejs bbkeysconf (z braku
36lepszej nazwy).
d596fcb6 37
80375716 38%prep
180aaf8d 39%setup -q
df901a21 40%patch0 -p1
2de88b99 41%patch1 -p1
a5fb8d15 42%patch2 -p1
f6e733e3 43
44%build
4624ac6b 45%{__aclocal}
7d35dd62 46%{__autoconf}
47%{__automake}
2de88b99 48CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
80375716 49%configure
2de88b99 50%{__make}
80375716 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
974b01f5
PG
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
80375716 57
80375716 58%clean
59rm -rf $RPM_BUILD_ROOT
60
180aaf8d
JB
61%triggerpostun -- bbkeys < 0.8.6-4
62if [ -f /etc/default/bbtools/bbkeys.bb.rpmsave ]; then
63 mv -f %{_sysconfdir}/bbtools/bbkeys.bb %{_sysconfdir}/bbtools/bbkeys.bb.rpmnew
64 mv -f /etc/default/bbtools/bbkeys.bb.rpmsave %{_sysconfdir}/bbtools/bbkeys.bb
65fi
66if [ -f /etc/default/bbtools/bbkeys.nobb.rpmsave ]; then
67 mv -f %{_sysconfdir}/bbtools/bbkeys.nobb %{_sysconfdir}/bbtools/bbkeys.nobb.rpmnew
68 mv -f /etc/default/bbtools/bbkeys.nobb.rpmsave %{_sysconfdir}/bbtools/bbkeys.nobb
69fi
70rmdir /etc/default/bbtools 2>/dev/null || :
71
80375716 72%files
73%defattr(644,root,root,755)
4624ac6b 74%doc README AUTHORS ChangeLog NEWS TODO
2de88b99 75%dir %{_sysconfdir}/bbtools
18b282af 76%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bbtools/%{name}.*
80375716 77%attr(755,root,root) %{_bindir}/*
180aaf8d 78%{_mandir}/man[15]/*
This page took 0.067446 seconds and 5 git commands to generate.