Patch for sawfish.spec.in

Allan Duncan <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <[email protected]>
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.patch (text/x-patch, 2.9 KB)
--- 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 <[email protected]> - 1.10-1
+- Update to 1.10
+
+* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 1.9.91-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sun May 12 2013 Kim B. Heino <[email protected]> - 1.9.91-1
+- Update to 1.9.91
+
+* Thu Feb 14 2013 Fedora Release Engineering <[email protected]> - 1.9.90-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jan 17 2013 Kim B. Heino <[email protected]> - 1.9.90-1
+- Update to 1.9.90
+
+* Sun Nov 11 2012 Kim B. Heino <[email protected]> - 1.9.1-1
+- Update to 1.9.1
+
+* Mon Aug 27 2012 Adam Jackson <[email protected]> 1.9.0-3
+- sawfish-1.9.0-no-pangox.patch: Adapt to pangox removal
+
+* Sat Jul 21 2012 Fedora Release Engineering <[email protected]> - 1.9.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jun 29 2012 Kim B. Heino <[email protected]> - 1.9.0-1
+- Update to 1.9.0
+- Cleanup spec file
+
+* Mon Mar 26 2012 Kim B. Heino <[email protected]> - 1.8.92-1
+- Update to 1.8.92
+
+* Sat Jan 14 2012 Fedora Release Engineering <[email protected]> - 1.8.91-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Nov  2 2011 Kim B. Heino <[email protected]> - 1.8.91-2
+- Rebuild
+
 * Sun Oct  9 2011 Kim B. Heino <[email protected]> - 1.8.91-1
 - Update to 1.8.91
 
@@ -133,10 +170,10 @@
 * Sat Sep 05 2009 Kim B. Heino <[email protected]>
 - add dist-tag, update files list
 
-* Sun Jan 18 2008 Christopher Bratusek <[email protected]>
+* Fri Jan 18 2008 Christopher Bratusek <[email protected]>
 - several fixups
 
-* Tue Jun 12 2000 John Harper <[email protected]>
+* Mon Jun 12 2000 John Harper <[email protected]>
 - merged differences from RH spec file
 
 * Mon Apr 24 2000 John Harper <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.