[Sawfish] Patch for sawfish.spec.in

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


I found when I went to compile sawfish from the current github files that I needed to run a couple of tools before I could use rpmbuild. In the process I found that the sawfish.spec file that appears in the Fedora 20 rpm package is a tweaked version of the one on github and also has a more complete changelog. This patch updates sawfish.spec.in to match the Fedora one, plus a couple of tweaks for inserting News and running autogen.sh

--- sawfish.spec.in.orig	2013-09-26 04:50:08.000000000 +1000
+++ sawfish.spec.in	2014-04-22 20:07:49.669406849 +1000
@@ -49,12 +49,12 @@
 %setup -q
 
 %build
+/bin/sh autogen.sh --nocfg
+/usr/bin/makeinfo --no-validate --no-headers man/news.texi >NEWS
 %configure
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make install DESTDIR=%{buildroot}
 %find_lang %{name}
 gzip -9nf %{buildroot}%{_infodir}/sawfish*
@@ -77,12 +77,8 @@
     /sbin/install-info --delete %{_infodir}/sawfish.info.gz %{_infodir}/dir
 fi
 
-%clean
-rm -rf %{buildroot}
-
 %files -f %{name}.lang
-%doc COPYING COPYING.SOUNDS doc/FAQ doc/KEYBINDINGS NEWS doc/OPTIONS
-%doc README README.IMPORTANT TODO doc/USERDOC doc/AUTOSTART doc/XSettings
+%doc COPYING COPYING.SOUNDS README README.IMPORTANT NEWS doc/*
 %dir %{_kde4_appsdir}/ksmserver
 %dir %{_kde4_appsdir}/ksmserver/windowmanagers
 %{_bindir}/*
@@ -106,6 +102,47 @@
 # This is sawfish GUI configurator, not devel config script.
 
 %changelog
+* Tue Apr 22 2014 Allan Duncan
+- Shamelessly copied sawfish.spec from Fedora's distro and made a sawfish.spec.in
+- Altered to run autorun.sh and makeinfo for NEWS for the git version
+
+* Thu Sep 26 2013 Kim B. Heino <b@xxxxxxxx> - 1.10-1
+- Update to 1.10
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.9.91-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sun May 12 2013 Kim B. Heino <b@xxxxxxxx> - 1.9.91-1
+- Update to 1.9.91
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.9.90-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jan 17 2013 Kim B. Heino <b@xxxxxxxx> - 1.9.90-1
+- Update to 1.9.90
+
+* Sun Nov 11 2012 Kim B. Heino <b@xxxxxxxx> - 1.9.1-1
+- Update to 1.9.1
+
+* Mon Aug 27 2012 Adam Jackson <ajax@xxxxxxxxxx> 1.9.0-3
+- sawfish-1.9.0-no-pangox.patch: Adapt to pangox removal
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.9.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jun 29 2012 Kim B. Heino <b@xxxxxxxx> - 1.9.0-1
+- Update to 1.9.0
+- Cleanup spec file
+
+* Mon Mar 26 2012 Kim B. Heino <b@xxxxxxxx> - 1.8.92-1
+- Update to 1.8.92
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.8.91-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Nov  2 2011 Kim B. Heino <b@xxxxxxxx> - 1.8.91-2
+- Rebuild
+
 * Sun Oct  9 2011 Kim B. Heino <b@xxxxxxxx> - 1.8.91-1
 - Update to 1.8.91
 
@@ -133,10 +170,10 @@
 * Sat Sep 05 2009 Kim B. Heino <b@xxxxxxxx>
 - add dist-tag, update files list
 
-* Sun Jan 18 2008 Christopher Bratusek <zanghar@xxxxxxxxxx>
+* Fri Jan 18 2008 Christopher Bratusek <zanghar@xxxxxxxxxx>
 - several fixups
 
-* Tue Jun 12 2000 John Harper <john@xxxxxxxxxxxxxxxxx>
+* Mon Jun 12 2000 John Harper <john@xxxxxxxxxxxxxxxxx>
 - merged differences from RH spec file
 
 * Mon Apr 24 2000 John Harper <john@xxxxxxxxxxxxxxxxx>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/