annotate audacious.spec.in @ 1849:d8791a0b2902 trunk

[svn] - change skin_mask_info[] if the player sizes change.
author nenolod
date Mon, 09 Oct 2006 03:04:44 -0700
parents 3787176f9875
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 # RPM spec file for BMP
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 # FIXME: The bmp RPM requires libasound.so.* without --with alsa. Need to
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 # disable autoreq.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 # XMMS legacy
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 %{?_with_xmmseq: %define xmmseq 1}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 %{!?_with_xmmseq: %define xmmseq 0}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 # plugins
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 %{?_with_alsa: %define alsa 1}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 %{!?_with_alsa: %define alsa 0}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 %{?_with_mp3: %define mp3 1}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 %{!?_with_mp3: %define mp3 0}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 # GNOME support
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 %{?_with_gconf: %define gconf 1}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 %{!?_with_gconf: %define gconf 0}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 %{?_with_gnomevfs: %define gnomevfs 1}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 %{!?_with_gnomevfs: %define gnomevfs 0}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 Summary: Audacious
749
3787176f9875 [svn] more fixing
nenolod
parents: 0
diff changeset
23 Name: @PACKAGE_NAME@
3787176f9875 [svn] more fixing
nenolod
parents: 0
diff changeset
24 Version: @PACKAGE_VERSION@
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 Release: 1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 Epoch: 0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 License: GPL
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 Group: Applications/Multimedia
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 Url: http://audacious.nenolod.net
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 Source0: %{name}-%{version}.tar.gz
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 Requires: unzip
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34 BuildRequires: gtk2-devel >= 2.4.0, libglade2-devel >= 2.3.1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 %if %{gconf}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 BuildRequires: GConf2-devel >= 2.4.0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 %endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 %if %{gnomevfs}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 BuildRequires: gnome-vfs2-devel >= 2.4.0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 %endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 %description
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 Audacious is a fork of Beep Media Player(BMP).
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46 Beep Media Player(BMP) is a GTK2 port of the popular X Multimedia
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 System(XMMS) and more.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49 Build options:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 --with: alsa mp3 gconf gnomevfs xmmseq
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 %package devel
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53 Summary: BMP - Static libraries and header files.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54 Group: Applications/Multimedia
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 Requires: %{name} = %{epoch}:%{version}-%{release}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57 %description devel
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 Static libraries and header files required for compiling BMP plugins.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60 %if %{mp3}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 %package mp3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 Summary: BMP - MP3 output plugin
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 Group: Applications/Multimedia
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64 Requires: %{name} = %{epoch}:%{version}-%{release}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
65
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
66 %description mp3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
67 MP3 input plugin for BMP.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
68 %endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
69
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
70 %if %{alsa}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
71 %package alsa
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
72 Summary: BMP - ALSA output plugin
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
73 Group: Applications/Multimedia
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
74 Requires: %{name} = %{epoch}:%{version}-%{release}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
75 BuildRequires: alsa-lib-devel >= 1.0.0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
76
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77 %description alsa
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
78 Output plugin for BMP to use with the Advanced Linux Sound
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
79 Architecture (ALSA).
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80 %endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82 %prep
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
83 %setup -q
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
84
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85 %build
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
86 %configure \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
87 --disable-opengl \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
88 %{!?_with_alsa:--disable-alsa} \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
89 %{!?_with_mp3:--disable-mp3} \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
90 %{?_with_gconf:--enable-gconf} \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
91 %{?_with_gnomevfs:--enable-gnome-vfs} \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
92 %{?_with_xmmseq:--with-xmms-eq}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
93 make %{_smp_mflags}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
94
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
95 %install
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
96 rm -rf $RPM_BUILD_ROOT
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
97 make install DESTDIR=$RPM_BUILD_ROOT
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
98 %find_lang %{name}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
99
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
100 rm -f $RPM_BUILD_ROOT%{_libdir}/bmp/*/*.la
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
101
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102 %post -p /sbin/ldconfig
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103 %postun -p /sbin/ldconfig
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
105 %clean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
106 rm -rf $RPM_BUILD_ROOT
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
107
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
108 %files -f %{name}.lang
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
109 %defattr(-,root,root,-)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
110 %doc AUTHORS COPYING ChangeLog NEWS README
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
111 %{_bindir}/beep-media-player
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
112 %{_datadir}/bmp/
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
113 %{_datadir}/pixmaps/*
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
114 %{_datadir}/applications/bmp.desktop
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
115 %{_libdir}/libbeep.so.*
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
116 %{_libdir}/bmp/Input/libcdaudio.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
117 %{_libdir}/bmp/Input/libvorbis.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
118 %{_libdir}/bmp/Input/libwav.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
119 %{_libdir}/bmp/Output/libOSS.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
120 %{_libdir}/bmp/Output/libesdout.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
121 %{_libdir}/bmp/Visualization/libbscope.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
122 %{_mandir}/man1/*
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
123
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
124 %files devel
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
125 %defattr(-,root,root,-)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
126 %{_libdir}/pkgconfig/bmp.pc
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
127 %{_libdir}/lib*.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
128 #%{_libdir}/lib*.a
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
129 %{_libdir}/lib*.la
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130 %{_includedir}/bmp
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132 %if %{alsa}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133 %files alsa
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134 %defattr(-,root,root,-)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 %{_libdir}/bmp/Output/libALSA.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136 %endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
137
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
138 %if %{mp3}
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
139 %files mp3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
140 %defattr(-,root,root,-)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
141 %{_libdir}/bmp/Input/libmpg123.so
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
142 %endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
143
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
144
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 %changelog
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 * Sat Oct 22 2005 Chong Kai Xiong <descender@phreaker.net> - 0:0.9.7.1-1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
147 - Remove .la files instead of using %exclude
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
148 - Rename Copyright to License
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
149
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
150 * Sat Dec 4 2004 Chong Kai Xiong <descender@phreaker.net> - 0:0.9.7-2
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
151 - remove duplicate listings in %files
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152 - fix libglade2-devel version requirement
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153 - add option to build with XMMS equalization
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
154
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155 * Tue Jul 6 2004 Chong Kai Xiong <descender@phreaker.net> 0:0.9.7-1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 - fixed file list to own package-specific directories
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
157 - remove vendor, add epoch tag, explicit requires, add unzip to requires
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 - force version match between plugins and main package
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 - use %find_lang
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
160 - don't install INSTALL
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
161
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 * Thu Jun 24 2004 Chong Kai Xiong <descender@phreaker.net> 0.9.7-3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163 - added support for GConf and GNOME VFS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
164 - fixed file list
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 * Fri May 28 2004 Chong Kai Xiong <descender@phreaker.net> 0.9.7-2
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
167 - require libglade 2.0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
168
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
169 * Sun Apr 05 2004 Chong Kai Xiong <descender@phreaker.net> 0.9.7-1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170 - require GTK 2.4 and ALSA 1.0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
172 * Tue Jan 13 2004 David Lau <coder_sku@sourceforge.net> 0.9.6-3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 - removes plugin .la's
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
175 * Wed Dec 24 2003 Chong Kai Xiong <descender@phreaker.net> 0.9.6-2
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 - first fully usable version
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
178 * Tue Nov 29 2003 Chong Kai Xiong <descender@phreaker.net> 0.9.6-1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
179 - added support for --with switches
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181 * Tue Nov 11 2003 Chong Kai Xiong <descender@phreaker.net> 1.0.0pre6
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
182 - initial build