[packages/tk707] missing fix-info-dir

glen glen at pld-linux.org
Sun Mar 22 13:37:45 CET 2015


commit 8c1ef36816b409ad58a645d76617da6f742bd081
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 22 14:37:36 2015 +0200

    missing fix-info-dir

 tk707.spec | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/tk707.spec b/tk707.spec
index ea3e50e..3f92b53 100644
--- a/tk707.spec
+++ b/tk707.spec
@@ -1,8 +1,7 @@
 Summary:	Drum sequencer for a sound card or MIDI device
-#Summary(pl.UTF-8):	-
 Name:		tk707
 Version:	0.8
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/Multimedia
 Source0:	http://www-ljk.imag.fr/membres/Pierre.Saramito/tk707/download/%{name}-%{version}.tar.gz
@@ -32,11 +31,10 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This program emulates the operation of Roland's TR-707 Rhythm
 Composer.
 
-The output is to a MIDI device, sound card or file.
-A Latin-percussion instrument map emulates the Roland TR-727 and
-the instrument map can be customized by the user. If you do not
-have a MIDI sound card, you should install the timidity package
-to emulate one.
+The output is to a MIDI device, sound card or file. A Latin-percussion
+instrument map emulates the Roland TR-727 and the instrument map can
+be customized by the user. If you do not have a MIDI sound card, you
+should install the timidity package to emulate one.
 
 #%description -l pl.UTF-8
 
@@ -67,13 +65,19 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog INSTALL NEWS README TODO tk707.html tk707.pdf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tk707.git/commitdiff/8c1ef36816b409ad58a645d76617da6f742bd081



More information about the pld-cvs-commit mailing list