packages: w32codec/w32codec.spec - .install script executable; rel 3

glen glen at pld-linux.org
Mon Dec 7 09:25:44 CET 2009


Author: glen                         Date: Mon Dec  7 08:25:44 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- .install script executable; rel 3

---- Files affected:
packages/w32codec:
   w32codec.spec (1.100 -> 1.101) 

---- Diffs:

================================================================
Index: packages/w32codec/w32codec.spec
diff -u packages/w32codec/w32codec.spec:1.100 packages/w32codec/w32codec.spec:1.101
--- packages/w32codec/w32codec.spec:1.100	Wed Sep  3 10:41:23 2008
+++ packages/w32codec/w32codec.spec	Mon Dec  7 09:25:38 2009
@@ -5,8 +5,9 @@
 # Conditional build:
 %bcond_with	license_agreement	# generates package
 %define		source_url	http://www.mplayerhq.hu/MPlayer/releases/codecs
-#
+
 %define		base_name	w32codec
+%define		rel	3
 Summary:	Binary compression/decompression libraries used by movie players
 Summary(pl.UTF-8):	Binarne biblioteki do kompresji/dekompresji dla odtwarzaczy filmów
 %if %{with license_agreement}
@@ -14,9 +15,8 @@
 %else
 Name:		%{base_name}-installer
 %endif
-%define		_rel	2
 Version:	20071007
-Release:	%{_rel}%{?with_license_agreement:wla}
+Release:	%{rel}%{?with_license_agreement:wla}
 License:	Free for non-commercial use
 Group:		Libraries
 %if %{with license_agreement}
@@ -61,12 +61,13 @@
 	s- at RELEASE@-%{release}-g
 	s, at SPECFILE@,%{_datadir}/%{base_name}/%{base_name}.spec,g
 ' %{SOURCE0} > $RPM_BUILD_ROOT%{_bindir}/%{base_name}.install
+chmod +x $RPM_BUILD_ROOT%{_bindir}/%{base_name}.install
 
 install %{_specdir}/%{base_name}.spec $RPM_BUILD_ROOT%{_datadir}/%{base_name}
 
 %else
 install -d $RPM_BUILD_ROOT%{_libdir}/codecs
-install *.* $RPM_BUILD_ROOT%{_libdir}/codecs
+cp -a *.* $RPM_BUILD_ROOT%{_libdir}/codecs
 # these are in in linuxcodec.spec
 rm -f $RPM_BUILD_ROOT%{_libdir}/codecs/*.so*
 rm -f $RPM_BUILD_ROOT%{_libdir}/codecs/*.xa
@@ -95,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.101  2009/12/07 08:25:38  glen
+- .install script executable; rel 3
+
 Revision 1.100  2008/09/03 08:41:23  arvenil
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/w32codec/w32codec.spec?r1=1.100&r2=1.101&f=u



More information about the pld-cvs-commit mailing list