rpms/bbkeys/devel bbkeys.spec,1.13,1.14
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Thu Mar 29 11:39:20 UTC 2007
Author: thias
Update of /cvs/extras/rpms/bbkeys/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7642
Modified Files:
bbkeys.spec
Log Message:
Build against new shared libbt and move config files to /etc + minor cleanups.
Index: bbkeys.spec
===================================================================
RCS file: /cvs/extras/rpms/bbkeys/devel/bbkeys.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- bbkeys.spec 28 Aug 2006 09:20:56 -0000 1.13
+++ bbkeys.spec 29 Mar 2007 11:38:47 -0000 1.14
@@ -1,11 +1,11 @@
Summary: Completely configurable key-combo grabber for blackbox
Name: bbkeys
Version: 0.9.0
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPL
Group: User Interface/Desktops
URL: http://bbkeys.sourceforge.net/
-Source: http://dl.sf.net/bbkeys/bbkeys-%{version}.tar.gz
+Source: http://downloads.sf.net/bbkeys/bbkeys-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: blackbox-devel
# Use monolithic X up to FC4, and modular X for FC5+ and non-Fedora
@@ -24,11 +24,11 @@
%prep
-%setup
+%setup -q
%build
-%configure
+%configure --datadir=%{_sysconfdir}
%{__make} %{?_smp_mflags}
@@ -36,7 +36,8 @@
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
# Clean this up, we package the exact same files cleanly in %%doc
-%{__rm} -rf %{buildroot}%{_datadir}/doc/bbkeys/
+# and it ends up in the wrong place with our override anyway
+%{__rm} -rf %{buildroot}%{_sysconfdir}/doc/
%clean
@@ -44,16 +45,25 @@
%files
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog LICENSE NEWS README TODO
+%dir %{_sysconfdir}/bbkeys/
+%config(noreplace) %{_sysconfdir}/bbkeys/bbkeysrc
+%config(noreplace) %{_sysconfdir}/bbkeys/defaultStyle
%{_bindir}/bbkeys
-%dir %{_datadir}/bbkeys/
-%config %{_datadir}/bbkeys/bbkeysrc
-%config %{_datadir}/bbkeys/defaultStyle
-%{_mandir}/man?/*
+%{_mandir}/man1/bbkeys.1*
+%{_mandir}/man5/bbkeysrc.5*
%changelog
+* Thu Mar 29 2007 Matthias Saou <http://freshrpms.net/> 0.9.0-6
+- Override _datadir as _sysconfdir to get config files in /etc.
+- Mark config files as noreplace.
+- Rebuild against new shared libbt from blackbox.
+- Switch to use downloads.sf.net source URL.
+- Tweak defattr, silence %%setup.
+- Escape macros in %%changelog.
+
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.9.0-5
- FC6 rebuild.
@@ -101,10 +111,10 @@
* Sun Aug 5 2001 Jason Kasper <vR at movingparts.net>
- added to file list for newly included files (docs and man pages)
-- install to %{prefix} instead of /usr
+- install to %%{prefix} instead of /usr
* Sun May 6 2001 Hollis Blanchard <hollis at terraplex.com>
-- removed file list in favor of explicit %files section
+- removed file list in favor of explicit %%files section
- install to /usr instead of /usr/local
- buildroot = /var/tmp/bbkeys-buildroot instead of /tmp/buildroot
More information about the fedora-extras-commits
mailing list