]> git.pld-linux.org Git - packages/bmpx.git/blob - bmpx.spec
6661ac43e9c95ca32bf26eef8db4bfe3b92d7de7
[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
9 Release:        0.2
10 Epoch:          1
11 License:        GPL
12 Group:          Applications/Sound
13 Source0:        http://download.berlios.de/bmpx/%{name}-%{version}.tar.gz
14 # Source0-md5:  b70f812629eb28db0b55f897f2353a5d
15 Source1:        mp3license
16 URL:            http://www.sosdg.org/~larne/w/BMP_Homepage
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  cairo-devel >= 1.0.0
20 BuildRequires:  curl-devel
21 BuildRequires:  esound-devel >= 0.2.8
22 BuildRequires:  fam-devel
23 BuildRequires:  gtk+2-devel >= 2:2.8.0
24 BuildRequires:  libvorbis-devel >= 1:1.0
25 BuildRequires:  libglade2-devel >= 2.5.1
26 BuildRequires:  taglib-devel
27 %if %{with gstreamer}
28 BuildRequires:  gstreamer-devel >= 0.9.1
29 %else
30 BuildRequires:  xine-lib-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 BMPx is a media player based on XMMS (http://www.xmms.org/). The
35 primary goals of this fork are UI enhancements with latest technology
36 (GTK+2, Pango), and usability while maintaining the skinned UI.
37
38 %description -l pl
39 BMPx to odtwarzacz mediów oparty na XMMS-ie (http://www.xmms.org/).
40 G³ówne cele tego odga³êzienia to rozszerzenie interfejsu u¿ytkownika o
41 najnowsze technologie (GTK+2, Pango) i ergonomia interfejsu
42 obs³uguj±cego skórki.
43
44 %prep
45 %setup -q
46
47 %build
48 rm -rf autom4te.cache
49 %{__aclocal} -I m4
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54 %if %{with gstreamer}
55         --enable-gst \
56 %else
57         --enable-xine \
58 %endif
59         --enable-shared \
60         --enable-static
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT \
68         m4datadir=%{_aclocaldir}
69
70 rm -f $RPM_BUILD_ROOT%{_datadir}/bmpx/data/GPL.txt
71
72 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
73 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
74         $RPM_BUILD_ROOT%{_pixmapsdir}
75
76 %find_lang %{name}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 umask 022
83 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
84
85 %postun
86 umask 022
87 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/bmp*
92 %{_mandir}/man*/*
93 %{_desktopdir}/*
94 %{_datadir}/bmpx
95 %{_datadir}/bmp-remote
96 %{_pixmapsdir}/*
This page took 0.074686 seconds and 3 git commands to generate.