1 | %define _aud_ver 2.3 |
---|
2 | #define extraver alpha5 |
---|
3 | |
---|
4 | Summary: Audacious - a versatile and handy multi platform media player |
---|
5 | Summary(ja): Audacious - 多くのフォーマットに対応した便利なメディアプレイヤー |
---|
6 | Name: audacious |
---|
7 | Version: 2.3 |
---|
8 | Release: 2%{?_dist_release} |
---|
9 | License: GPLv3 |
---|
10 | Group: Applications/Multimedia |
---|
11 | URL: http://audacious-media-player.org/ |
---|
12 | Source: http://distfiles.atheme.org/%{name}-%{version}%{?extraver:-%extraver}.tgz |
---|
13 | Source1: audacious2.desktop |
---|
14 | #Source2: audacious2-gtkui.desktop |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: glib2-devel |
---|
18 | BuildRequires: gtk2-devel |
---|
19 | BuildRequires: libmowgli-devel |
---|
20 | BuildRequires: mcs-devel |
---|
21 | BuildRequires: dbus-devel |
---|
22 | BuildRequires: dbus-glib-devel |
---|
23 | BuildRequires: libSM-devel |
---|
24 | BuildRequires: oniguruma-devel |
---|
25 | |
---|
26 | Requires: %{name}-libs = %{version}-%{release} |
---|
27 | Requires: audacious-plugins >= %{_aud_ver} |
---|
28 | |
---|
29 | Requires(post): desktop-file-utils |
---|
30 | Requires(postun): desktop-file-utils |
---|
31 | |
---|
32 | Vendor: Project Vine |
---|
33 | Distribution: Vine Linux |
---|
34 | |
---|
35 | %description |
---|
36 | Audacious is a media player that currently uses a skinned user |
---|
37 | interface based on Winamp 2.x skins. It is based on BMP. |
---|
38 | |
---|
39 | %package libs |
---|
40 | Summary: Library files for the Audacious media player |
---|
41 | Group: System Environment/Libraries |
---|
42 | |
---|
43 | %description libs |
---|
44 | Library files for the Audacious media player. |
---|
45 | |
---|
46 | %package devel |
---|
47 | Summary: Development files for Audacious |
---|
48 | Summary(ja): Audacious の開発用ファイル |
---|
49 | Group: Development/Libraries |
---|
50 | Requires: %{name}-libs = %{version}-%{release} |
---|
51 | Requires: glib2-devel >= 2.12.0 |
---|
52 | Requires: gtk2-devel >= 2.8.0 |
---|
53 | Requires: pango-devel >= 1.8.0 |
---|
54 | Requires: cairo-devel >= 1.2.4 |
---|
55 | Requires: libmowgli-devel >= 0.4.0 |
---|
56 | Requires: mcs-devel >= 0.7 |
---|
57 | Requires: dbus-devel >= 0.60 |
---|
58 | Requires: dbus-glib-devel >= 0.60 |
---|
59 | |
---|
60 | %description devel |
---|
61 | This package contains header files required to develop plugins for |
---|
62 | Audacious. |
---|
63 | |
---|
64 | %description -l ja devel |
---|
65 | このパッケージには、Audacious のプラグインを開発するために必要なヘッダ |
---|
66 | ファイルが含まれています。 |
---|
67 | |
---|
68 | %prep |
---|
69 | %setup -q -n %{name}-%{version}%{?extraver:-%extraver} |
---|
70 | |
---|
71 | %build |
---|
72 | %configure \ |
---|
73 | --enable-chardet \ |
---|
74 | --with-regexlib=oniguruma |
---|
75 | |
---|
76 | make %{?_smp_mflags} VERBOSE=1 |
---|
77 | |
---|
78 | %install |
---|
79 | rm -rf $RPM_BUILD_ROOT |
---|
80 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
81 | |
---|
82 | %find_lang %{name} |
---|
83 | |
---|
84 | %__mkdir_p %{buildroot}%{_libdir}/audacious/Container |
---|
85 | %__mkdir_p %{buildroot}%{_libdir}/audacious/Effect |
---|
86 | %__mkdir_p %{buildroot}%{_libdir}/audacious/General |
---|
87 | %__mkdir_p %{buildroot}%{_libdir}/audacious/Input |
---|
88 | %__mkdir_p %{buildroot}%{_libdir}/audacious/Output |
---|
89 | %__mkdir_p %{buildroot}%{_libdir}/audacious/Transport |
---|
90 | %__mkdir_p %{buildroot}%{_libdir}/audacious/Visualization |
---|
91 | |
---|
92 | install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications |
---|
93 | rm -f $RPM_BUILD_ROOT%{_datadir}/applications/audacious2-gtkui.desktop |
---|
94 | #install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/applications |
---|
95 | |
---|
96 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps |
---|
97 | mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/audacious2.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps |
---|
98 | |
---|
99 | # fixes symbolic link |
---|
100 | pushd $RPM_BUILD_ROOT%{_bindir} |
---|
101 | ln -sf audacious2 audacious |
---|
102 | ln -sf audtool2 audtool |
---|
103 | popd |
---|
104 | |
---|
105 | %clean |
---|
106 | rm -rf $RPM_BUILD_ROOT |
---|
107 | |
---|
108 | %post |
---|
109 | %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
110 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
111 | |
---|
112 | %postun |
---|
113 | %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
114 | if [ $1 -eq 0 ] ; then |
---|
115 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
116 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
117 | fi |
---|
118 | |
---|
119 | %posttrans |
---|
120 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
121 | |
---|
122 | %post libs -p /sbin/ldconfig |
---|
123 | |
---|
124 | %postun libs -p /sbin/ldconfig |
---|
125 | |
---|
126 | %files -f %{name}.lang |
---|
127 | %defattr(-,root,root,-) |
---|
128 | %doc AUTHORS COPYING NEWS* README* |
---|
129 | %{_bindir}/audacious* |
---|
130 | %{_bindir}/audtool* |
---|
131 | %{_libdir}/audacious |
---|
132 | %{_datadir}/audacious |
---|
133 | %{_datadir}/applications/*.desktop |
---|
134 | %{_datadir}/icons/hicolor/48x48/apps/* |
---|
135 | %{_mandir}/man1/audacious2.1* |
---|
136 | %{_mandir}/man1/audtool2.1* |
---|
137 | |
---|
138 | %files libs |
---|
139 | %defattr(-,root,root,-) |
---|
140 | %{_libdir}/lib*.so.* |
---|
141 | |
---|
142 | %files devel |
---|
143 | %defattr(-,root,root,-) |
---|
144 | %{_includedir}/audacious |
---|
145 | %{_includedir}/libaudcore |
---|
146 | %{_includedir}/libaudgui |
---|
147 | %{_includedir}/libaudtag |
---|
148 | %{_libdir}/*.so |
---|
149 | %{_libdir}/pkgconfig/*.pc |
---|
150 | |
---|
151 | %changelog |
---|
152 | * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.3-2 |
---|
153 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
154 | |
---|
155 | * Sat May 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Thu Aug 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2 |
---|
159 | - added BuildRequires: libsamplerate-devel to devel package |
---|
160 | |
---|
161 | * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-5 |
---|
165 | - rebuilt with libmowgli-0.7.0 |
---|
166 | |
---|
167 | * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-4 |
---|
168 | - added BuildRequires: dbus-devel, dbus-glib-devel |
---|
169 | - added Requires: dbus-devel, dbus-glib-devel to devel package |
---|
170 | |
---|
171 | * Wed Mar 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-3 |
---|
172 | - rebuilt again with oniguruma-5.9.1 (ppc) |
---|
173 | |
---|
174 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.1-2vl5 |
---|
175 | - rebuilt with oniguruma-5.9.1 |
---|
176 | |
---|
177 | * Sat Dec 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-1vl5 |
---|
178 | - new upstream release (dropped Patch1 and Source2) |
---|
179 | |
---|
180 | * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5 |
---|
181 | - applied new versioning policy, spec in utf-8 |
---|
182 | |
---|
183 | * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.3.2-0vl3 |
---|
184 | - update desktop file (source1) |
---|
185 | |
---|
186 | * Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-0vl2 |
---|
187 | - add Requires: mcs-devel for audacious-devel subpackage |
---|
188 | |
---|
189 | * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1 |
---|
190 | - new upstream release |
---|
191 | - build with new environment/toolchain |
---|
192 | |
---|
193 | * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1 |
---|
194 | - new upstream release |
---|
195 | - drop '--disable-gconf' option from %%configure |
---|
196 | |
---|
197 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1 |
---|
198 | - new upstream release |
---|
199 | - update ja.po (source2) |
---|
200 | - add BuildRequires: mcs-devel, libsamplerate-devel |
---|
201 | |
---|
202 | * Wed Feb 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5 |
---|
203 | - update to 1.3.0alpha5 |
---|
204 | - update ja.po (source2) |
---|
205 | - drop obsolete playlist-set-utf8-name.patch (patch2) |
---|
206 | - add new file: libaudid3tag.so |
---|
207 | |
---|
208 | * Mon Feb 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4.1 |
---|
209 | - add playlist-set-utf8-name.patch (patch2) |
---|
210 | to use utf-8-converted filename as playlist title |
---|
211 | |
---|
212 | * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4 |
---|
213 | - update to 1.3.0alpha4 |
---|
214 | - update ja.po (source2) |
---|
215 | - update URLs |
---|
216 | |
---|
217 | * Wed Jan 31 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha3 |
---|
218 | - update to 1.3.0alpha3 |
---|
219 | - update ja.po (source2) |
---|
220 | - update use-xfont.patch (patch1) |
---|
221 | - fix typo |
---|
222 | |
---|
223 | * Sun Jan 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2.1 |
---|
224 | - update ja.po (source2) |
---|
225 | |
---|
226 | * Sat Jan 13 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2 |
---|
227 | - update to 1.3.0alpha2 |
---|
228 | - use oniguruma regex library |
---|
229 | - add BuildRequires: oniguruma-devel |
---|
230 | - add '--with-regexlib=oniguruma' option to %%configure |
---|
231 | |
---|
232 | * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl2 |
---|
233 | - add '--enable-chardet' option to %%configure again |
---|
234 | |
---|
235 | * Wed Nov 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1 |
---|
236 | - new upstream release |
---|
237 | - update ja.po (source2) |
---|
238 | |
---|
239 | * Sun Aug 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1 |
---|
240 | - new upstream release |
---|
241 | |
---|
242 | * Tue Aug 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2 |
---|
243 | - oops, really update ja.po (source2) |
---|
244 | |
---|
245 | * Mon Jul 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1 |
---|
246 | - new upstream release |
---|
247 | - make with 'VERBOSE=1' |
---|
248 | - drop obsolete POTFILES.in (source3) |
---|
249 | - make update-po before make |
---|
250 | - 1.1.1 contains old version of audacious.pot... |
---|
251 | - update ja.po (source2) |
---|
252 | |
---|
253 | * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2 |
---|
254 | - overwrite POTFILES.in (source3) |
---|
255 | - 1.1.0 contains old version of POTFILES.in |
---|
256 | - update ja.po (source2) |
---|
257 | |
---|
258 | * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1 |
---|
259 | - new upstream release |
---|
260 | - drop unneeded patch0 (was merged) |
---|
261 | - add '--enable-ipv6 --enable-chardet' to %%configure option |
---|
262 | - add BuildRequires: taglib-devel instead of id3lib-devel |
---|
263 | - update ja.po (source2) |
---|
264 | |
---|
265 | * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl2 |
---|
266 | - add flac-filename-utf8.patch (patch0) |
---|
267 | to convert filename on fileinfo box for FLAC files to UTF-8 |
---|
268 | - add use-xfont.patch (patch1) |
---|
269 | to disable 'Use Bitmap fonts if available' by default |
---|
270 | - add ja.po (source2) |
---|
271 | |
---|
272 | * Sat Jun 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl1 |
---|
273 | - initial build |
---|