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+2
6 Summary(pl): Odtwarzacz d¼wiêku z interfejsem WinAmpa dla GTK+2
12 Group: X11/Applications/Sound
13 Source0: http://download.berlios.de/bmpx/%{name}-%{version}.tar.gz
14 # Source0-md5: f0b89bb96fd8b14cfd805f4a726b4f16
16 URL: http://bmpx.berlios.de/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: cairo-devel >= 1.0.0
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: libvorbis-devel >= 1:1.0
26 BuildRequires: libglade2-devel >= 1:2.5.1
27 BuildRequires: taglib-devel
29 BuildRequires: gstreamer-devel >= 0.9.1
31 BuildRequires: xine-lib-devel
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 BMPx is the follow-up of the BMP project with a codebase rewritten
37 from scratch and aims to maintain a stable audio player foundation,
38 and to provide a player with a consistent and easy to understand usage
42 BMPx jest nastêpc± projektu BMP z przepisanym od zera kodem i skupia
43 siê na utrzymaniu stabilnej podstawy odtwarzacza audio, aby udostêpniæ
44 odtwarzacz ze spójn± i ³atw± do zrozumienia obs³ug±.
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT \
70 m4datadir=%{_aclocaldir}
72 rm -f $RPM_BUILD_ROOT%{_datadir}/bmpx/data/GPL.txt
74 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
75 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
76 $RPM_BUILD_ROOT%{_pixmapsdir}
81 rm -rf $RPM_BUILD_ROOT
85 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
91 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/bmp*
101 %{_datadir}/bmp-remote
103 %attr(755,root,root) %{_libdir}/libskinned.so.*