]> git.pld-linux.org Git - packages/bbkeys.git/blobdiff - bbkeys.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/bbkeys.git] / bbkeys.spec
index 42874006c31bdd96766ab82057e4116f12f2c478..790e72a9366ceca2fcde20acb0419af1e115ee27 100644 (file)
@@ -1,27 +1,29 @@
 Summary:       bbkeys, a completely configurable key-combo grabber for blackbox
 Summary(pl):   Ca³kowicie konfigurowalny przechwytywacz klawiszy dla blackboksa
 Name:          bbkeys
-Version:       0.8.4
-Release:       4
+Version:       0.8.6
+Release:       2
 License:       GPL
 Group:         X11/Applications
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/bbkeys/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/bbkeys/%{name}-%{version}.tar.gz
 Patch0:                %{name}-sysconfdir.patch
+Patch1:                %{name}-ac_fixes.patch
+Patch2:                %{name}-etc_dir.patch
 URL:           http://bbkeys.sourceforge.net/
+BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: XFree86-devel
+BuildRequires: libstdc++-devel
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+%define                _sysconfdir             /etc/default
 
 %description
 bbkeys is a configurable key-grabber designed for the blackbox window
 manager which is written by Brad Hughes. It is based on the bbtools
 object code created by John Kennis and re-uses some of the blackbox
 window manager classes as well. bbkeys is easily configurable via
-directly hand-editting the user's ~/.bbkeysrc file, or by using the
+directly hand-editing the user's ~/.bbkeysrc file, or by using the
 provided gui configuration tool, bbkeysconf (for lack of a better name
 yet).
 
@@ -34,16 +36,19 @@ konfigurowalne przez bezpo
 albo poprzez graficzny interfejs bbkeysconf (z braku lepszej nazwy).
 
 %prep
-%setup -q
+%setup  -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 rm -f missing
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
 %configure
-%{__make} CXX="%{__cc}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -56,6 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README AUTHORS ChangeLog NEWS TODO
+%dir %{_sysconfdir}/bbtools
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/bbtools/%{name}.*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/*/*
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/bbtools/%{name}.*
This page took 0.251433 seconds and 4 git commands to generate.