SPECS: w32codec.spec - cleanup - only windows codecs here (use lin...
glen
glen at pld-linux.org
Mon Jan 15 22:14:26 CET 2007
Author: glen Date: Mon Jan 15 21:14:26 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleanup
- only windows codecs here (use linuxcodecs.spec for others)
- rel 2
---- Files affected:
SPECS:
w32codec.spec (1.89 -> 1.90)
---- Diffs:
================================================================
Index: SPECS/w32codec.spec
diff -u SPECS/w32codec.spec:1.89 SPECS/w32codec.spec:1.90
--- SPECS/w32codec.spec:1.89 Mon Jan 15 22:07:27 2007
+++ SPECS/w32codec.spec Mon Jan 15 22:14:21 2007
@@ -1,7 +1,4 @@
# $Revision$, $Date$
-# TODO:
-# ppc support
-#
# Conditional build:
%bcond_with license_agreement # generates package
%define source_url http://www.mplayerhq.hu/MPlayer/releases/codecs/
@@ -14,19 +11,13 @@
%else
Name: %{base_name}-installer
%endif
-%define _rel 1
+%define _rel 2
Version: 20061022
Release: %{_rel}%{?with_license_agreement:wla}
License: Free for non-commercial use
Group: Libraries
%if %{with license_agreement}
Source0: %{source_url}all-%{version}.tar.bz2
-#Source1: %{source_url}qt6dlls.tar.bz2
-#Source2: %{source_url}qtextras.tar.bz2
-#Source3: %{source_url}rp8codecs.tar.bz2
-#Source4: %{source_url}rp9codecs.tar.bz2
-#Source5: %{source_url}xanimdlls.tar.bz2
-#Source6: http://www.ezgoal.com/dll_files/tsd32.zip
BuildRequires: unzip
Provides: avi-codecs
Obsoletes: avi-codecs
@@ -54,20 +45,12 @@
%prep
%if %{with license_agreement}
%setup -q -n all-%{version}
-#bzcat %{SOURCE1} | tar xf -
-#bzcat %{SOURCE2} | tar xf -
-#bzcat %{SOURCE3} | tar xf -
-#bzcat %{SOURCE4} | tar xf -
-#bzcat %{SOURCE5} | tar xf -
-#unzip %{SOURCE6}
-#mv TSD32.DLL tsd32.dll
-#for f in */*; do mv $f .; done
%endif
%install
rm -rf $RPM_BUILD_ROOT
-%if !%{with license_agreement}
+%if %{without license_agreement}
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{base_name}}
sed -e '
@@ -84,9 +67,10 @@
install -d $RPM_BUILD_ROOT%{_libdir}/codecs
install *.* $RPM_BUILD_ROOT%{_libdir}/codecs
rm -f $RPM_BUILD_ROOT%{_libdir}/codecs/*_linuxELFx86c6.xa
+rm -f $RPM_BUILD_ROOT%{_libdir}/codecs/*.so*
%endif
-%if !%{with license_agreement}
+%if %{without license_agreement}
%post
%{_bindir}/%{base_name}.install
%endif
@@ -109,6 +93,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.90 2007/01/15 21:14:21 glen
+- cleanup
+- only windows codecs here (use linuxcodecs.spec for others)
+- rel 2
+
Revision 1.89 2007/01/15 21:07:27 glen
- use main url
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/w32codec.spec?r1=1.89&r2=1.90&f=u
More information about the pld-cvs-commit
mailing list