]> git.pld-linux.org Git - packages/bbkeys.git/commitdiff
- moved config files to usable directory (+trigger); release 4 AC-STABLE auto/ac/bbkeys-0_8_6-4
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 31 Oct 2004 12:24:11 +0000 (12:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bbkeys.spec -> 1.31

bbkeys.spec

index 6f0c1599c3d53c4cd27392f42ce7d8535dc09208..7c511ff0cb42b2d2d03d454bd58f2db893232aa4 100644 (file)
@@ -2,7 +2,7 @@ Summary:        bbkeys, a completely configurable key-combo grabber for blackbox
 Summary(pl):   Ca³kowicie konfigurowalny przechwytywacz klawiszy dla blackboksa
 Name:          bbkeys
 Version:       0.8.6
-Release:       3
+Release:       4
 License:       GPL
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/bbkeys/%{name}-%{version}.tar.gz
@@ -17,8 +17,6 @@ BuildRequires:        automake
 BuildRequires: libstdc++-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%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
@@ -37,14 +35,12 @@ 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
-cp -f /usr/share/automake/config.sub .
 %{__aclocal}
 %{__autoconf}
 %{__automake}
@@ -61,10 +57,21 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%triggerpostun -- bbkeys < 0.8.6-4
+if [ -f /etc/default/bbtools/bbkeys.bb.rpmsave ]; then
+       mv -f %{_sysconfdir}/bbtools/bbkeys.bb %{_sysconfdir}/bbtools/bbkeys.bb.rpmnew
+       mv -f /etc/default/bbtools/bbkeys.bb.rpmsave %{_sysconfdir}/bbtools/bbkeys.bb
+fi
+if [ -f /etc/default/bbtools/bbkeys.nobb.rpmsave ]; then
+       mv -f %{_sysconfdir}/bbtools/bbkeys.nobb %{_sysconfdir}/bbtools/bbkeys.nobb.rpmnew
+       mv -f /etc/default/bbtools/bbkeys.nobb.rpmsave %{_sysconfdir}/bbtools/bbkeys.nobb
+fi
+rmdir /etc/default/bbtools 2>/dev/null || :
+
 %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}/*/*
+%{_mandir}/man[15]/*
This page took 0.074651 seconds and 4 git commands to generate.