]> git.pld-linux.org Git - packages/bmpx.git/blob - bmpx.spec
- updated to 0.11.5.1
[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:          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:  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 the follow-up of the BMP project with a codebase rewritten
35 from scratch and aims to maintain a stable audio player foundation,
36 and to provide a player with a consistent and easy to understand usage
37 experience.
38
39 %description -l pl
40 BMPx jest nastêpc± projektu BMP z przepisanym od zera kodem i skupia
41 siê na utrzymaniu stabilnej podstawy odtwarzacza audio, aby udostêpniæ
42 odtwarzacz ze spójn± i ³atw± do zrozumienia obs³ug±.
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 /sbin/ldconfig
86
87 %postun
88 umask 022
89 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
90
91 /sbin/ldconfig
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/bmp*
96 %{_mandir}/man*/*
97 %{_desktopdir}/*
98 %{_datadir}/bmpx
99 %{_datadir}/bmp-remote
100 %{_pixmapsdir}/*
101 %attr(755,root,root) %{_libdir}/libskinned.so.*
This page took 0.047005 seconds and 4 git commands to generate.