]> git.pld-linux.org Git - packages/bmpx.git/blob - bmpx.spec
- added dbus BR
[packages/bmpx.git] / bmpx.spec
1 #
2 # Conditional build:
3 %bcond_with     gstreamer       # build with GStreamer support (instead of XINE)
4 #
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
7 Name:           bmpx
8 Version:        0.11.5.1
9 Release:        0.1
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications/Sound
13 Source0:        http://download.berlios.de/bmpx/%{name}-%{version}.tar.gz
14 # Source0-md5:  f0b89bb96fd8b14cfd805f4a726b4f16
15 Source1:        mp3license
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
28 %if %{with gstreamer}
29 BuildRequires:  gstreamer-devel >= 0.9.1
30 %else
31 BuildRequires:  xine-lib-devel
32 %endif
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
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
39 experience.
40
41 %description -l pl
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±.
45
46 %prep
47 %setup -q
48
49 %build
50 rm -rf autom4te.cache
51 %{__aclocal} -I m4
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56 %if %{with gstreamer}
57         --enable-gst \
58 %else
59         --enable-xine \
60 %endif
61         --enable-shared \
62         --enable-static
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         m4datadir=%{_aclocaldir}
71
72 rm -f $RPM_BUILD_ROOT%{_datadir}/bmpx/data/GPL.txt
73
74 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
75 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
76         $RPM_BUILD_ROOT%{_pixmapsdir}
77
78 %find_lang %{name}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post
84 umask 022
85 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
86
87 /sbin/ldconfig
88
89 %postun
90 umask 022
91 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
92
93 /sbin/ldconfig
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/bmp*
98 %{_mandir}/man*/*
99 %{_desktopdir}/*
100 %{_datadir}/bmpx
101 %{_datadir}/bmp-remote
102 %{_pixmapsdir}/*
103 %attr(755,root,root) %{_libdir}/libskinned.so.*
This page took 0.459193 seconds and 4 git commands to generate.