[packages/mp3splt] - move manpage linking to install-data-hook - rel 3

atler atler at pld-linux.org
Sun Mar 23 13:14:01 CET 2014


commit fc18ec467042f2f23db670719419b7d19d3f32be
Author: Jan Palus <jan.palus at gmail.com>
Date:   Sun Mar 23 12:56:56 2014 +0100

    - move manpage linking to install-data-hook
    - rel 3

 mp3splt-man_link.patch | 12 ++++++++++++
 mp3splt.spec           |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/mp3splt.spec b/mp3splt.spec
index 0966708..806750d 100644
--- a/mp3splt.spec
+++ b/mp3splt.spec
@@ -2,11 +2,12 @@ Summary:	Tool for spliting MP3, Ogg files to tracks
 Summary(pl.UTF-8):	Program do podziału plików MP3, Ogg na ścieżki
 Name:		mp3splt
 Version:	2.6
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/Multimedia
 Source0:	http://downloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz
 # Source0-md5:	3f149cd0c2842b95551130bd56840f55
+Patch0:		%{name}-man_link.patch
 URL:		http://mp3splt.sourceforge.net/
 BuildRequires:	autoconf >= 2.56
 BuildRequires:	automake
@@ -42,6 +43,7 @@ Program obsługuje MP3 z VBR.
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i -e 's/fr_FR/fr/;s/de_DE/de/' po/LINGUAS
 mv po/fr_FR.po po/fr.po
 mv po/de_DE.po po/de.po
diff --git a/mp3splt-man_link.patch b/mp3splt-man_link.patch
new file mode 100644
index 0000000..58b6ec8
--- /dev/null
+++ b/mp3splt-man_link.patch
@@ -0,0 +1,12 @@
+diff -urN mp3splt-2.6.orig/doc/Makefile.am mp3splt-2.6/doc/Makefile.am
+--- mp3splt-2.6.orig/doc/Makefile.am	2014-03-23 13:08:20.175003833 +0100
++++ mp3splt-2.6/doc/Makefile.am	2014-03-23 13:08:40.368337271 +0100
+@@ -1,7 +1,7 @@
+ EXTRA_DIST = mp3splt.1 manual.html
+ man_MANS = mp3splt.1
+ 
+-install-exec-hook:
++install-data-hook:
+ if DO_OGG_SYMLINK
+ 	-cd $(DESTDIR)/$(mandir)/man1 && $(LN_S) mp3splt.1 oggsplt.1
+ endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mp3splt.git/commitdiff/fc18ec467042f2f23db670719419b7d19d3f32be



More information about the pld-cvs-commit mailing list