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