annotate rpm/mplayer.spec @ 36205:c922d2550d20

VDPAU: fix RGBA output to use a surface of correct size and to redraw on resize.
author reimar
date Thu, 06 Jun 2013 13:03:50 +0000
parents 6c6fb701fa8e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
1 %define date %(date --iso)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
2 %define svnbuild %(date +%Y%m%d)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
3 %define codecsdir %{_libdir}/codecs
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
4
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
5 Name: mplayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
6 Version: 1.0
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
7 Release: 0.%{svnbuild}svn%{?dist}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
8 Summary: Movie player playing most video formats and DVDs
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
9
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
10 Group: Applications/Multimedia
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
11 License: GPL
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
12 URL: http://www.mplayerhq.hu/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
13 Source0: http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
14 Source1: http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
16
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
17 BuildRequires: SDL-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
18 BuildRequires: aalib-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
19 BuildRequires: alsa-lib-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
20 BuildRequires: cdparanoia-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
21 BuildRequires: desktop-file-utils
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
22 BuildRequires: em8300-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
23 BuildRequires: enca-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
24 BuildRequires: faac-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
25 BuildRequires: faad2-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
26 BuildRequires: fontconfig-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
27 BuildRequires: freetype-devel >= 2.0.9
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
28 BuildRequires: fribidi-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
29 BuildRequires: giflib-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
30 BuildRequires: gtk2-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
31 BuildRequires: ladspa-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
32 BuildRequires: lame-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
33 BuildRequires: libGL-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
34 BuildRequires: libXinerama-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
35 BuildRequires: libXv-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
36 BuildRequires: libXvMC-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
37 BuildRequires: libXxf86dga-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
38 BuildRequires: libXxf86vm-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
39 BuildRequires: libcaca-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
40 BuildRequires: libdca-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
41 BuildRequires: libdv-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
42 BuildRequires: libdvdnav-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
43 BuildRequires: libjpeg-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
44 BuildRequires: libmpcdec-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
45 BuildRequires: libtheora-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
46 BuildRequires: libvorbis-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
47 BuildRequires: lirc-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
48 BuildRequires: live-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
49 BuildRequires: lzo-devel >= 2
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
50 BuildRequires: speex-devel >= 1.1
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
51 BuildRequires: twolame-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
52 BuildRequires: x264-devel
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
53 BuildRequires: xvidcore-devel >= 0.9.2
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
54 %{?_with_arts:BuildRequires: arts-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
55 %{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
56 %{?_with_directfb:BuildRequires: directfb-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
57 %{?_with_esound:BuildRequires: esound-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
58 %{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
59 %{?_with_libmad:BuildRequires: libmad-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
60 %{?_with_openal:BuildRequires: openal-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
61 %{?_with_samba:BuildRequires: samba-common}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
62 %{?_with_svgalib:BuildRequires: svgalib-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
63 %{?_with_xmms:BuildRequires: xmms-devel}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
64 # for XML docs, SVN only
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
65 BuildRequires: docbook-dtds
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
66 BuildRequires: docbook-style-xsl
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
67 BuildRequires: libxml2
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
68 BuildRequires: libxslt
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
69
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
70 %description
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
71 MPlayer is a movie player that plays most MPEG, VOB, AVI, OGG/OGM,
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
72 VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM,
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
73 RoQ, and PVA files. You can also use it to watch VCDs, SVCDs, DVDs,
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
74 3ivx, RealMedia, and DivX movies.
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
75 It supports a wide range of output drivers including X11, XVideo, DGA,
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
76 OpenGL, SVGAlib, fbdev, AAlib, DirectFB etc. There are also nice
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
77 antialiased shaded subtitles and OSD.
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
78 Non-default rpmbuild options:
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
79 --with samba: Enable Samba (smb://) support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
80 --with xmms: Enable XMMS input plugin support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
81 --with amr: Enable AMR support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
82 --with libmad: Enable libmad support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
83 --with openal: Enable OpenAL support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
84 --with jack: Enable JACK support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
85 --with arts: Enable aRts support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
86 --with esound: Enable EsounD support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
87 --with directfb:Enable DirectFB support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
88 --with svgalib: Enable SVGAlib support
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
89
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
90 %package gui
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
91 Summary: GUI for MPlayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
92 Group: Applications/Multimedia
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
93 Requires: mplayer = %{version}-%{release}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
94
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
95 %description gui
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
96 This package contains a GUI for MPlayer and a default skin for it.
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
97
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
98 %package -n mencoder
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
99 Summary: MPlayer movie encoder
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
100 Group: Applications/Multimedia
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
101 Requires: mplayer = %{version}-%{release}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
102
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
103 %description -n mencoder
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27198
diff changeset
104 This package contains the MPlayer movie encoder.
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
105
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
106 %package doc
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
107 Summary: MPlayer documentation in various languages
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
108 Group: Documentation
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
109
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
110 %description doc
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
111 MPlayer documentation in various languages.
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
112
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
113
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
114 %prep
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
115 %setup -q -n mplayer-export-%{date}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
116
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
117 doconv() {
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
118 iconv -f $1 -t $2 -o DOCS/man/$3/mplayer.1.utf8 DOCS/man/$3/mplayer.1 && \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
119 mv DOCS/man/$3/mplayer.1.utf8 DOCS/man/$3/mplayer.1
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
120 }
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
121 for lang in de es fr it ; do doconv iso-8859-1 utf-8 $lang ; done
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
122 for lang in hu pl ; do doconv iso-8859-2 utf-8 $lang ; done
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
123 for lang in ru ; do doconv koi8-r utf-8 $lang ; done
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
124
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
125 mv DOCS/man/zh DOCS/man/zh_CN
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
126
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
127 %build
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
128 ./configure \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
129 --prefix=%{_prefix} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
130 --bindir=%{_bindir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
131 --datadir=%{_datadir}/mplayer \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
132 --mandir=%{_mandir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
133 --confdir=%{_sysconfdir}/mplayer \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
134 --libdir=%{_libdir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
135 --codecsdir=%{codecsdir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
136 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
137 --disable-encoder=FAAC \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
138 --disable-encoder=MP3LAME \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
139 --disable-encoder=X264 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
140 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
141 --enable-gui \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
142 --disable-termcap \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
143 --disable-bitmap-font \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
144 --enable-lirc \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
145 --enable-joystick \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
146 %{!?_with_samba:--disable-smb} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
147 --disable-dvdread-internal \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
148 --disable-libdvdcss-internal \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
149 --enable-menu \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
150 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
151 --disable-tremor-internal \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
152 %{!?_with_amr:--disable-libamr_nb --disable-libamr_wb} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
153 %{!?_with_libmad:--disable-mad} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
154 %{?_with_xmms:--enable-xmms} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
155 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
156 --disable-svga \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
157 --enable-xvmc \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
158 --%{?_with_directfb:enable}%{!?_with_directfb:disable}-directfb \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
159 %{!?_with_svgalib:--disable-svga} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
160 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
161 %{!?_with_arts:--disable-arts} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
162 %{!?_with_esound:--disable-esd} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
163 %{!?_with_jack:--disable-jack} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
164 %{!?_with_openal:--disable-openal} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
165 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
166 --language=all \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
167 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
168 %{?_with_xmms:--with-xmmslibdir=%{_libdir}} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
169 --with-xvmclib=XvMCW
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
170
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
171 %{__make}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
172
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
173 mv -f mplayer gmplayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
174 %{__make} distclean
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
175
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
176 ./configure \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
177 --prefix=%{_prefix} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
178 --bindir=%{_bindir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
179 --datadir=%{_datadir}/mplayer \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
180 --mandir=%{_mandir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
181 --confdir=%{_sysconfdir}/mplayer \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
182 --libdir=%{_libdir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
183 --codecsdir=%{codecsdir} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
184 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
185 --disable-encoder=FAAC \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
186 --disable-encoder=MP3LAME \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
187 --disable-encoder=X264 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
188 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
189 --disable-termcap \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
190 --disable-bitmap-font \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
191 --enable-lirc \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
192 --enable-joystick \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
193 %{!?_with_samba:--disable-smb} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
194 --disable-dvdread-internal \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
195 --disable-libdvdcss-internal \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
196 --enable-menu \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
197 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
198 --disable-tremor-internal \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
199 %{!?_with_amr:--disable-libamr_nb --disable-libamr_wb} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
200 %{!?_with_libmad:--disable-mad} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
201 %{?_with_xmms:--enable-xmms} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
202 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
203 --disable-svga \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
204 --enable-xvmc \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
205 --%{?_with_directfb:enable}%{!?_with_directfb:disable}-directfb \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
206 %{!?_with_svgalib:--disable-svga} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
207 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
208 %{!?_with_arts:--disable-arts} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
209 %{!?_with_esound:--disable-esd} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
210 %{!?_with_jack:--disable-jack} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
211 %{!?_with_openal:--disable-openal} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
212 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
213 --language=all \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
214 \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
215 %{?_with_xmms:--with-xmmslibdir=%{_libdir}} \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
216 --with-xvmclib=XvMCW
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
217
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
218 %{__make}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
219
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 27198
diff changeset
220 # build HTML documentation from XML files
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
221 pushd DOCS/xml
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
222 %{__make} html-chunked
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
223 popd
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
224
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
225 %install
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
226 rm -rf $RPM_BUILD_ROOT doc
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
227
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
228 make install DESTDIR=$RPM_BUILD_ROOT STRIPBINARIES=no
27198
305dc504c407 Give all shell scripts a .sh suffix for consistency.
diego
parents: 24694
diff changeset
229 install -pm 755 TOOLS/midentify.sh $RPM_BUILD_ROOT%{_bindir}/
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
230
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
231 # Clean up documentation
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
232 mkdir doc
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
233 cp -pR DOCS/* doc/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
234 rm -r doc/man doc/xml doc/README
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
235 mv doc/HTML/* doc/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
236 rm -rf doc/HTML
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
237
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
238 # Default config files
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
239 install -Dpm 644 etc/example.conf \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
240 $RPM_BUILD_ROOT%{_sysconfdir}/mplayer/mplayer.conf
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
241 # use Nimbus Sans L font for OSD (via fontconfig)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
242 echo "fontconfig=yes" >>$RPM_BUILD_ROOT%{_sysconfdir}/mplayer/mplayer.conf
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
243 echo "font=\"Sans\"" >>$RPM_BUILD_ROOT%{_sysconfdir}/mplayer/mplayer.conf
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
244
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
245 install -pm 644 etc/{input,menu}.conf $RPM_BUILD_ROOT%{_sysconfdir}/mplayer/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
246
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
247 # GUI mplayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
248 install -pm 755 g%{name} $RPM_BUILD_ROOT%{_bindir}/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
249
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
250 # Default skin
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
251 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/mplayer/skins
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
252 tar xjC $RPM_BUILD_ROOT%{_datadir}/mplayer/skins --exclude=.svn -f %{SOURCE1}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
253 ln -s Blue $RPM_BUILD_ROOT%{_datadir}/mplayer/skins/default
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
254
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
255 # Icons
34480
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
256 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
257 install -pm 644 etc/mplayer16x16.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
258 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
259 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
260 install -pm 644 etc/mplayer22x22.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
261 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
262 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
263 install -pm 644 etc/mplayer24x24.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
264 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
265 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
266 install -pm 644 etc/mplayer32x32.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
267 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/mplayer.png
33484
4f940d7917f0 Provide a desktop icon of reasonable size (48x48) and quality.
ib
parents: 33234
diff changeset
268 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
34480
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
269 install -pm 644 etc/mplayer48x48.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
270 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
271 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
272 install -pm 644 etc/mplayer256x256.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
273 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps/mplayer.png
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
274
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
275 # Desktop file
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
276 desktop-file-install \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
277 --dir $RPM_BUILD_ROOT%{_datadir}/applications \
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
278 etc/%{name}.desktop
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
279
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
280 # Codec dir
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
281 install -dm 755 $RPM_BUILD_ROOT%{codecsdir}
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
282
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
283
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
284 %post gui
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
285 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
286 update-desktop-database &>/dev/null || :
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
287
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
288
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
289 %postun gui
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
290 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
291 update-desktop-database &>/dev/null || :
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
292
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
293
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
294 %clean
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
295 rm -rf $RPM_BUILD_ROOT
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
296
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
297
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
298 %files
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
299 %defattr(-, root, root, -)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
300 %doc AUTHORS Changelog LICENSE README
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
301 %dir %{_sysconfdir}/mplayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
302 %config(noreplace) %{_sysconfdir}/mplayer/mplayer.conf
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
303 %config(noreplace) %{_sysconfdir}/mplayer/input.conf
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
304 %config(noreplace) %{_sysconfdir}/mplayer/menu.conf
27198
305dc504c407 Give all shell scripts a .sh suffix for consistency.
diego
parents: 24694
diff changeset
305 %{_bindir}/midentify.sh
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
306 %{_bindir}/mplayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
307 %dir %{codecsdir}/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
308 %dir %{_datadir}/mplayer/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
309 %{_mandir}/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
310 %lang(cs) %{_mandir}/cs/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
311 %lang(de) %{_mandir}/de/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
312 %lang(es) %{_mandir}/es/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
313 %lang(fr) %{_mandir}/fr/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
314 %lang(hu) %{_mandir}/hu/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
315 %lang(it) %{_mandir}/it/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
316 %lang(pl) %{_mandir}/pl/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
317 %lang(ru) %{_mandir}/ru/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
318 %lang(zh_CN) %{_mandir}/zh_CN/man1/mplayer.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
319
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
320 %files gui
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
321 %defattr(-, root, root, -)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
322 %{_bindir}/gmplayer
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
323 %{_datadir}/applications/*mplayer.desktop
34480
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
324 %{_datadir}/icons/hicolor/16x16/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
325 %{_datadir}/icons/hicolor/22x22/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
326 %{_datadir}/icons/hicolor/24x24/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
327 %{_datadir}/icons/hicolor/32x32/apps/mplayer.png
33484
4f940d7917f0 Provide a desktop icon of reasonable size (48x48) and quality.
ib
parents: 33234
diff changeset
328 %{_datadir}/icons/hicolor/48x48/apps/mplayer.png
34480
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 33484
diff changeset
329 %{_datadir}/icons/hicolor/256x256/apps/mplayer.png
24694
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
330 %{_datadir}/mplayer/skins/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
331
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
332 %files -n mencoder
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
333 %defattr(-, root, root, -)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
334 %{_bindir}/mencoder
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
335 %{_mandir}/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
336 %lang(cs) %{_mandir}/cs/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
337 %lang(de) %{_mandir}/de/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
338 %lang(es) %{_mandir}/es/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
339 %lang(fr) %{_mandir}/fr/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
340 %lang(hu) %{_mandir}/hu/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
341 %lang(it) %{_mandir}/it/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
342 %lang(pl) %{_mandir}/pl/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
343 %lang(ru) %{_mandir}/ru/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
344 %lang(zh_CN) %{_mandir}/zh_CN/man1/mencoder.1*
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
345
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
346 %files doc
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
347 %defattr(-, root, root, -)
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
348 %doc doc/en/ doc/tech/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
349 %lang(cs) %doc doc/cs/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
350 %lang(de) %doc doc/de/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
351 %lang(es) %doc doc/es/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
352 %lang(fr) %doc doc/fr/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
353 %lang(hu) %doc doc/hu/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
354 %lang(pl) %doc doc/pl/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
355 %lang(ru) %doc doc/ru/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
356 %lang(zh_CN) %doc doc/zh_CN/
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
357
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
358
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
359 %changelog
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
360 * Sat Oct 06 2007 Dominik Mierzejewski <rpm at greysector.net>
3f8e15bde43b import cleaned-up RPM spec files
rathann
parents:
diff changeset
361 - adapted livna specfile for inclusion in SVN