head	1.169;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.161
	OPENPKG_E1_MP:1.161
	OPENPKG_E1_MP_2_STABLE:1.158.2.2
	OPENPKG_E1_FP:1.158.2.2
	OPENPKG_2_STABLE_MP:1.158
	OPENPKG_2_STABLE_20061018:1.158.2.2
	OPENPKG_2_STABLE:1.158.0.2
	OPENPKG_CW_FP:1.114
	OPENPKG_1_STABLE_MP:1.15;
locks; strict;
comment	@-- @;


1.169
date	2009.04.18.13.12.59;	author rse;	state Exp;
branches;
next	1.168;
commitid	4pHXU27WTIGCZuKt;

1.168
date	2008.01.01.14.59.10;	author rse;	state Exp;
branches;
next	1.167;
commitid	B8esaHJHoduuKILs;

1.167
date	2007.08.07.14.48.20;	author cs;	state Exp;
branches;
next	1.166;
commitid	m61yylrByZDewPss;

1.166
date	2007.08.03.14.44.33;	author cs;	state Exp;
branches;
next	1.165;
commitid	CN2InecUeSqVCjss;

1.165
date	2007.07.25.14.52.42;	author cs;	state Exp;
branches;
next	1.164;
commitid	O76ZYpq04jOEX9rs;

1.164
date	2007.07.10.14.38.10;	author cs;	state Exp;
branches;
next	1.163;
commitid	vwE6EzJsZztymeps;

1.163
date	2007.01.25.07.38.51;	author cs;	state Exp;
branches;
next	1.162;
commitid	RZG48TCvLLZwnR3s;

1.162
date	2007.01.12.16.17.19;	author cs;	state Exp;
branches;
next	1.161;
commitid	EfZioWVwwjRiFe2s;

1.161
date	2007.01.01.17.39.56;	author rse;	state Exp;
branches;
next	1.160;
commitid	BicZD6VUl7GuqP0s;

1.160
date	2006.12.23.15.22.19;	author cs;	state Exp;
branches;
next	1.159;
commitid	0oh5TQbDhOoi0FZr;

1.159
date	2006.10.18.16.54.36;	author cs;	state Exp;
branches;
next	1.158;
commitid	d7f4xETRF8euDbRr;

1.158
date	2006.10.15.14.50.45;	author rse;	state Exp;
branches
	1.158.2.1;
next	1.157;
commitid	Q7voAK5JHn5Z2NQr;

1.157
date	2006.10.14.07.42.57;	author rse;	state Exp;
branches;
next	1.156;
commitid	wRJVcitu0XPcICQr;

1.156
date	2006.10.13.17.30.18;	author thl;	state Exp;
branches;
next	1.155;
commitid	q5GSxzsSDX29XxQr;

1.155
date	2006.10.08.08.53.30;	author rse;	state Exp;
branches;
next	1.154;
commitid	TKKaNSDuHFSmiRPr;

1.154
date	2006.10.05.19.59.07;	author rse;	state Exp;
branches;
next	1.153;
commitid	Xxvz44RJ9MeH4xPr;

1.153
date	2006.09.21.05.55.09;	author rse;	state Exp;
branches;
next	1.152;
commitid	mXUYYUsrhM14RENr;

1.152
date	2006.09.18.14.48.39;	author cs;	state Exp;
branches;
next	1.151;
commitid	4qCtEKSYcgl4UjNr;

1.151
date	2006.09.12.15.02.24;	author cs;	state Exp;
branches;
next	1.150;
commitid	svMLsMAKXnBJayMr;

1.150
date	2006.09.09.16.34.30;	author cs;	state Exp;
branches;
next	1.149;
commitid	kWPETvIu3dDjMaMr;

1.149
date	2006.09.09.07.47.50;	author rse;	state Exp;
branches;
next	1.148;
commitid	2cQpLdoldCmDR7Mr;

1.148
date	2006.09.07.14.38.39;	author cs;	state Exp;
branches;
next	1.147;
commitid	xOShZ7hLXelycULr;

1.147
date	2006.08.27.10.30.55;	author rse;	state Exp;
branches;
next	1.146;
commitid	U4YJuF3fSTEtbtKr;

1.146
date	2006.07.02.12.13.10;	author thl;	state Exp;
branches;
next	1.145;
commitid	Aad6qWV4KBrayhDr;

1.145
date	2006.06.27.20.48.53;	author rse;	state Exp;
branches;
next	1.144;
commitid	IbBPfZ0d63C3zGCr;

1.144
date	2006.06.08.18.24.30;	author rse;	state Exp;
branches;
next	1.143;
commitid	2MsHdhFpyx7oneAr;

1.143
date	2006.04.12.18.53.37;	author rse;	state Exp;
branches;
next	1.142;
commitid	zr8rYLL2KPhYmUsr;

1.142
date	2006.03.15.20.31.26;	author rse;	state Exp;
branches;
next	1.141;
commitid	Er2lcpGFAYGkOjpr;

1.141
date	2006.03.09.18.46.09;	author rse;	state Exp;
branches;
next	1.140;
commitid	wSYfZADpEZuaqxor;

1.140
date	2006.01.01.13.16.57;	author rse;	state Exp;
branches;
next	1.139;
commitid	otZG8yKMCw1JFTfr;

1.139
date	2005.10.06.06.33.45;	author rse;	state Exp;
branches;
next	1.138;

1.138
date	2005.09.24.21.02.21;	author rse;	state Exp;
branches;
next	1.137;

1.137
date	2005.09.21.18.10.48;	author rse;	state Exp;
branches;
next	1.136;

1.136
date	2005.09.10.12.45.45;	author rse;	state Exp;
branches;
next	1.135;

1.135
date	2005.09.08.19.22.12;	author rse;	state Exp;
branches;
next	1.134;

1.134
date	2005.08.27.07.38.31;	author rse;	state Exp;
branches;
next	1.133;

1.133
date	2005.08.24.18.50.10;	author rse;	state Exp;
branches;
next	1.132;

1.132
date	2005.08.14.19.47.42;	author rse;	state Exp;
branches;
next	1.131;

1.131
date	2005.07.19.08.11.26;	author rse;	state Exp;
branches;
next	1.130;

1.130
date	2005.05.26.18.12.34;	author rse;	state Exp;
branches;
next	1.129;

1.129
date	2005.05.25.16.36.45;	author rse;	state Exp;
branches;
next	1.128;

1.128
date	2005.05.12.18.19.02;	author rse;	state Exp;
branches;
next	1.127;

1.127
date	2005.05.11.18.25.35;	author rse;	state Exp;
branches;
next	1.126;

1.126
date	2005.05.07.07.10.43;	author rse;	state Exp;
branches;
next	1.125;

1.125
date	2005.05.02.07.28.55;	author ms;	state Exp;
branches;
next	1.124;

1.124
date	2005.04.29.06.47.55;	author rse;	state Exp;
branches;
next	1.123;

1.123
date	2005.04.23.17.54.10;	author rse;	state Exp;
branches;
next	1.122;

1.122
date	2005.04.20.18.02.24;	author rse;	state Exp;
branches;
next	1.121;

1.121
date	2005.04.17.18.03.10;	author rse;	state Exp;
branches;
next	1.120;

1.120
date	2005.04.13.18.02.59;	author rse;	state Exp;
branches;
next	1.119;

1.119
date	2005.04.08.06.22.46;	author rse;	state Exp;
branches;
next	1.118;

1.118
date	2005.04.01.06.17.40;	author rse;	state Exp;
branches;
next	1.117;

1.117
date	2005.03.31.08.07.09;	author rse;	state Exp;
branches;
next	1.116;

1.116
date	2005.03.28.17.58.15;	author rse;	state Exp;
branches;
next	1.115;

1.115
date	2005.03.24.11.19.32;	author rse;	state Exp;
branches;
next	1.114;

1.114
date	2005.03.24.07.53.53;	author rse;	state Exp;
branches;
next	1.113;

1.113
date	2005.03.12.06.50.49;	author rse;	state Exp;
branches;
next	1.112;

1.112
date	2005.03.07.18.13.46;	author rse;	state Exp;
branches;
next	1.111;

1.111
date	2005.03.05.19.34.46;	author rse;	state Exp;
branches;
next	1.110;

1.110
date	2005.02.28.20.21.29;	author rse;	state Exp;
branches;
next	1.109;

1.109
date	2005.02.25.18.28.08;	author rse;	state Exp;
branches;
next	1.108;

1.108
date	2005.02.16.19.07.27;	author rse;	state Exp;
branches;
next	1.107;

1.107
date	2005.02.09.20.24.53;	author rse;	state Exp;
branches;
next	1.106;

1.106
date	2005.02.08.19.11.19;	author rse;	state Exp;
branches;
next	1.105;

1.105
date	2005.02.01.06.39.13;	author rse;	state Exp;
branches;
next	1.104;

1.104
date	2005.01.29.09.56.16;	author rse;	state Exp;
branches;
next	1.103;

1.103
date	2005.01.24.07.20.36;	author rse;	state Exp;
branches;
next	1.102;

1.102
date	2005.01.20.18.49.55;	author ms;	state Exp;
branches;
next	1.101;

1.101
date	2005.01.14.08.41.59;	author cs;	state Exp;
branches;
next	1.100;

1.100
date	2005.01.08.09.17.46;	author rse;	state Exp;
branches;
next	1.99;

1.99
date	2005.01.01.10.52.37;	author rse;	state Exp;
branches;
next	1.98;

1.98
date	2004.12.29.19.09.51;	author rse;	state Exp;
branches;
next	1.97;

1.97
date	2004.12.24.18.35.09;	author rse;	state Exp;
branches;
next	1.96;

1.96
date	2004.12.23.18.39.35;	author rse;	state Exp;
branches;
next	1.95;

1.95
date	2004.12.17.08.09.03;	author rse;	state Exp;
branches;
next	1.94;

1.94
date	2004.12.10.07.33.37;	author rse;	state Exp;
branches;
next	1.93;

1.93
date	2004.12.08.08.34.47;	author rse;	state Exp;
branches;
next	1.92;

1.92
date	2004.12.07.09.15.21;	author rse;	state Exp;
branches;
next	1.91;

1.91
date	2004.11.30.19.30.58;	author rse;	state Exp;
branches;
next	1.90;

1.90
date	2004.11.30.08.40.26;	author rse;	state Exp;
branches;
next	1.89;

1.89
date	2004.11.16.10.15.17;	author rse;	state Exp;
branches;
next	1.88;

1.88
date	2004.11.09.19.23.59;	author rse;	state Exp;
branches;
next	1.87;

1.87
date	2004.11.07.11.16.47;	author rse;	state Exp;
branches;
next	1.86;

1.86
date	2004.10.27.09.15.42;	author tho;	state Exp;
branches;
next	1.85;

1.85
date	2004.09.20.16.17.30;	author rse;	state Exp;
branches;
next	1.84;

1.84
date	2004.09.20.13.16.15;	author rse;	state Exp;
branches;
next	1.83;

1.83
date	2004.09.11.11.51.05;	author rse;	state Exp;
branches;
next	1.82;

1.82
date	2004.07.27.13.12.20;	author rse;	state Exp;
branches;
next	1.81;

1.81
date	2004.07.27.07.38.14;	author tho;	state Exp;
branches;
next	1.80;

1.80
date	2004.06.02.19.06.10;	author rse;	state Exp;
branches;
next	1.79;

1.79
date	2004.05.26.07.30.37;	author tho;	state Exp;
branches;
next	1.78;

1.78
date	2004.05.18.08.08.07;	author rse;	state Exp;
branches;
next	1.77;

1.77
date	2004.03.31.10.28.24;	author ms;	state Exp;
branches;
next	1.76;

1.76
date	2004.02.20.19.26.48;	author rse;	state Exp;
branches;
next	1.75;

1.75
date	2004.02.19.19.22.46;	author rse;	state Exp;
branches;
next	1.74;

1.74
date	2004.02.13.19.46.47;	author rse;	state Exp;
branches;
next	1.73;

1.73
date	2004.02.09.19.54.23;	author rse;	state Exp;
branches;
next	1.72;

1.72
date	2004.02.06.08.20.32;	author rse;	state Exp;
branches;
next	1.71;

1.71
date	2004.02.05.22.31.07;	author thl;	state Exp;
branches;
next	1.70;

1.70
date	2004.02.04.19.54.26;	author rse;	state Exp;
branches;
next	1.69;

1.69
date	2004.02.03.20.04.01;	author rse;	state Exp;
branches;
next	1.68;

1.68
date	2004.01.28.20.16.13;	author rse;	state Exp;
branches;
next	1.67;

1.67
date	2004.01.28.08.48.42;	author rse;	state Exp;
branches;
next	1.66;

1.66
date	2004.01.24.20.22.11;	author rse;	state Exp;
branches;
next	1.65;

1.65
date	2004.01.24.19.03.13;	author rse;	state Exp;
branches;
next	1.64;

1.64
date	2004.01.24.09.19.33;	author rse;	state Exp;
branches;
next	1.63;

1.63
date	2004.01.23.13.11.19;	author rse;	state Exp;
branches;
next	1.62;

1.62
date	2004.01.23.10.31.56;	author thl;	state Exp;
branches;
next	1.61;

1.61
date	2004.01.21.20.13.07;	author rse;	state Exp;
branches;
next	1.60;

1.60
date	2004.01.20.11.29.50;	author ms;	state Exp;
branches;
next	1.59;

1.59
date	2004.01.11.11.40.10;	author rse;	state Exp;
branches;
next	1.58;

1.58
date	2004.01.09.19.59.38;	author rse;	state Exp;
branches;
next	1.57;

1.57
date	2004.01.07.08.33.22;	author thl;	state Exp;
branches;
next	1.56;

1.56
date	2003.12.27.19.09.18;	author rse;	state Exp;
branches;
next	1.55;

1.55
date	2003.12.20.12.31.21;	author rse;	state Exp;
branches;
next	1.54;

1.54
date	2003.12.19.10.52.25;	author rse;	state Exp;
branches;
next	1.53;

1.53
date	2003.12.16.08.39.03;	author rse;	state Exp;
branches;
next	1.52;

1.52
date	2003.12.10.19.31.36;	author rse;	state Exp;
branches;
next	1.51;

1.51
date	2003.12.02.15.54.43;	author ms;	state Exp;
branches;
next	1.50;

1.50
date	2003.11.26.09.11.44;	author thl;	state Exp;
branches;
next	1.49;

1.49
date	2003.11.22.08.59.33;	author rse;	state Exp;
branches;
next	1.48;

1.48
date	2003.11.19.09.04.09;	author thl;	state Exp;
branches;
next	1.47;

1.47
date	2003.11.16.19.16.46;	author rse;	state Exp;
branches;
next	1.46;

1.46
date	2003.11.14.08.37.58;	author rse;	state Exp;
branches;
next	1.45;

1.45
date	2003.11.12.20.13.20;	author rse;	state Exp;
branches;
next	1.44;

1.44
date	2003.11.06.19.39.20;	author rse;	state Exp;
branches;
next	1.43;

1.43
date	2003.10.31.08.34.24;	author rse;	state Exp;
branches;
next	1.42;

1.42
date	2003.10.30.17.08.38;	author cs;	state Exp;
branches;
next	1.41;

1.41
date	2003.10.27.14.53.48;	author rse;	state Exp;
branches;
next	1.40;

1.40
date	2003.10.25.19.24.29;	author rse;	state Exp;
branches;
next	1.39;

1.39
date	2003.10.08.17.54.18;	author ms;	state Exp;
branches;
next	1.38;

1.38
date	2003.10.07.18.50.20;	author rse;	state Exp;
branches;
next	1.37;

1.37
date	2003.10.05.18.37.23;	author rse;	state Exp;
branches;
next	1.36;

1.36
date	2003.10.05.11.15.37;	author rse;	state Exp;
branches;
next	1.35;

1.35
date	2003.10.04.18.18.31;	author rse;	state Exp;
branches;
next	1.34;

1.34
date	2003.10.01.11.03.02;	author ms;	state Exp;
branches;
next	1.33;

1.33
date	2003.09.26.07.31.53;	author rse;	state Exp;
branches;
next	1.32;

1.32
date	2003.09.19.14.28.31;	author ms;	state Exp;
branches;
next	1.31;

1.31
date	2003.09.19.08.35.03;	author rse;	state Exp;
branches;
next	1.30;

1.30
date	2003.09.18.15.45.13;	author rse;	state Exp;
branches;
next	1.29;

1.29
date	2003.09.17.07.42.57;	author ms;	state Exp;
branches;
next	1.28;

1.28
date	2003.09.12.08.31.20;	author rse;	state Exp;
branches;
next	1.27;

1.27
date	2003.09.08.13.11.35;	author ms;	state Exp;
branches;
next	1.26;

1.26
date	2003.09.06.15.41.33;	author ms;	state Exp;
branches;
next	1.25;

1.25
date	2003.09.05.18.00.54;	author rse;	state Exp;
branches;
next	1.24;

1.24
date	2003.09.03.13.01.22;	author ms;	state Exp;
branches;
next	1.23;

1.23
date	2003.09.02.17.57.11;	author ms;	state Exp;
branches;
next	1.22;

1.22
date	2003.09.02.12.57.13;	author ms;	state Exp;
branches;
next	1.21;

1.21
date	2003.09.02.08.43.00;	author ms;	state Exp;
branches;
next	1.20;

1.20
date	2003.08.30.12.48.01;	author rse;	state Exp;
branches;
next	1.19;

1.19
date	2003.08.14.12.13.14;	author ms;	state Exp;
branches;
next	1.18;

1.18
date	2003.08.13.16.19.30;	author ms;	state Exp;
branches;
next	1.17;

1.17
date	2003.08.13.11.35.30;	author rse;	state Exp;
branches;
next	1.16;

1.16
date	2003.08.11.09.38.47;	author rse;	state Exp;
branches;
next	1.15;

1.15
date	2003.07.23.13.32.05;	author rse;	state Exp;
branches;
next	1.14;

1.14
date	2003.07.08.14.41.02;	author rse;	state Exp;
branches;
next	1.13;

1.13
date	2003.07.07.11.37.38;	author mlelstv;	state Exp;
branches;
next	1.12;

1.12
date	2003.05.12.15.20.46;	author ms;	state Exp;
branches;
next	1.11;

1.11
date	2003.05.10.07.32.45;	author rse;	state Exp;
branches;
next	1.10;

1.10
date	2003.05.09.21.38.05;	author ms;	state Exp;
branches;
next	1.9;

1.9
date	2003.05.09.13.43.46;	author rse;	state Exp;
branches;
next	1.8;

1.8
date	2003.05.09.11.09.16;	author ms;	state Exp;
branches;
next	1.7;

1.7
date	2003.05.09.10.51.02;	author rse;	state Exp;
branches;
next	1.6;

1.6
date	2003.05.09.08.52.46;	author ms;	state Exp;
branches;
next	1.5;

1.5
date	2003.05.09.08.30.40;	author ms;	state Exp;
branches;
next	1.4;

1.4
date	2003.05.08.18.12.28;	author cs;	state Exp;
branches;
next	1.3;

1.3
date	2003.05.08.17.33.54;	author cs;	state Exp;
branches;
next	1.2;

1.2
date	2003.05.08.15.24.48;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2003.05.08.15.23.29;	author ms;	state Exp;
branches;
next	;

1.158.2.1
date	2006.10.15.14.50.45;	author rse;	state dead;
branches;
next	1.158.2.2;
commitid	iZxwRSmmWscPXUQr;

1.158.2.2
date	2006.10.16.14.53.00;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.169
log
@bump years in copyright messages
@
text
@##
##  mplayer.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package versions
%define       V_mplayer          1.0pre8
%define       V_codecs_essential 20061022
%define       V_codecs_quicktime 20040704
%define       V_skin_blue        1.7
%define       V_skin_dvdplayer   1.1
%define       V_skin_industrial  1.0
%define       V_skin_osxbrushed  2.3
%define       V_skin_orange      1.3
%define       V_skin_powerplayer 1.1
%define       V_skin_proton      1.2
%define       V_extension_live   2007.08.03a

#   package information
Name:         mplayer
Summary:      Multimedia Player
URL:          http://www.mplayerhq.hu/
Vendor:       Árpád Gereöffy et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Video
License:      GPL and others
Version:      %{V_mplayer}
Release:      20080101

#   build options
%option       with_gui    yes
%option       with_win32  yes

#   list of sources
Source0:      ftp://ftp2.mplayerhq.hu/MPlayer/releases/MPlayer-%{V_mplayer}.tar.bz2
Source1:      ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/windows-essential-%{V_codecs_essential}.zip
Source2:      ftp://ftp2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
Source3:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/Blue-%{V_skin_blue}.tar.bz2
Source4:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/DVDPlayer-%{V_skin_dvdplayer}.tar.bz2
Source5:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/Industrial-%{V_skin_industrial}.tar.bz2
Source6:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/OSX-Brushed-%{V_skin_osxbrushed}.tar.bz2
Source7:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/Orange-%{V_skin_orange}.tar.bz2
Source8:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/PowerPlayer-%{V_skin_powerplayer}.tar.bz2
Source9:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/proton-%{V_skin_proton}.tar.bz2
Source10:     http://www.live555.com/liveMedia/public/live.%{V_extension_live}.tar.gz
Patch0:       mplayer.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, X11, gcc3, make, sed
PreReq:       OpenPKG, openpkg >= 20040130, X11
BuildPreReq:  zlib, libiconv, sdl, freetype, jpeg, png
PreReq:       zlib, libiconv, sdl, freetype, jpeg, png
BuildPreReq:  lame, vorbis-libs, lzo, libsmbclient, aalib
PreReq:       lame, vorbis-libs, lzo, libsmbclient, aalib
%if "%{with_gui}" == "yes"
BuildPreReq:  glib, gtk
PreReq:       glib, gtk
%endif
AutoReq:      no
AutoReqProv:  no

%description
    This is the Unix movie player. MPlayer can play most standard
    video formats out of the box and almost all others with the help
    of external codecs. MPlayer works best from the command line, but
    visual feedback for many functions is available from its onscreen
    status display (OSD), which is also used for displaying subtitles.

%track
    prog mplayer = {
        version   = %{V_mplayer}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/releases/
        regex     = MPlayer-(__VER__)\.tar\.bz2
    }
    prog mplayer:codecs_essential = {
        version   = %{V_codecs_essential}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/
        regex     = windows-essential-(__VER__)\.zip
    }
    prog mplayer:skin_blue = {
        version   = %{V_skin_blue}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = Blue-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_dvdplayer = {
        version   = %{V_skin_dvdplayer}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = DVDPlayer-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_industrial = {
        version   = %{V_skin_industrial}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = Industrial-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_osxbrushed = {
        version   = %{V_skin_osxbrushed}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = OSX-Brushed-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_orange = {
        version   = %{V_skin_orange}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = Orange-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_powerplayer = {
        version   = %{V_skin_powerplayer}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = PowerPlayer-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_proton = {
        version   = %{V_skin_proton}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = proton-(__VER__)\.tar\.bz2
    }
    prog mplayer:extension_live = {
        version   = %{V_extension_live}
        url       = http://www.live555.com/liveMedia/public/
        regex     = live\.(200\d\.\d+\.\d+[a-z]?)\.tar\.gz
    }

%prep
    %setup -q -n MPlayer-%{V_mplayer}
    %setup -q -n MPlayer-%{V_mplayer} -T -D -a 10
    %patch -p0
    %{l_shtool} subst \
        -e 's; *-I/usr/local/include/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; */usr/local/include/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; *-L/usr/local/lib/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; */usr/local/lib/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; */usr/local/*[a-zA-Z0-9{},/ ]*;;g' \
        configure
    %{l_shtool} subst \
        -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
        drivers/radeon/radeonfb.c \
        loader/module.c \
        loader/wrapper.h \
        libmpdvdkit2/bsdi_ioctl.c \
        libdha/sysdep/AsmMacros_alpha.h \
        live/groupsock/*.cpp \
        live/groupsock/include/*.h \
        live/groupsock/include/*.hh \
        live/liveMedia/*.cpp \
        live/liveMedia/*.hh \
        live/liveMedia/include/*.hh

%build
    #   translate target names into qmake system types
    case "%{l_platform -t}" in
        *-sunos*   ) host=solaris ;;
        *-linux*   ) host=linux   ;;
        *-freebsd* ) host=freebsd ;;
        *          ) host=`uname | tr A-Z a-z` ;;
    esac

    #   build live streaming libs first
    ( cd live
      ./genMakefiles $host
      %{l_make} %{l_mflags}
    ) || exit $?

    #   configure programs
    CC="%{l_prefix}/bin/gcc3" \
    CXX="%{l_prefix}/bin/g++3" \
    CFLAGS="%{l_cflags -O}" \
    CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
    CPPFLAGS="%{l_cppflags lzo .}" \
    LDFLAGS="%{l_ldflags}" \
    _ld_aa=`%{l_prefix}/bin/aalib-config --libs` \
    ./configure </dev/null \
        --prefix=%{l_prefix} \
        --confdir=%{l_prefix}/etc/mplayer/ \
        --with-codecsdir=%{l_prefix}/libexec/mplayer/codecs/ \
%if "%{with_gui}" == "yes"
        --enable-gui \
        --with-glib-config=%{l_prefix}/bin/glib-config \
        --with-gtk-config=%{l_prefix}/bin/gtk-config \
%else
        --disable-gui \
%endif
%if "%{with_win32}" == "yes"
        --with-win32libdir=%{l_prefix}/libexec/mplayer/codecs/win32 \
        --enable-win32 \
        --enable-qtx \
%else
        --disable-win32 \
%endif
        --disable-libavcodec \
        --disable-libavformat \
        --disable-gcc-checking \
        --enable-largefiles \
        --enable-live \
        --with-livelibdir=`pwd`/live \
        --enable-xvid \
        --enable-freetype \
        --enable-vorbis \
        --enable-menu \
        --enable-jpeg \
        --enable-png \
        --enable-sdl \
        --enable-liblzo \
        --enable-x11 \
        --enable-smb \
        --enable-aa \
        --with-x11incdir=`%{l_rc} --query x11_incdir` \
        --with-x11libdir=`%{l_rc} --query x11_libdir` \
        --with-extraincdir=%{l_prefix}/include/:%{l_prefix}/include/lzo \
        --with-extralibdir=%{l_prefix}/lib/ \
        --with-sdl-config=%{l_prefix}/bin/sdl-config \
        --with-freetype-config=%{l_prefix}/bin/freetype-config \
        --disable-lirc \
        --disable-lircc

    #   fix sloppy library defs for selected platforms
    ARCH_LIB=`grep '^ARCH_LIB' config.mak | \
        sed -e 's;^ARCH_LIB[ \t]*=[ \t]*\(.*\);\1;'`
    case "%{l_platform -t}" in
        *-sunos* )
            if echo $ARCH_LIB | grep '\-pthread[^s]'; then
                ARCH_LIB=`grep '^ARCH_LIB' config.mak | \
                    sed -e 's;^ARCH_LIB[ \t]*=[ \t]*\(.*\)-pthread[^s]\(.*\);\1 -pthreads \2 -ldl -lrt;'`
            fi
            ;;
    esac

    #   temporary hack to fool faad dependencies
    %{l_shtool} subst \
        -e 's;#define FAADVERSION[ \t]*$;#define FAADVERSION 20;g' \
        config.h

    #   build programs
    %{l_make} %{l_mflags}

%install
    rm -rf $RPM_BUILD_ROOT

    #   create installation tree
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/bin \
        $RPM_BUILD_ROOT%{l_prefix}/etc/mplayer \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
%if "%{with_gui}" == "yes"
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/Skin \
%endif
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/font \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/codecs

    #   install binaries
    %{l_shtool} install -s -c -m 755 \
        mplayer \
        mencoder \
        $RPM_BUILD_ROOT%{l_prefix}/bin/
%if "%{with_gui}" == "yes"
    %{l_shtool} mkln -s -f \
        $RPM_BUILD_ROOT%{l_prefix}/bin/mplayer \
        $RPM_BUILD_ROOT%{l_prefix}/bin/gmplayer
%endif

    #   install manpages
    %{l_shtool} install -c -m 644 \
        DOCS/man/en/mplayer.1 \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1/
    %{l_shtool} mkln -s -f \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1/mplayer.1 \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1/mencoder.1

    #   install configuration files
    %{l_shtool} install -c -m 644 \
        -e 's;^\([a-z]\);# \1;' \
        etc/example.conf \
        $RPM_BUILD_ROOT%{l_prefix}/etc/mplayer/mplayer.conf
    %{l_shtool} install -c -m 644 \
        etc/codecs.conf etc/input.conf etc/menu.conf \
        $RPM_BUILD_ROOT%{l_prefix}/etc/mplayer/

%if "%{with_gui}" == "yes"
    #   install a default skin and several others
    ( cd $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/Skin
      %{l_bzip2} -dc %{SOURCE Blue-%{V_skin_blue}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE DVDPlayer-%{V_skin_dvdplayer}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE Industrial-%{V_skin_industrial}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE OSX-Brushed-%{V_skin_osxbrushed}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE Orange-%{V_skin_orange}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE PowerPlayer-%{V_skin_powerplayer}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE proton-%{V_skin_proton}.tar.bz2} | %{l_tar} -xvf -
      %{l_shtool} mkln -s -f Blue default
    ) || exit $?
%endif

    #   install fonts for OSD and subtitles
    %{l_bzip2} -dc %{SOURCE font-arial-iso-8859-1.tar.bz2} | %{l_tar} -xvf -
    cp font-arial-iso-8859-1/font-arial-24-iso-8859-1/* \
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/font/

%if "%{with_win32}" == "yes"
    #   install win32 and quicktime codecs
    ( %{l_shtool} mkdir -p -m 755 \
          $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/codecs
      cd $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/codecs
      %{l_prefix}/bin/unzip -x %{SOURCE windows-essential-%{V_codecs_essential}.zip}
      mv windows-essential-%{V_codecs_essential} win32
    ) || exit $?
%endif

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
        '%config %{l_prefix}/etc/mplayer/*'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.168
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.167
log
@modifying package: mplayer-1.0pre8 20070803 -> 20070807
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d48 1
a48 1
Release:      20070807
@


1.166
log
@modifying package: mplayer-1.0pre8 20070725 -> 20070803
@
text
@d36 1
a36 1
%define       V_extension_live   2007.08.03
d49 1
a49 1
Release:      20070803
@


1.165
log
@modifying package: mplayer-1.0pre8 20070710 -> 20070725
@
text
@d36 1
a36 1
%define       V_extension_live   2007.07.25
d49 1
a49 1
Release:      20070725
@


1.164
log
@modifying package: mplayer-1.0pre8 20070125 -> 20070710
@
text
@d36 1
a36 1
%define       V_extension_live   2007.07.10
d49 1
a49 1
Release:      20070710
@


1.163
log
@modifying package: mplayer-1.0pre8 20070112 -> 20070125
@
text
@d36 1
a36 1
%define       V_extension_live   2007.01.11
d49 1
a49 1
Release:      20070125
@


1.162
log
@modifying package: mplayer-1.0pre8 20061223 -> 20070112
@
text
@d27 1
a27 1
%define       V_codecs_essential 20060611
d49 1
a49 1
Release:      20070112
@


1.161
log
@Welcome Year 2007!
@
text
@d36 1
a36 1
%define       V_extension_live   2006.10.18a
d49 1
a49 1
Release:      20061223
@


1.160
log
@modifying package: mplayer-1.0pre8 20061018 -> 20061223
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.159
log
@modifying package: mplayer-1.0pre8 20061015 -> 20061018
@
text
@d29 1
a29 1
%define       V_skin_blue        1.4
d49 1
a49 1
Release:      20061018
@


1.158
log
@integrate more themes. Taken over from Michael Schloh's patch set
@
text
@d36 1
a36 1
%define       V_extension_live   2006.10.12a
d49 1
a49 1
Release:      20061015
@


1.158.2.1
log
@file mplayer.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:53:00 +0000
@
text
@d1 335
@


1.158.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 335
##
##  mplayer.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package versions
%define       V_mplayer          1.0pre8
%define       V_codecs_essential 20060611
%define       V_codecs_quicktime 20040704
%define       V_skin_blue        1.4
%define       V_skin_dvdplayer   1.1
%define       V_skin_industrial  1.0
%define       V_skin_osxbrushed  2.3
%define       V_skin_orange      1.3
%define       V_skin_powerplayer 1.1
%define       V_skin_proton      1.2
%define       V_extension_live   2006.10.12a

#   package information
Name:         mplayer
Summary:      Multimedia Player
URL:          http://www.mplayerhq.hu/
Vendor:       Árpád Gereöffy et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Video
License:      GPL and others
Version:      %{V_mplayer}
Release:      2.20061018

#   build options
%option       with_gui    yes
%option       with_win32  yes

#   list of sources
Source0:      ftp://ftp2.mplayerhq.hu/MPlayer/releases/MPlayer-%{V_mplayer}.tar.bz2
Source1:      ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/windows-essential-%{V_codecs_essential}.zip
Source2:      ftp://ftp2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
Source3:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/Blue-%{V_skin_blue}.tar.bz2
Source4:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/DVDPlayer-%{V_skin_dvdplayer}.tar.bz2
Source5:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/Industrial-%{V_skin_industrial}.tar.bz2
Source6:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/OSX-Brushed-%{V_skin_osxbrushed}.tar.bz2
Source7:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/Orange-%{V_skin_orange}.tar.bz2
Source8:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/PowerPlayer-%{V_skin_powerplayer}.tar.bz2
Source9:      ftp://ftp2.mplayerhq.hu/MPlayer/Skin/proton-%{V_skin_proton}.tar.bz2
Source10:     http://www.live555.com/liveMedia/public/live.%{V_extension_live}.tar.gz
Patch0:       mplayer.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, X11, gcc3, make, sed
PreReq:       OpenPKG, openpkg >= 2.20061018, X11
BuildPreReq:  zlib, libiconv, sdl, freetype, jpeg, png
PreReq:       zlib, libiconv, sdl, freetype, jpeg, png
BuildPreReq:  lame, vorbis-libs, lzo, libsmbclient, aalib
PreReq:       lame, vorbis-libs, lzo, libsmbclient, aalib
%if "%{with_gui}" == "yes"
BuildPreReq:  glib, gtk
PreReq:       glib, gtk
%endif
AutoReq:      no
AutoReqProv:  no

%description
    This is the Unix movie player. MPlayer can play most standard
    video formats out of the box and almost all others with the help
    of external codecs. MPlayer works best from the command line, but
    visual feedback for many functions is available from its onscreen
    status display (OSD), which is also used for displaying subtitles.

%track
    prog mplayer = {
        version   = %{V_mplayer}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/releases/
        regex     = MPlayer-(__VER__)\.tar\.bz2
    }
    prog mplayer:codecs_essential = {
        version   = %{V_codecs_essential}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/
        regex     = windows-essential-(__VER__)\.zip
    }
    prog mplayer:skin_blue = {
        version   = %{V_skin_blue}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = Blue-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_dvdplayer = {
        version   = %{V_skin_dvdplayer}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = DVDPlayer-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_industrial = {
        version   = %{V_skin_industrial}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = Industrial-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_osxbrushed = {
        version   = %{V_skin_osxbrushed}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = OSX-Brushed-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_orange = {
        version   = %{V_skin_orange}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = Orange-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_powerplayer = {
        version   = %{V_skin_powerplayer}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = PowerPlayer-(__VER__)\.tar\.bz2
    }
    prog mplayer:skin_proton = {
        version   = %{V_skin_proton}
        url       = ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
        regex     = proton-(__VER__)\.tar\.bz2
    }
    prog mplayer:extension_live = {
        version   = %{V_extension_live}
        url       = http://www.live555.com/liveMedia/public/
        regex     = live\.(200\d\.\d+\.\d+[a-z]?)\.tar\.gz
    }

%prep
    %setup -q -n MPlayer-%{V_mplayer}
    %setup -q -n MPlayer-%{V_mplayer} -T -D -a 10
    %patch -p0
    %{l_shtool} subst \
        -e 's; *-I/usr/local/include/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; */usr/local/include/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; *-L/usr/local/lib/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; */usr/local/lib/*[a-zA-Z0-9{},/ ]*;;g' \
        -e 's; */usr/local/*[a-zA-Z0-9{},/ ]*;;g' \
        configure
    %{l_shtool} subst \
        -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
        drivers/radeon/radeonfb.c \
        loader/module.c \
        loader/wrapper.h \
        libmpdvdkit2/bsdi_ioctl.c \
        libdha/sysdep/AsmMacros_alpha.h \
        live/groupsock/*.cpp \
        live/groupsock/include/*.h \
        live/groupsock/include/*.hh \
        live/liveMedia/*.cpp \
        live/liveMedia/*.hh \
        live/liveMedia/include/*.hh

%build
    #   translate target names into qmake system types
    case "%{l_platform -t}" in
        *-sunos*   ) host=solaris ;;
        *-linux*   ) host=linux   ;;
        *-freebsd* ) host=freebsd ;;
        *          ) host=`uname | tr A-Z a-z` ;;
    esac

    #   build live streaming libs first
    ( cd live
      ./genMakefiles $host
      %{l_make} %{l_mflags}
    ) || exit $?

    #   configure programs
    CC="%{l_prefix}/bin/gcc3" \
    CXX="%{l_prefix}/bin/g++3" \
    CFLAGS="%{l_cflags -O}" \
    CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
    CPPFLAGS="%{l_cppflags lzo .}" \
    LDFLAGS="%{l_ldflags}" \
    _ld_aa=`%{l_prefix}/bin/aalib-config --libs` \
    ./configure </dev/null \
        --prefix=%{l_prefix} \
        --confdir=%{l_prefix}/etc/mplayer/ \
        --with-codecsdir=%{l_prefix}/libexec/mplayer/codecs/ \
%if "%{with_gui}" == "yes"
        --enable-gui \
        --with-glib-config=%{l_prefix}/bin/glib-config \
        --with-gtk-config=%{l_prefix}/bin/gtk-config \
%else
        --disable-gui \
%endif
%if "%{with_win32}" == "yes"
        --with-win32libdir=%{l_prefix}/libexec/mplayer/codecs/win32 \
        --enable-win32 \
        --enable-qtx \
%else
        --disable-win32 \
%endif
        --disable-libavcodec \
        --disable-libavformat \
        --disable-gcc-checking \
        --enable-largefiles \
        --enable-live \
        --with-livelibdir=`pwd`/live \
        --enable-xvid \
        --enable-freetype \
        --enable-vorbis \
        --enable-menu \
        --enable-jpeg \
        --enable-png \
        --enable-sdl \
        --enable-liblzo \
        --enable-x11 \
        --enable-smb \
        --enable-aa \
        --with-x11incdir=`%{l_rc} --query x11_incdir` \
        --with-x11libdir=`%{l_rc} --query x11_libdir` \
        --with-extraincdir=%{l_prefix}/include/:%{l_prefix}/include/lzo \
        --with-extralibdir=%{l_prefix}/lib/ \
        --with-sdl-config=%{l_prefix}/bin/sdl-config \
        --with-freetype-config=%{l_prefix}/bin/freetype-config \
        --disable-lirc \
        --disable-lircc

    #   fix sloppy library defs for selected platforms
    ARCH_LIB=`grep '^ARCH_LIB' config.mak | \
        sed -e 's;^ARCH_LIB[ \t]*=[ \t]*\(.*\);\1;'`
    case "%{l_platform -t}" in
        *-sunos* )
            if echo $ARCH_LIB | grep '\-pthread[^s]'; then
                ARCH_LIB=`grep '^ARCH_LIB' config.mak | \
                    sed -e 's;^ARCH_LIB[ \t]*=[ \t]*\(.*\)-pthread[^s]\(.*\);\1 -pthreads \2 -ldl -lrt;'`
            fi
            ;;
    esac

    #   temporary hack to fool faad dependencies
    %{l_shtool} subst \
        -e 's;#define FAADVERSION[ \t]*$;#define FAADVERSION 20;g' \
        config.h

    #   build programs
    %{l_make} %{l_mflags}

%install
    rm -rf $RPM_BUILD_ROOT

    #   create installation tree
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/bin \
        $RPM_BUILD_ROOT%{l_prefix}/etc/mplayer \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
%if "%{with_gui}" == "yes"
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/Skin \
%endif
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/font \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/codecs

    #   install binaries
    %{l_shtool} install -s -c -m 755 \
        mplayer \
        mencoder \
        $RPM_BUILD_ROOT%{l_prefix}/bin/
%if "%{with_gui}" == "yes"
    %{l_shtool} mkln -s -f \
        $RPM_BUILD_ROOT%{l_prefix}/bin/mplayer \
        $RPM_BUILD_ROOT%{l_prefix}/bin/gmplayer
%endif

    #   install manpages
    %{l_shtool} install -c -m 644 \
        DOCS/man/en/mplayer.1 \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1/
    %{l_shtool} mkln -s -f \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1/mplayer.1 \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1/mencoder.1

    #   install configuration files
    %{l_shtool} install -c -m 644 \
        -e 's;^\([a-z]\);# \1;' \
        etc/example.conf \
        $RPM_BUILD_ROOT%{l_prefix}/etc/mplayer/mplayer.conf
    %{l_shtool} install -c -m 644 \
        etc/codecs.conf etc/input.conf etc/menu.conf \
        $RPM_BUILD_ROOT%{l_prefix}/etc/mplayer/

%if "%{with_gui}" == "yes"
    #   install a default skin and several others
    ( cd $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/Skin
      %{l_bzip2} -dc %{SOURCE Blue-%{V_skin_blue}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE DVDPlayer-%{V_skin_dvdplayer}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE Industrial-%{V_skin_industrial}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE OSX-Brushed-%{V_skin_osxbrushed}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE Orange-%{V_skin_orange}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE PowerPlayer-%{V_skin_powerplayer}.tar.bz2} | %{l_tar} -xvf -
      %{l_bzip2} -dc %{SOURCE proton-%{V_skin_proton}.tar.bz2} | %{l_tar} -xvf -
      %{l_shtool} mkln -s -f Blue default
    ) || exit $?
%endif

    #   install fonts for OSD and subtitles
    %{l_bzip2} -dc %{SOURCE font-arial-iso-8859-1.tar.bz2} | %{l_tar} -xvf -
    cp font-arial-iso-8859-1/font-arial-24-iso-8859-1/* \
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/font/

%if "%{with_win32}" == "yes"
    #   install win32 and quicktime codecs
    ( %{l_shtool} mkdir -p -m 755 \
          $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/codecs
      cd $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/codecs
      %{l_prefix}/bin/unzip -x %{SOURCE windows-essential-%{V_codecs_essential}.zip}
      mv windows-essential-%{V_codecs_essential} win32
    ) || exit $?
%endif

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
        '%config %{l_prefix}/etc/mplayer/*'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.157
log
@fix tracking and update live extension
@
text
@d29 7
a35 1
%define       V_skin_blue        1.6
d49 1
a49 1
Release:      20061014
d60 7
a66 1
Source4:      http://www.live555.com/liveMedia/public/live.%{V_extension_live}.tar.gz
d74 4
a77 2
BuildPreReq:  zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo, libsmbclient, aalib
PreReq:       zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo, libsmbclient, aalib
d108 30
d146 1
a146 1
    %setup -q -n MPlayer-%{V_mplayer} -T -D -a 4
d210 2
d299 1
a299 1
    #   install a default skin
d302 6
@


1.156
log
@new world order for "Packager" and "Distribution" headers
@
text
@d30 1
a30 1
%define       V_extension_live   2006.10.07
d43 1
a43 1
Release:      20061013
d97 1
a97 1
        regex     = live\.(200\d\.\d+\.\d+)\.tar\.gz
@


1.155
log
@modifying package: mplayer-1.0pre8 20061005 -> 20061008
@
text
@d37 2
a38 2
Packager:     OpenPKG
Distribution: OpenPKG
d43 1
a43 1
Release:      20061008
@


1.154
log
@modifying package: mplayer-1.0pre8 20060921 -> 20061005
@
text
@d30 1
a30 1
%define       V_extension_live   2006.10.05
d43 1
a43 1
Release:      20061005
@


1.153
log
@modifying package: mplayer-1.0pre8 20060918 -> 20060921
@
text
@d30 1
a30 1
%define       V_extension_live   2006.09.20
d43 1
a43 1
Release:      20060921
@


1.152
log
@modifying package: mplayer-1.0pre8 20060912 -> 20060918
@
text
@d30 1
a30 1
%define       V_extension_live   2006.09.18
d43 1
a43 1
Release:      20060918
@


1.151
log
@modifying package: mplayer-1.0pre8 20060909 -> 20060912
@
text
@d30 1
a30 1
%define       V_extension_live   2006.09.12
d43 1
a43 1
Release:      20060912
@


1.150
log
@modifying package: mplayer-1.0pre8 20060909 again
@
text
@d30 1
a30 1
%define       V_extension_live   2006.09.09
d43 1
a43 1
Release:      20060909
@


1.149
log
@modifying package: mplayer-1.0pre8 20060907 -> 20060909
@
text
@d30 1
a30 1
%define       V_extension_live   2006.09.08
@


1.148
log
@modifying package: mplayer-1.0pre8 20060827 -> 20060907
@
text
@d30 1
a30 1
%define       V_extension_live   2006.09.07
d43 1
a43 1
Release:      20060907
@


1.147
log
@modifying package: mplayer-1.0pre8 20060702 -> 20060827
@
text
@d30 1
a30 1
%define       V_extension_live   2006.08.26
d43 1
a43 1
Release:      20060827
@


1.146
log
@modifying package: mplayer-1.0pre8 20060627 -> 20060702
@
text
@d30 1
a30 1
%define       V_extension_live   2006.06.28
d43 1
a43 1
Release:      20060702
@


1.145
log
@upgrading package: mplayer 1.0pre7 -> 1.0pre8
@
text
@d29 2
a30 2
%define       V_skin_blue        1.5
%define       V_extension_live   2006.06.23
d43 1
a43 1
Release:      20060627
@


1.144
log
@modifying package: mplayer-1.0pre7 20060412 -> 20060608
@
text
@d26 2
a27 2
%define       V_mplayer          1.0pre7
%define       V_codecs_essential 20060501
d30 1
a30 1
%define       V_extension_live   2006.05.17
d43 1
a43 1
Release:      20060608
d60 1
a60 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, X11, gcc, make, sed
d141 2
a142 2
    CC="%{l_cc}" \
    CXX="%{l_cxx}" \
d188 1
a188 2
        --disable-lircc \
        --disable-i18n
@


1.143
log
@modifying package: mplayer-1.0pre7 20060315 -> 20060412
@
text
@d27 1
a27 1
%define       V_codecs_essential 20050412
d29 2
a30 2
%define       V_skin_blue        1.4
%define       V_extension_live   2006.03.17
d43 1
a43 1
Release:      20060412
d148 1
a148 1
    ./configure \
@


1.142
log
@modifying package: mplayer-1.0pre7 20060309 -> 20060315
@
text
@d30 1
a30 1
%define       V_extension_live   2006.03.15
d43 1
a43 1
Release:      20060315
@


1.141
log
@fix location of Live extension now that Microsoft owns live.com
@
text
@d30 1
a30 1
%define       V_extension_live   2006.03.03
d43 1
a43 1
Release:      20060309
@


1.140
log
@adjust copyrights for new year 2006
@
text
@d30 1
a30 1
%define       V_extension_live   2005.10.05
d43 1
a43 1
Release:      20051006
d54 1
a54 1
Source4:      http://www.live.com/liveMedia/public/live.%{V_extension_live}.tar.gz
d96 1
a96 1
        url       = http://www.live.com/liveMedia/public/
@


1.139
log
@modifying package: mplayer-1.0pre7 20050924 -> 20051006
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.138
log
@modifying package: mplayer-1.0pre7 20050921 -> 20050924
@
text
@d30 1
a30 1
%define       V_extension_live   2005.09.23
d43 1
a43 1
Release:      20050924
@


1.137
log
@modifying package: mplayer-1.0pre7 20050910 -> 20050921
@
text
@d30 1
a30 1
%define       V_extension_live   2005.09.20
d43 1
a43 1
Release:      20050921
@


1.136
log
@modifying package: mplayer-1.0pre7 20050908 -> 20050910
@
text
@d30 1
a30 1
%define       V_extension_live   2005.09.09
d43 1
a43 1
Release:      20050910
d166 1
@


1.135
log
@modifying package: mplayer-1.0pre7 20050827 -> 20050908
@
text
@d30 1
a30 1
%define       V_extension_live   2005.09.06
d43 1
a43 1
Release:      20050908
@


1.134
log
@modifying package: mplayer-1.0pre7 20050824 -> 20050827
@
text
@d30 1
a30 1
%define       V_extension_live   2005.08.26
d43 1
a43 1
Release:      20050827
@


1.133
log
@fix tracking
@
text
@d30 1
a30 1
%define       V_extension_live   2005.08.09
d43 1
a43 1
Release:      20050824
@


1.132
log
@cleanup packaging: fix dependencies, use newer win32 codecs, etc
@
text
@d43 1
a43 1
Release:      20050814
d87 1
a87 1
        regex     = windows-essential-(__VER__)\.tar\.bz2
a94 1
        comment   = "rse: new snapshots occur every second day, no need to upgrade such fast"
d97 1
a97 1
        regex     = live\.(200\d\.\d+\.\d?[02468])\.tar\.gz
@


1.131
log
@unbreak building by porting to latest LZO 2.0 and upgrade Live extension
@
text
@d26 5
a30 3
%define       V_mplayer     1.0pre7
%define       V_blue        1.4
%define       V_live        2005.07.15
d43 1
a43 1
Release:      20050719
d50 5
a54 6
Source0:      ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-%{V_mplayer}.tar.bz2
Source1:      ftp://ftp.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
Source2:      ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/win32codecs.tar.bz2
Source3:      ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/qt5dlls.tar.bz2
Source4:      ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-%{V_blue}.tar.bz2
Source5:      http://www.live.com/liveMedia/public/live.%{V_live}.tar.gz
d62 2
a63 2
BuildPreReq:  zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo, libsmbclient
PreReq:       zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo, libsmbclient
d81 1
a81 1
        url       = ftp://ftp.mplayerhq.hu/MPlayer/releases/
d84 8
a91 3
    prog mplayer:blue = {
        version   = %{V_blue}
        url       = ftp://ftp.mplayerhq.hu/MPlayer/Skin/
d94 1
a94 1
    prog mplayer:live = {
d96 1
a96 1
        version   = %{V_live}
d103 1
a103 1
    %setup -q -n MPlayer-%{V_mplayer} -T -D -a 5
d152 1
a152 1
        --with-codecsdir=%{l_prefix}/libexec/mplayer/nativecodecs/ \
d161 1
a161 1
        --with-win32libdir=%{l_prefix}/libexec/mplayer/win32codecs \
d223 1
a223 1
        $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/nativecodecs
d256 1
a256 1
      %{l_bzip2} -dc %{SOURCE Blue-%{V_blue}.tar.bz2} | %{l_tar} -xvf -
d268 5
a272 3
    ( %{l_shtool} mkdir -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer
      cd $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer
      %{l_bzip2} -dc %{SOURCE win32codecs.tar.bz2} | %{l_tar} -xvf -
a273 2
    %{l_bzip2} -dc %{SOURCE qt5dlls.tar.bz2} | %{l_tar} -xvf -
    mv -f qt5dlls/* $RPM_BUILD_ROOT%{l_prefix}/libexec/mplayer/win32codecs/
@


1.130
log
@modifying package: mplayer-1.0pre7 20050525 -> 20050526
@
text
@d28 1
a28 1
%define       V_live        2005.05.26
d41 1
a41 1
Release:      20050526
d140 1
a140 1
    CPPFLAGS="%{l_cppflags}" \
@


1.129
log
@modifying package: mplayer-1.0pre7 20050512 -> 20050525
@
text
@d28 1
a28 1
%define       V_live        2005.05.24
d41 1
a41 1
Release:      20050525
@


1.128
log
@modifying package: mplayer-1.0pre7 20050511 -> 20050512
@
text
@d28 1
a28 1
%define       V_live        2005.05.12
d41 1
a41 1
Release:      20050512
@


1.127
log
@modifying package: mplayer-1.0pre7 20050507 -> 20050511
@
text
@d28 1
a28 1
%define       V_live        2005.05.09
d41 1
a41 1
Release:      20050511
d92 1
a92 1
        regex     = live\.(__VER__)\.tar\.gz
@


1.126
log
@modifying package: mplayer-1.0pre7 20050502 -> 20050507
@
text
@d28 1
a28 1
%define       V_live        2005.05.05
d41 1
a41 1
Release:      20050507
@


1.125
log
@help configure correctly detect libaa and disable faulty libirc checks
@
text
@d28 1
a28 1
%define       V_live        2005.04.26
d41 1
a41 1
Release:      20050502
@


1.124
log
@modifying package: mplayer-1.0pre7 20050423 -> 20050429
@
text
@d41 1
a41 1
Release:      20050429
d142 1
d174 1
d181 2
@


1.123
log
@modifying package: mplayer-1.0pre7 20050420 -> 20050423
@
text
@d28 1
a28 1
%define       V_live        2005.04.23
d41 1
a41 1
Release:      20050423
@


1.122
log
@modifying package: mplayer-1.0pre7 20050417 -> 20050420
@
text
@d28 1
a28 1
%define       V_live        2005.04.20
d41 1
a41 1
Release:      20050420
@


1.121
log
@upgrading package: mplayer 1.0pre6a -> 1.0pre7
@
text
@d28 1
a28 1
%define       V_live        2005.04.13
d41 1
a41 1
Release:      20050417
@


1.120
log
@modifying package: mplayer-1.0pre6a 20050408 -> 20050413
@
text
@d26 1
a26 1
%define       V_mplayer     1.0pre6a
d41 1
a41 1
Release:      20050413
@


1.119
log
@modifying package: mplayer-1.0pre6a 20050401 -> 20050408
@
text
@d28 1
a28 1
%define       V_live        2005.04.07
d41 1
a41 1
Release:      20050408
@


1.118
log
@modifying package: mplayer-1.0pre6a 20050331 -> 20050401
@
text
@d28 1
a28 1
%define       V_live        2005.04.01
d41 1
a41 1
Release:      20050401
@


1.117
log
@modifying package: mplayer-1.0pre6a 20050328 -> 20050331
@
text
@d28 1
a28 1
%define       V_live        2005.03.30
d41 1
a41 1
Release:      20050331
@


1.116
log
@modifying package: mplayer-1.0pre6a 20050324 -> 20050328
@
text
@d28 1
a28 1
%define       V_live        2005.03.28
d41 1
a41 1
Release:      20050328
@


1.115
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d28 1
a28 1
%define       V_live        2005.03.23
d41 1
a41 1
Release:      20050324
@


1.114
log
@modifying package: mplayer-1.0pre6a 20050312 -> 20050324
@
text
@d2 3
a4 4
##  mplayer.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d35 1
a35 1
Packager:     The OpenPKG Project
@


1.113
log
@modifying package: mplayer-1.0pre6a 20050307 -> 20050312
@
text
@d29 1
a29 1
%define       V_live        2005.03.11
d42 1
a42 1
Release:      20050312
@


1.112
log
@modifying package: mplayer-1.0pre6a 20050305 -> 20050307
@
text
@d29 1
a29 1
%define       V_live        2005.03.07
d42 1
a42 1
Release:      20050307
@


1.111
log
@modifying package: mplayer-1.0pre6a 20050228 -> 20050305
@
text
@d29 1
a29 1
%define       V_live        2005.03.05
d42 1
a42 1
Release:      20050305
@


1.110
log
@modifying package: mplayer-1.0pre6a 20050225 -> 20050228
@
text
@d29 1
a29 1
%define       V_live        2005.02.28
d42 1
a42 1
Release:      20050228
@


1.109
log
@modifying package: mplayer-1.0pre6a 20050216 -> 20050225
@
text
@d29 1
a29 1
%define       V_live        2005.02.25
d42 1
a42 1
Release:      20050225
@


1.108
log
@modifying package: mplayer-1.0pre6a 20050209 -> 20050216
@
text
@d29 1
a29 1
%define       V_live        2005.02.14
d42 1
a42 1
Release:      20050216
@


1.107
log
@modifying package: mplayer-1.0pre6a 20050208 -> 20050209
@
text
@d29 1
a29 1
%define       V_live        2005.02.09
d42 1
a42 1
Release:      20050209
@


1.106
log
@modifying package: mplayer-1.0pre6a 20050201 -> 20050208
@
text
@d29 1
a29 1
%define       V_live        2005.02.07
d42 1
a42 1
Release:      20050208
d45 1
a45 1
%option       with_gui    no
@


1.105
log
@modifying package: mplayer-1.0pre6a 20050129 -> 20050201
@
text
@d29 1
a29 1
%define       V_live        2005.01.29
d42 1
a42 1
Release:      20050201
@


1.104
log
@modifying package: mplayer-1.0pre6a 20050124 -> 20050129
@
text
@d29 1
a29 1
%define       V_live        2005.01.24
d42 1
a42 1
Release:      20050129
@


1.103
log
@modifying package: mplayer-1.0pre6a 20050120 -> 20050124
@
text
@d29 1
a29 1
%define       V_live        2005.01.23
d42 1
a42 1
Release:      20050124
@


1.102
log
@strip unwanted header and library locations from buildconf (/usr/local/lib for example)
@
text
@d29 1
a29 1
%define       V_live        2005.01.13
d42 1
a42 1
Release:      20050120
@


1.101
log
@modifying package: mplayer-1.0pre6a 20050108 -> 20050114
@
text
@d42 1
a42 1
Release:      20050114
d101 7
@


1.100
log
@modifying package: mplayer-1.0pre6a 20041229 -> 20050108
@
text
@d29 1
a29 1
%define       V_live        2005.01.07
d42 1
a42 1
Release:      20050108
@


1.99
log
@Happy New Year 2005
@
text
@d29 1
a29 1
%define       V_live        2004.12.29
d42 1
a42 1
Release:      20041229
@


1.98
log
@upgrading package: mplayer 1.0pre6 -> 1.0pre6a
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
@


1.97
log
@upgrading package: mplayer 1.0pre5 -> 1.0pre6
@
text
@d27 1
a27 1
%define       V_mplayer     1.0pre6
d29 1
a29 1
%define       V_live        2004.12.23
d42 1
a42 1
Release:      20041224
a106 5
        TVout/matroxset/matroxset.c \
        TVout/matroxset/fb.h \
        TVout/fbset/fbset.c \
        TVout/fbset/fb.h \
        TVout/con2fb/con2fb.c \
@


1.96
log
@modifying package: mplayer-1.0pre5 20041217 -> 20041223
@
text
@d27 1
a27 1
%define       V_mplayer     1.0pre5
d42 1
a42 1
Release:      20041223
@


1.95
log
@modifying package: mplayer-1.0pre5 20041210 -> 20041217
@
text
@d29 1
a29 1
%define       V_live        2004.12.15
d42 1
a42 1
Release:      20041217
@


1.94
log
@modifying package: mplayer-1.0pre5 20041208 -> 20041210
@
text
@d29 1
a29 1
%define       V_live        2004.12.09
d42 1
a42 1
Release:      20041210
@


1.93
log
@modifying package: mplayer-1.0pre5 20041207 -> 20041208
@
text
@d29 1
a29 1
%define       V_live        2004.12.07
d42 1
a42 1
Release:      20041208
@


1.92
log
@modifying package: mplayer-1.0pre5 20041130 -> 20041207
@
text
@d29 1
a29 1
%define       V_live        2004.12.06
d42 1
a42 1
Release:      20041207
@


1.91
log
@modifying package: mplayer-1.0pre5 20041130 again
@
text
@d29 1
a29 1
%define       V_live        2004.11.30
d42 1
a42 1
Release:      20041130
@


1.90
log
@modifying package: mplayer-1.0pre5 20041116 -> 20041130
@
text
@d29 1
a29 1
%define       V_live        2004.11.26
@


1.89
log
@modifying package: mplayer-1.0pre5 20041109 -> 20041116
@
text
@d29 1
a29 1
%define       V_live        2004.11.11a
d42 1
a42 1
Release:      20041116
@


1.88
log
@modifying package: mplayer-1.0pre5 20041107 -> 20041109
@
text
@d29 1
a29 1
%define       V_live        2004.11.09a
d42 1
a42 1
Release:      20041109
@


1.87
log
@modifying package: mplayer-1.0pre5 20041027 -> 20041107
@
text
@d29 1
a29 1
%define       V_live        2004.11.06
d42 1
a42 1
Release:      20041107
@


1.86
log
@Tried to fix wrong usage of C++ protected stuff
@
text
@d29 1
a29 1
%define       V_live        2004.10.26
d42 1
a42 1
Release:      20041027
@


1.85
log
@Cleanup: %{l_prefix}/etc/rc -> %{l_rc}
@
text
@d29 1
a29 1
%define       V_live        2004.02.20a
d42 1
a42 1
Release:      20040920
@


1.84
log
@open for updates
@
text
@d172 2
a173 2
        --with-x11incdir=`%{l_prefix}/etc/rc --query x11_incdir` \
        --with-x11libdir=`%{l_prefix}/etc/rc --query x11_libdir` \
@


1.83
log
@fix regex
@
text
@d42 1
a42 1
Release:      20040911
d90 1
a90 2
        disabled
        comment   = "rse: new snapshots occur every second day and there is no need to upgrade such fast"
@


1.82
log
@resurrect part of the old patch
@
text
@d42 1
a42 1
Release:      20040727
d87 1
a87 1
        regex     = Blue-(__VER__).tar.bz2
d94 1
a94 1
        regex     = live.(__VER__).tar.gz
@


1.81
log
@upgrading package: mplayer 1.0pre4 -> 1.0pre5
@
text
@d55 1
d100 1
@


1.80
log
@modifying package: mplayer-1.0pre4 20040526 -> 20040602
@
text
@d27 1
a27 1
%define       V_mplayer     1.0pre4
d42 1
a42 1
Release:      20040602
a54 1
Patch0:       mplayer.patch
a98 1
    %patch -p0
@


1.79
log
@upgrading package: mplayer 1.0pre3 -> 1.0pre4
@
text
@d28 1
a28 1
%define       V_blue        1.2
d42 1
a42 1
Release:      20040526
@


1.78
log
@add SMB support
@
text
@d27 2
a28 2
%define       V_mplayer     1.0pre3
%define       V_blue        1.1
d42 1
a42 1
Release:      20040518
@


1.77
log
@incorporate SA code from http://www.mplayerhq.hu/MPlayer/patches/vuln02-fix.diff
@
text
@d42 1
a42 1
Release:      20040331
d62 2
a63 2
BuildPreReq:  zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo
PreReq:       zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo
d172 1
@


1.76
log
@modifying package: mplayer-1.0pre3 20040219 -> 20040220
@
text
@d42 1
a42 1
Release:      20040220
@


1.75
log
@modifying package: mplayer-1.0pre3 20040213 -> 20040219
@
text
@d29 1
a29 1
%define       V_live        2004.02.19
d42 1
a42 1
Release:      20040219
d90 2
@


1.74
log
@modifying package: mplayer-1.0pre3 20040209 -> 20040213
@
text
@d29 1
a29 1
%define       V_live        2004.02.13
d42 1
a42 1
Release:      20040213
@


1.73
log
@modifying package: mplayer-1.0pre3 20040206 -> 20040209
@
text
@d29 1
a29 1
%define       V_live        2004.02.09
d42 1
a42 1
Release:      20040209
@


1.72
log
@modifying package: mplayer-1.0pre3 20040205 -> 20040206
@
text
@d29 1
a29 1
%define       V_live        2004.02.05
d42 1
a42 1
Release:      20040206
@


1.71
log
@remove all numbers immediately following %setup/%patch to ease overriding of these macros and thus make version tracking working; also clean up option order; do not use setup/patch number when only one file exists but enforce patch number on multiple files
@
text
@d29 1
a29 1
%define       V_live        2004.02.04
d42 1
a42 1
Release:      20040205
@


1.70
log
@modifying package: mplayer-1.0pre3 20040203 -> 20040204
@
text
@d42 1
a42 1
Release:      20040204
d96 3
a98 3
    %setup0 -q -n MPlayer-%{V_mplayer}
    %setup5 -q -n MPlayer-%{V_mplayer} -T -D -a 5
    %patch0 -p0
@


1.69
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
  (new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
  new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
  and "%track" section are only supported by our latest bootstrap version.
@
text
@d28 2
a29 2
%define       V_blue        1.0
%define       V_live        2004.01.28
d42 1
a42 1
Release:      20040203
d80 1
a80 1
        version   = 1.0pre3
d85 1
a85 1
        version   = 1.0
d90 1
a90 1
        version   = 2004.01.28
@


1.68
log
@modifying package: mplayer-1.0pre3 20040128 again
@
text
@d37 2
a38 1
Distribution: OpenPKG [EVAL]
d42 1
a42 1
Release:      20040128
d60 2
a61 2
BuildPreReq:  OpenPKG, openpkg >= 20030909, X11, gcc, make, sed
PreReq:       OpenPKG, openpkg >= 20030909, X11
d77 17
@


1.67
log
@modifying package: mplayer-1.0pre3 20040124 -> 20040128
@
text
@d29 1
a29 1
%define       V_live        2004.01.27
@


1.66
log
@requires GNU make
@
text
@d29 1
a29 1
%define       V_live        2004.01.24
d41 1
a41 1
Release:      20040124
@


1.65
log
@modifying package: mplayer-1.0pre3 20040124 again
@
text
@d59 1
a59 1
BuildPreReq:  OpenPKG, openpkg >= 20030909, X11, gcc, sed
@


1.64
log
@modifying package: mplayer-1.0pre3 20040123 -> 20040124
@
text
@d29 1
a29 1
%define       V_live        2004.01.23
@


1.63
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d29 1
a29 1
%define       V_live        2004.01.22
d41 1
a41 1
Release:      20040123
@


1.62
log
@modifying package: mplayer-1.0pre3 20040121 -> 20040123
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2003 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
@


1.61
log
@modifying package: mplayer-1.0pre3 20040120 -> 20040121
@
text
@d29 1
a29 1
%define       V_live        2004.01.21
d41 1
a41 1
Release:      20040121
@


1.60
log
@modifying package: mplayer-1.0pre3 20040111 -> 20040120
@
text
@d29 1
a29 1
%define       V_live        2004.01.19
d41 1
a41 1
Release:      20040120
@


1.59
log
@modifying package: mplayer-1.0pre3 20040109 -> 20040111
@
text
@d29 1
a29 1
%define       V_live        2004.01.10
d41 1
a41 1
Release:      20040111
a83 1
        etc/cygwin_inttypes.h \
@


1.58
log
@modifying package: mplayer-1.0pre3 20040107 -> 20040109
@
text
@d29 1
a29 1
%define       V_live        2004.01.09
d41 1
a41 1
Release:      20040109
@


1.57
log
@modifying package: mplayer-1.0pre3 20031227 -> 20040107
@
text
@d29 1
a29 1
%define       V_live        2004.01.06
d41 1
a41 1
Release:      20040107
@


1.56
log
@modifying package: mplayer-1.0pre3 20031220 -> 20031227
@
text
@d29 1
a29 1
%define       V_live        2003.12.26
d41 1
a41 1
Release:      20031227
@


1.55
log
@modifying package: mplayer-1.0pre3 20031219 -> 20031220
@
text
@d29 1
a29 1
%define       V_live        2003.12.20
d41 1
a41 1
Release:      20031220
@


1.54
log
@modifying package: mplayer-1.0pre3 20031216 -> 20031219
@
text
@d29 1
a29 1
%define       V_live        2003.12.19
d41 1
a41 1
Release:      20031219
@


1.53
log
@modifying package: mplayer-1.0pre3 20031210 -> 20031216
@
text
@d29 1
a29 1
%define       V_live        2003.12.16
d41 1
a41 1
Release:      20031216
@


1.52
log
@upgrading package: mplayer 1.0pre2 -> 1.0pre3
@
text
@d29 1
a29 1
%define       V_live        2003.11.25
d41 1
a41 1
Release:      20031210
@


1.51
log
@add sed dependency, because 'backslash-t' gets otherwise interpreted as a normal 't'
@
text
@d27 1
a27 1
%define       V_mplayer     1.0pre2
d41 1
a41 1
Release:      20031202
d208 1
a208 1
        DOCS/en/mplayer.1 \
@


1.50
log
@modifying package: mplayer-1.0pre2 20031122 -> 20031126
@
text
@d41 1
a41 1
Release:      20031126
d59 1
a59 1
BuildPreReq:  OpenPKG, openpkg >= 20030909, X11, gcc
@


1.49
log
@modifying package: mplayer-1.0pre2 20031119 -> 20031122
@
text
@d29 1
a29 1
%define       V_live        2003.11.21
d41 1
a41 1
Release:      20031122
@


1.48
log
@modifying package: mplayer-1.0pre2 20031116 -> 20031119
@
text
@d29 1
a29 1
%define       V_live        2003.11.19
d41 1
a41 1
Release:      20031119
@


1.47
log
@modifying package: mplayer-1.0pre2 20031114 -> 20031116
@
text
@d29 1
a29 1
%define       V_live        2003.11.16
d41 1
a41 1
Release:      20031116
@


1.46
log
@modifying package: mplayer-1.0pre2 20031112 -> 20031114
@
text
@d29 1
a29 1
%define       V_live        2003.11.13
d41 1
a41 1
Release:      20031114
@


1.45
log
@modifying package: mplayer-1.0pre2 20031106 -> 20031112
@
text
@d29 1
a29 1
%define       V_live        2003.11.12
d41 1
a41 1
Release:      20031112
@


1.44
log
@modifying package: mplayer-1.0pre2 20031031 -> 20031106
@
text
@d29 1
a29 1
%define       V_live        2003.11.06
d41 1
a41 1
Release:      20031106
@


1.43
log
@upgrade live stuff and revert font change (sorry, I've downloaded from scratch and the file layout is still the same; perhaps the confusion was that the only install parts of the fonts)
@
text
@d29 1
a29 1
%define       V_live        2003.10.30
d41 1
a41 1
Release:      20031031
@


1.42
log
@file layout in un-versioned font tarball changed
@
text
@d29 1
a29 1
%define       V_live        2003.10.27
d41 1
a41 1
Release:      20031030
d120 1
a120 1
    CXXFLAGS="%{l_cxxflags -O}" \
d233 1
a233 1
    cp -f font-arial-*-iso-8859-1/* \
@


1.41
log
@modifying package: mplayer-1.0pre2 20031025 -> 20031027
@
text
@d41 1
a41 1
Release:      20031027
d233 1
a233 1
    cp -f font-arial-iso-8859-1/font-arial-24-iso-8859-1/* \
@


1.40
log
@modifying package: mplayer-1.0pre2 20031008 -> 20031025
@
text
@d29 1
a29 1
%define       V_live        2003.10.24
d41 1
a41 1
Release:      20031025
@


1.39
log
@modifying package: mplayer-1.0pre2 20031007 -> 20031008
@
text
@d29 1
a29 1
%define       V_live        2003.10.08
d41 1
a41 1
Release:      20031008
@


1.38
log
@modifying package: mplayer-1.0pre2 20031005 -> 20031007
@
text
@d29 1
a29 1
%define       V_live        2003.10.07
d41 1
a41 1
Release:      20031007
@


1.37
log
@upgrading package: mplayer 1.0pre1 -> 1.0pre2
@
text
@d29 1
a29 1
%define       V_live        2003.10.05
d41 1
a41 1
Release:      20031005
@


1.36
log
@modifying package: mplayer-1.0pre1 20031004 -> 20031005
@
text
@d27 1
a27 1
%define       V_mplayer     1.0pre1
d78 2
a79 2
    %setup0 -q
    %setup5 -q -T -D -a 5
@


1.35
log
@modifying package: mplayer-1.0pre1 20031001 -> 20031004
@
text
@d29 1
a29 1
%define       V_live        2003.10.04
d41 1
a41 1
Release:      20031004
@


1.34
log
@modifying package: mplayer-1.0pre1 20030926 -> 20031001
@
text
@d29 1
a29 1
%define       V_live        2003.09.30
d41 1
a41 1
Release:      20031001
@


1.33
log
@modifying package: mplayer-1.0pre1 20030919 -> 20030926
@
text
@d29 1
a29 1
%define       V_live        2003.09.25
d41 1
a41 1
Release:      20030926
@


1.32
log
@Improve %prep by reducing unneeded -n parameter
@
text
@d29 1
a29 1
%define       V_live        2003.09.19
d41 1
a41 1
Release:      20030919
@


1.31
log
@modifying package: mplayer-1.0pre1 20030918 -> 20030919
@
text
@d78 2
a79 2
    %setup0 -q -n mplayer-%{V_mplayer}
    %setup5 -q -n mplayer-%{V_mplayer} -T -D -a 5
@


1.30
log
@convert to new %{l_platform} world order
@
text
@d29 1
a29 1
%define       V_live        2003.09.11
d41 1
a41 1
Release:      20030918
@


1.29
log
@Change platform definition macro according to new standard
@
text
@d41 1
a41 1
Release:      20030917
d59 2
a60 2
BuildPreReq:  OpenPKG, openpkg >= 20030509, X11, gcc
PreReq:       OpenPKG, openpkg >= 20030509, X11
d104 4
a107 4
        *-sunos*) host=solaris ;;
        *-linux*)   host=linux ;;
        *-freebsd*) host=freebsd ;;
        *)          host=`uname | tr A-Z a-z` ;;
d164 2
a165 2
    case "%{l_target}" in
        *-solaris*)
@


1.28
log
@modifying package: mplayer-1.0pre1 20030908 -> 20030912
@
text
@d41 1
a41 1
Release:      20030912
d103 2
a104 1
    case "%{l_target}" in *-solaris*) host=solaris ;;
@


1.27
log
@Glob substition to reduce code lines and avoid future changes
@
text
@d29 1
a29 1
%define       V_live        2003.09.05
d41 1
a41 1
Release:      20030908
@


1.26
log
@Consolidate patch, and fix newly introduced FAAD library version problem (in configuration)
@
text
@d41 1
a41 1
Release:      20030906
d94 6
a99 30
        live/groupsock/GroupEId.cpp \
        live/groupsock/Groupsock.cpp \
        live/groupsock/GroupsockHelper.cpp \
        live/groupsock/NetAddress.cpp \
        live/groupsock/include/NetAddress.hh \
        live/groupsock/include/NetCommon.h \
        live/groupsock/include/GroupEId.hh \
        live/groupsock/include/Groupsock.hh \
        live/groupsock/include/GroupsockHelper.hh \
        live/groupsock/include/TunnelEncaps.hh \
        live/liveMedia/AC3AudioRTPSink.cpp \
        live/liveMedia/AC3AudioStreamFramer.cpp \
        live/liveMedia/AMRAudioRTPSink.cpp \
        live/liveMedia/JPEGVideoRTPSink.cpp \
        live/liveMedia/MPEG1or2VideoRTPSource.cpp \
        live/liveMedia/MPEG4ESVideoRTPSink.cpp \
        live/liveMedia/MPEG4GenericRTPSink.cpp \
        live/liveMedia/MPEG4VideoStreamFramer.cpp \
        live/liveMedia/MPEGVideoStreamParser.hh \
        live/liveMedia/RTSPClient.cpp \
        live/liveMedia/RTPSource.cpp \
        live/liveMedia/StreamParser.hh \
        live/liveMedia/include/AC3AudioRTPSink.hh \
        live/liveMedia/include/AMRAudioFileSource.hh \
        live/liveMedia/include/JPEGVideoSource.hh \
        live/liveMedia/include/MediaSession.hh \
        live/liveMedia/include/MPEG4GenericRTPSink.hh \
        live/liveMedia/include/MPEG4VideoStreamFramer.hh \
        live/liveMedia/include/RTPSource.hh \
        live/liveMedia/include/RTSPClient.hh
@


1.25
log
@modifying package: mplayer-1.0pre1 20030903 -> 20030905
@
text
@d41 1
a41 1
Release:      20030905
d83 15
d99 1
d102 1
d104 15
d120 2
d123 1
a123 3
        live/liveMedia/include/RTSPClient.hh \
        live/liveMedia/include/AC3AudioRTPSink.hh \
        live/liveMedia/include/MPEG4GenericRTPSink.hh
d195 5
@


1.24
log
@modifying package: mplayer-1.0pre1 20030902 -> 20030903
@
text
@d29 1
a29 1
%define       V_live        2003.09.03
d41 1
a41 1
Release:      20030903
@


1.23
log
@Linux breaks when building in parallel
@
text
@d29 1
a29 1
%define       V_live        2003.09.01
d41 1
a41 1
Release:      20030902
@


1.22
log
@modifying package: mplayer-1.0pre1 20030902 again
@
text
@d165 1
a165 1
    %{l_make} %{l_mflags -O}
@


1.21
log
@upgrading package: mplayer 0.91 -> 1.0pre1
@
text
@d98 1
a98 1
        *)          host=`uname | tr A-Z a-z`-g++ ;;
@


1.20
log
@speclint police: merge with mplayer.patch
@
text
@d27 1
a27 1
%define       V_mplayer     0.91
d29 1
a29 1
%define       V_live        2003.08.07
d41 1
a41 1
Release:      20030830
d78 2
a79 2
    %setup0 -q -n MPlayer-%{V_mplayer}
    %setup5 -q -n MPlayer-%{V_mplayer} -T -D -a 5
d104 1
a104 1
      %{l_make} %{l_mflags -O}
a132 1
        --enable-streaming \
d194 1
a194 1
        DOCS/mplayer.1 \
@


1.19
log
@Fix u_int -> uint problem with substitution
@
text
@d41 1
a41 1
Release:      20030814
a54 1
Patch1:       live.patch
a80 1
    %patch1 -p0
@


1.18
log
@Add live streaming libs for rtp and rtsp, and adjust codecs configuration and font path name
@
text
@d41 1
a41 1
Release:      20030813
d80 1
a80 1
    %setup1 -q -n MPlayer-%{V_mplayer} -T -D -a 5
d83 11
@


1.17
log
@upgrading package: mplayer 0.90 -> 0.91
@
text
@d29 1
d53 1
d55 1
d79 4
a82 2
    %setup -q -n MPlayer-%{V_mplayer}
    %patch -p0
d85 13
d108 1
d125 2
d170 2
a171 1
        $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/font
d211 2
a212 1
    cp -f font-arial-24-iso-8859-1/* $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/font/
@


1.16
log
@avoid unportable flags
@
text
@d27 1
a27 1
%define       V_mplayer     0.90
d40 1
a40 1
Release:      20030811
d100 1
a100 1
        --enable-qtx-codecs \
@


1.15
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
text
@d40 1
a40 1
Release:      20030723
d77 1
a77 1
    %patch -p1
@


1.14
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d40 1
a40 1
Release:      20030707
d184 1
a184 1
    )
d196 1
a196 1
    )
@


1.13
log
@add libraries to PreReq
@
text
@a2 1
##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@


1.12
log
@Add codecs for apple quicktime viewing
@
text
@d40 1
a40 1
Release:      20030512
d57 4
a60 2
BuildPreReq:  OpenPKG, openpkg >= 20030509, X11, zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo, gcc
PreReq:       OpenPKG, openpkg >= 20030509, X11, zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs
d63 1
@


1.11
log
@requires gcc because of C++ style comments and perhaps more C++ stuff
@
text
@d40 1
a40 1
Release:      20030510
d43 1
a43 1
%option       with_gui    yes
d50 1
d97 1
d189 1
a189 1
    #   install win32 codecs
d194 2
@


1.10
log
@Added patch to build on SVR4
@
text
@d40 1
a40 1
Release:      20030509
d56 1
a56 1
BuildPreReq:  OpenPKG, openpkg >= 20030509, X11, zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo
@


1.9
log
@install all config files and cleanup style
@
text
@d51 1
d73 1
@


1.8
log
@Try to split long lines, and I guess we really want with_gui instead of with_win32 in some conditions
@
text
@d125 1
a125 1
        ;;
d163 1
a163 1
    #   install codecs configuration
d165 5
a169 1
        etc/codecs.conf \
d174 3
a176 3
    (  cd $RPM_BUILD_ROOT%{l_prefix}/share/mplayer/Skin
       %{l_bzip2} -dc %{SOURCE Blue-%{V_blue}.tar.bz2} | %{l_tar} -xvf -
       %{l_shtool} mkln -s -f Blue default
@


1.7
log
@- sort --enable-x11 to the other x11 options
- link gmplayer under with_gui and not with_win32
- use new fixed "shtool mkln" command consistently
- cleanup: s/ftp1.mplayerhq.hu/ftp.mplayerhq.hu/
- remove hints to fibmap_mplayer because its Linux only anyway
@
text
@d117 2
a118 1
    ARCH_LIB=`grep '^ARCH_LIB' config.mak | sed -e 's;^ARCH_LIB[ \t]*=[ \t]*\(.*\);\1;'`
d122 2
a123 1
                ARCH_LIB=`grep '^ARCH_LIB' config.mak | sed -e 's;^ARCH_LIB[ \t]*=[ \t]*\(.*\)-pthread[^s]\(.*\);\1 -pthreads \2 -ldl -lrt;'`
d139 1
a139 1
%if "%{with_win32}" == "yes"
d168 1
a168 1
%if "%{with_win32}" == "yes"
@


1.6
log
@Remove unneeded variable on make line
@
text
@a25 6
#   ms: FIXME Insert the following block after install PROG to BINDIR
#       FIXME The fibmap_mplayer allows viewing of CSS encrypted media
#   %{l_shtool} install -s -c -o %{l_susr} -g %{l_sgrp} -m 4755 \
#       fibmap_mplayer \
#       $RPM_BUILD_ROOT%{l_prefix}/bin/

d48 1
a48 1
Source1:      ftp://ftp1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
d55 2
a56 2
BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs, lzo
PreReq:       OpenPKG, openpkg >= 20030103, X11, zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs
d74 1
d106 1
a107 1
        --enable-liblzo \
d126 1
d147 4
a150 2
%if "%{with_win32}" == "yes"
    %{l_shtool} mkln -sf mplayer $RPM_BUILD_ROOT%{l_prefix}/bin/gmplayer
d157 3
a159 3
    (  cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
       ln -sf mplayer.1 mencoder.1
    )
d170 1
a170 1
       %{l_shtool} mkln -sf Blue default
@


1.5
log
@Fix sloppy library defs and use the real ln command until shtool mkln works
@
text
@d131 1
a131 1
    %{l_make} %{l_mflags -O} ARCH_LIB="$ARCH_LIB"
@


1.4
log
@flush
@
text
@d46 1
a46 1
Release:      20030508
a111 1
        --enable-vesa \
a112 1
        --enable-runtime-cpudetection \
a118 1
        --enable-static \
d120 12
a131 1
    %{l_make} %{l_mflags -O}
d159 3
a161 2
    %{l_shtool} mkln -sf \
        mplayer.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/mencoder.1
@


1.3
log
@flush
@
text
@d32 4
d45 1
a45 1
Version:      0.90
d49 1
d53 1
a53 1
Source0:      ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}.tar.bz2
d55 2
a56 1
Source2:      ftp://ftp.mplayerhq.hu/MPlayer/releases/win32codecs.tar.bz2
d63 3
d77 1
a77 1
    %setup -q -n MPlayer-%{version}
d89 7
d133 3
d143 3
d158 8
@


1.2
log
@Strip dss decoder also, even though it is a FIXME comment
@
text
@d40 1
a40 1
License:      GPL
d44 3
d50 1
d55 1
a55 1
BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, zlib, libiconv, sdl, freetype, jpeg, png, vorbis-libs
d80 6
d97 1
d101 1
a101 1
        --with-extraincdir=%{l_prefix}/include/ \
d129 2
a130 4
    (
        cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
        ln -sf mplayer.1 mencoder.1
    )
d141 8
d150 2
a151 1
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@


1.1
log
@new package: mplayer 0.90 (Multimedia Player)
@
text
@d28 1
a28 1
#   %{l_shtool} install -c -o %{l_susr} -g %{l_sgrp} -m 4755 \
@

