3 %bcond_with gstreamer # build with GStreamer support (instead of XINE)
7 Summary: Sound player with the WinAmp GUI, for Unix-based systems for GTK+2
8 Summary(pl): Odtwarzacz d¼wiêku z interfejsem WinAmpa dla GTK+2
13 Group: X11/Applications/Sound
14 Source0: http://download.berlios.de/bmpx/%{name}-%{version}-%{_rc}.tar.gz
15 # Source0-md5: ad3eb15dc0ba2f3ad2be9724e19d35ee
17 URL: http://bmpx.berlios.de/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: cairo-devel >= 1.0.0
21 BuildRequires: curl-devel
22 BuildRequires: dbus-glib-devel
23 BuildRequires: esound-devel >= 0.2.8
24 BuildRequires: fam-devel
25 BuildRequires: gtk+2-devel >= 2:2.8.0
26 BuildRequires: libglade2-devel >= 1:2.5.1
27 BuildRequires: libvorbis-devel >= 1:1.0
28 BuildRequires: taglib-devel
30 BuildRequires: gstreamer-devel >= 0.9.1
32 BuildRequires: xine-lib-devel
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 BMPx is the follow-up of the BMP project with a codebase rewritten
38 from scratch and aims to maintain a stable audio player foundation,
39 and to provide a player with a consistent and easy to understand usage
43 BMPx jest nastêpc± projektu BMP z przepisanym od zera kodem i skupia
44 siê na utrzymaniu stabilnej podstawy odtwarzacza d¼wiêku, aby
45 udostêpniæ odtwarzacz ze spójn± i ³atw± do zrozumienia obs³ug±.
48 %setup -q -n %{name}-%{version}-%{_rc}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT \
72 m4datadir=%{_aclocaldir}
74 rm -f $RPM_BUILD_ROOT%{_datadir}/bmpx/data/GPL.txt
76 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
77 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
78 $RPM_BUILD_ROOT%{_pixmapsdir}
83 rm -rf $RPM_BUILD_ROOT
87 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
93 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_bindir}/bmp*
100 %attr(755,root,root) %{_libdir}/libskinned.so.*
104 %{_datadir}/bmp-remote