SPECS: gplflash2.spec - added link patch, some install hacks not n...

qboosh qboosh at pld-linux.org
Sat Jun 11 20:28:32 CEST 2005


Author: qboosh                       Date: Sat Jun 11 18:28:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added link patch, some install hacks not needed now

---- Files affected:
SPECS:
   gplflash2.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/gplflash2.spec
diff -u SPECS/gplflash2.spec:1.2 SPECS/gplflash2.spec:1.3
--- SPECS/gplflash2.spec:1.2	Sat Jun 11 18:19:06 2005
+++ SPECS/gplflash2.spec	Sat Jun 11 20:28:27 2005
@@ -9,6 +9,7 @@
 Group:		Libraries
 Source0:	%{name}-%{_snap}.tar.gz
 # Source0-md5:	2f307955c081689c294f664ff90313ee
+Patch0:		%{name}-link.patch
 URL:		http://gplflash.sourceforge.net/
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel >= 1.2.8
@@ -89,6 +90,7 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 sed -i -e 's#^noinst_LTLIBRARIES#lib_LTLIBRARIES#g' lib/Makefile.am
@@ -99,20 +101,16 @@
 %{__automake}
 %configure \
 	--with-plugin-dir=%{_libdir}/mozilla/plugins \
-	--enable-shared \
 	--enable-static
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_includedir}
-
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	PLUGIN_DIR=$RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
+	DESTDIR=$RPM_BUILD_ROOT
 
-install lib/swf.hh $RPM_BUILD_ROOT%{_includedir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -146,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/06/11 18:28:27  qboosh
+- added link patch, some install hacks not needed now
+
 Revision 1.2  2005/06/11 16:19:06  qboosh
 - sorted BRs, -devel deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gplflash2.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list