packages: libmikmod/libmikmod.spec, libmikmod/install-exec.patch (NEW) - fi...

glen glen at pld-linux.org
Sun Jul 10 18:14:56 CEST 2011


Author: glen                         Date: Sun Jul 10 16:14:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix library install. need to have executable bit set for rpm autodeps to work; rel 2

---- Files affected:
packages/libmikmod:
   libmikmod.spec (1.60 -> 1.61) , install-exec.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libmikmod/libmikmod.spec
diff -u packages/libmikmod/libmikmod.spec:1.60 packages/libmikmod/libmikmod.spec:1.61
--- packages/libmikmod/libmikmod.spec:1.60	Mon Oct 25 08:42:22 2010
+++ packages/libmikmod/libmikmod.spec	Sun Jul 10 18:14:50 2011
@@ -3,7 +3,7 @@
 # Conditional build:
 %bcond_with	alsa	# ALSA support; warning: SIGSEGV while using oss
 %bcond_with	esound	# EsounD support
-#
+
 Summary:	libmikmod - a portable sound library for Unix
 Summary(es.UTF-8):	Biblioteca de sonidos libmikmod
 Summary(fr.UTF-8):	Bibliothèque sonore libmikmod
@@ -13,13 +13,14 @@
 Summary(uk.UTF-8):	Звукова бібліотека libmikmod
 Name:		libmikmod
 Version:	3.1.12
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/mikmod/%{name}-%{version}.tar.gz
 # Source0-md5:	9f3c740298260d5f88981fc0d51f6f16
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-AC_LIBOBJ.patch
+Patch2:		install-exec.patch
 URL:		http://mikmod.raphnet.net/
 %{?with_alsa:BuildRequires:	alsa-lib-devel}
 BuildRequires:	audiofile-devel
@@ -141,6 +142,7 @@
 %setup -q
 %patch0 -p0
 %patch1 -p1
+%patch2 -p1
 
 %build
 #cp -f /usr/share/automake/{config.*,missing} .
@@ -157,10 +159,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/dir
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -199,6 +202,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2011/07/10 16:14:50  glen
+- fix library install. need to have executable bit set for rpm autodeps to work; rel 2
+
 Revision 1.60  2010/10/25 06:42:22  qboosh
 - updated to 3.1.12 (fixes XM endless loop)
 - disable esound by default

================================================================
Index: packages/libmikmod/install-exec.patch
diff -u /dev/null packages/libmikmod/install-exec.patch:1.1
--- /dev/null	Sun Jul 10 18:14:56 2011
+++ packages/libmikmod/install-exec.patch	Sun Jul 10 18:14:50 2011
@@ -0,0 +1,11 @@
+--- libmikmod-3.1.12/libmikmod/Makefile.in~	2011-07-10 19:03:26.000000000 +0300
++++ libmikmod-3.1.12/libmikmod/Makefile.in	2011-07-10 19:07:18.167133434 +0300
+@@ -51,7 +51,7 @@
+ 
+ install:	$(LIB)
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+-	$(LIBTOOL) --mode=install $(INSTALL) -m 644 $(LIB) $(DESTDIR)$(libdir)
++	$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(LIB) $(DESTDIR)$(libdir)
+ 
+ uninstall:	$(LIB)
+ 	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIB)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libmikmod/libmikmod.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list