3 %bcond_with gstreamer # build with GStreamer support (instead of XINE)
5 Summary: Sound player with the WinAmp GUI, for Unix-based systems for GTK+
6 Summary(pl): Odtwarzacz d¼wiêku z interfejsem WinAmpa dla GTK+
11 Group: X11/Applications/Sound
12 Source0: http://download.berlios.de/bmpx/%{name}-%{version}.tar.gz
13 # Source0-md5: 40965fe0e9707a49a773c91eff777fb2
15 Patch0: %{name}-embedded-images.patch
16 Patch1: %{name}-desktop.patch
17 URL: http://bmpx.berlios.de/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: curl-devel
21 BuildRequires: dbus-glib-devel
22 BuildRequires: esound-devel >= 0.2.8
23 BuildRequires: fam-devel
24 BuildRequires: gtk+2-devel >= 2:2.8.0
25 BuildRequires: libglade2-devel >= 1:2.5.1
26 BuildRequires: libvorbis-devel >= 1:1.0
27 BuildRequires: rpm-pythonprov
28 BuildRequires: taglib-devel
30 # there is no gstreamer 0.9.x in PLD cvs yet!
31 BuildRequires: gstreamer-devel >= 0.9.1
33 BuildRequires: xine-lib-devel
35 Requires: %{name}-plugin-flow = %{epoch}:%{version}-%{release}
36 Requires: %{name}-plugin-container = %{epoch}:%{version}-%{release}
37 Requires: %{name}-plugin-transport = %{epoch}:%{version}-%{release}
39 Requires: gstreamer-audio-effects
40 Requires: gstreamer-audio-formats
41 Requires: gstreamer-audiosink
43 Requires: xine-plugin-audio
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 BMPx is the follow-up of the BMP project with a codebase rewritten
49 from scratch and aims to maintain a stable audio player foundation,
50 and to provide a player with a consistent and easy to understand usage
54 BMPx jest nastêpc± projektu BMP z przepisanym od zera kodem i skupia
55 siê na utrzymaniu stabilnej podstawy odtwarzacza d¼wiêku, aby
56 udostêpniæ odtwarzacz ze spójn± i ³atw± do zrozumienia obs³ug±.
59 Summary: Header files for BMPx media player
60 Summary(pl): Pliki nag³ówkowe odtwarzacza multimedialnego BMPx
61 Group: X11/Development/Libraries
62 # doesn't require base
65 Header files required for compiling BMPx media player plugins.
67 %description devel -l pl
68 Pliki nag³ówkowe potrzebne do kompilowania wtyczek odtwarzacza
72 Summary: Static BMPx library
73 Summary(pl): Statyczna biblioteka BMPx
74 Group: X11/Development/Libraries
75 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
80 %description static -l pl
81 Statyczna biblioteka BMPx.
83 %package plugin-container
84 Summary: Container plugin for BMPx
85 Summary(pl): Wtyczka Container dla BMPx
86 Group: X11/Applications/Sound
87 Requires: %{name} = %{epoch}:%{version}-%{release}
89 %description plugin-container
90 Plugin providing support for folders, m3u & pls playlist files, etc.
92 %description plugin-container -l pl
93 Wtyczka dodaj±ca obs³ugê folderów, playlist w formacie m3u i pls, itp.
96 Summary: Flow plugin for BMPx
97 Summary(pl): Wtyczka Flow dla BMPx
98 Group: X11/Applications/Sound
99 Requires: %{name} = %{epoch}:%{version}-%{release}
101 %description plugin-flow
102 Flow plugin for BMPx.
104 %description plugin-flow -l pl
105 Wtyczka Flow dla BMPx.
107 %package plugin-transport
108 Summary: Transport plugin for BMPx
109 Summary(pl): Wtyczka Transport dla BMPx
110 Group: X11/Applications/Sound
111 Requires: %{name} = %{epoch}:%{version}-%{release}
113 %description plugin-transport
114 Transport plugin for BMPx.
116 %description plugin-transport -l pl
117 Wtyczka Transport dla BMPx.
125 rm -rf autom4te.cache
131 %if %{with gstreamer}
142 rm -rf $RPM_BUILD_ROOT
145 DESTDIR=$RPM_BUILD_ROOT \
146 m4datadir=%{_aclocaldir}
148 rm -f $RPM_BUILD_ROOT%{_datadir}/bmpx/data/GPL.txt
150 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
151 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
152 $RPM_BUILD_ROOT%{_pixmapsdir}
154 rm -f $RPM_BUILD_ROOT%{_libdir}/bmpx/plugins/*/*.{a,la}
159 rm -rf $RPM_BUILD_ROOT
164 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
166 %if %{with gstreamer}
167 %banner %{name} -e << EOF
168 Remember to install appropriate GStreamer plugins for files
170 - gstreamer-flac (for FLAC)
171 - gstreamer-mad (for MP3s)
172 - gstreamer-vorbis (for Ogg Vorbis)
175 %banner %{name} -e << EOF
176 Remember to install appropriate xine-decode plugins for files
178 - xine-decode-flac (for FLAC)
179 - xine-decode-ogg (for Ogg Vorbis)
187 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
190 %files -f %{name}.lang
191 %defattr(644,root,root,755)
192 %doc AUTHORS ChangeLog NEWS README
193 %attr(755,root,root) %{_bindir}/bmp*
194 %attr(755,root,root) %{_libdir}/libskinned.so.*.*.*
196 %dir %{_libdir}/bmpx/plugins
200 %{_datadir}/bmp-remote
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_libdir}/libskinned.so
206 %{_libdir}/libskinned.la
210 %defattr(644,root,root,755)
213 %files plugin-container
214 %defattr(644,root,root,755)
215 %dir %{_libdir}/bmpx/plugins/container
216 %attr(755,root,root) %{_libdir}/bmpx/plugins/container/*.so*
219 %defattr(644,root,root,755)
220 %dir %{_libdir}/bmpx/plugins/flow
221 %attr(755,root,root) %{_libdir}/bmpx/plugins/flow/*.so*
223 %files plugin-transport
224 %defattr(644,root,root,755)
225 %dir %{_libdir}/bmpx/plugins/transport
226 %attr(755,root,root) %{_libdir}/bmpx/plugins/transport/*.so*