]> git.pld-linux.org Git - packages/bmpx.git/blob - bmpx.spec
- started work on 0.14, moved all required plugins to one plugin-base
[packages/bmpx.git] / bmpx.spec
1 Summary:        Sound player with the WinAmp GUI, for Unix-based systems for GTK+
2 Summary(pl):    Odtwarzacz d¼wiêku z interfejsem WinAmpa dla GTK+
3 Name:           bmpx
4 Version:        0.14
5 Release:        0.1
6 License:        GPL v2
7 Group:          X11/Applications/Sound
8 Source0:        http://dl.sourceforge.net/beepmp/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d049ec4c59ec5a0596eab32b1a70b2a9
10 Source1:        mp3license
11 Patch0:         %{name}-desktop.patch
12 URL:            http://beep-media-player.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  curl-devel
16 BuildRequires:  dbus-glib-devel
17 BuildRequires:  esound-devel >= 0.2.8
18 BuildRequires:  fam-devel
19 BuildRequires:  gstreamer-devel >= 0.10
20 BuildRequires:  gtk+2-devel >= 2:2.8.0
21 BuildRequires:  libglade2-devel >= 1:2.5.1
22 BuildRequires:  libtool
23 BuildRequires:  libvorbis-devel >= 1:1.0
24 BuildRequires:  rpmbuild(macros) >= 1.194
25 BuildRequires:  rpm-pythonprov
26 BuildRequires:  startup-notification-devel
27 BuildRequires:  taglib-devel
28 Requires:       %{name}-libs = %{version}-%{release}
29 Requires:       %{name}-plugis-base = %{version}-%{release}
30 Requires:       gstreamer-audio-effects
31 Requires:       gstreamer-audio-formats
32 Requires:       gstreamer-audiosink
33 Obsoletes:      libchroma
34 Obsoletes:      libchroma-devel
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 BMPx is the follow-up of the BMP project with a codebase rewritten
39 from scratch and aims to maintain a stable audio player foundation,
40 and to provide a player with a consistent and easy to understand usage
41 experience.
42
43 %description -l pl
44 BMPx jest nastêpc± projektu BMP z przepisanym od zera kodem i skupia
45 siê na utrzymaniu stabilnej podstawy odtwarzacza d¼wiêku, aby
46 udostêpniæ odtwarzacz ze spójn± i ³atw± do zrozumienia obs³ug±.
47
48 %package libs
49 Summary:        BMPx player libraries
50 Summary(pl):    Biblioteki odtwarzacza BMPx
51 Group:          X11/Libraries
52
53 %description libs
54 BMPx player libraries.
55
56 %description libs -l pl
57 Biblioteki odtwarzacza BMPx.
58
59 %package devel
60 Summary:        Header files for BMPx media player
61 Summary(pl):    Pliki nag³ówkowe odtwarzacza multimedialnego BMPx
62 Group:          X11/Development/Libraries
63 Requires:       %{name}-libs = %{version}-%{release}
64
65 %description devel
66 Header files required for compiling BMPx media player plugins.
67
68 %description devel -l pl
69 Pliki nag³ówkowe potrzebne do kompilowania wtyczek odtwarzacza
70 multimedialnego BMPx.
71
72 %package static
73 Summary:        Static BMPx library
74 Summary(pl):    Statyczna biblioteka BMPx
75 Group:          X11/Development/Libraries
76 Requires:       %{name}-devel = %{version}-%{release}
77
78 %description static
79 Static BMPx library.
80
81 %description static -l pl
82 Statyczna biblioteka BMPx.
83
84 %package plugins-base
85 Summary:        Base plugin for BMPx
86 Summary(pl):    Podstawowe wtyczki dla BMPx
87 Group:          X11/Applications/Sound
88 Requires:       %{name} = %{version}-%{release}
89
90 %description plugins-base
91 Base plugin for BMPx.
92
93 %description plugins-base -l pl
94 Podstawowe wtyczki dla BMPx.
95
96 %package remote
97 Summary:        BMPx python status watcher
98 Summary(pl):    Obserwator statusu BMPx
99 Group:          X11/Applications/Sound
100 Requires:       %{name} = %{version}-%{release}
101
102 %description remote
103 BMPx python status watcher.
104
105 %description remote -l pl
106 Obserwator statusu BMPx.
107
108 %package remote-curses
109 Summary:        BMPx python status watcher
110 Summary(pl):    Obserwator statusu BMPx w pythonie
111 Group:          X11/Applications/Sound
112 Requires:       %{name} = %{version}-%{release}
113
114 %description remote-curses
115 BMPx python status watcher (CLI interface).
116
117 %description remote-curses -l pl
118 Obserwator statusu BMPx w pythonie (interfejs CLI).
119
120 %package remote-gtk
121 Summary:        BMPx python status watcher
122 Summary(pl):    Obserwator statusu BMPx w pythonie
123 Group:          X11/Applications/Sound
124 Requires:       %{name} = %{version}-%{release}
125 Requires:       python-dbus
126 Requires:       python-pygtk-glade
127
128 %description remote-gtk
129 BMPx python status watcher (GTK+ interface).
130
131 %description remote-gtk -l pl
132 Obserwator statusu BMPx w pythonie (interfejs GTK+).
133
134 %prep
135 %setup -q
136 %patch0 -p1
137
138 %build
139 %{__libtoolize}
140 %{__aclocal} -I m4
141 %{__autoconf}
142 %{__autoheader}
143 %{__automake}
144 %configure \
145         --enable-shared \
146         --enable-static
147 %{__make}
148
149 %install
150 rm -rf $RPM_BUILD_ROOT
151
152 %{__make} install \
153         DESTDIR=$RPM_BUILD_ROOT \
154         m4datadir=%{_aclocaldir}
155
156 rm -f $RPM_BUILD_ROOT%{_datadir}/bmpx/data/GPL.txt
157
158 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
159 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
160         $RPM_BUILD_ROOT%{_pixmapsdir}
161
162 rm -f $RPM_BUILD_ROOT%{_libdir}/bmp-2.0/plugins/*/*.{a,la}
163
164 %find_lang %{name}
165
166 %clean
167 rm -rf $RPM_BUILD_ROOT
168
169 %post
170 umask 022
171 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
172
173 %banner %{name} -e << EOF
174 Remember to install appropriate GStreamer plugins for files
175 you want to play:
176 - gstreamer-flac (for FLAC)
177 - gstreamer-mad (for MP3s)
178 - gstreamer-vorbis (for Ogg Vorbis)
179 EOF
180
181 %postun
182 if [ $1 = 0 ]; then
183     umask 022
184     [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
185 fi
186
187 %post   libs -p /sbin/ldconfig
188 %postun libs -p /sbin/ldconfig
189
190 %files -f %{name}.lang
191 %defattr(644,root,root,755)
192 %doc AUTHORS ChangeLog NEWS README
193 %attr(755,root,root) %{_bindir}/beep-media-player-2
194 %attr(755,root,root) %{_bindir}/bmp-enqueue-files-2.0 
195 %attr(755,root,root) %{_bindir}/bmp-enqueue-uris-2.0
196 %attr(755,root,root) %{_bindir}/bmp-play-files-2.0
197 %attr(755,root,root) %{_libexecdir}/beep-media-player-2-bin
198 %dir %{_libdir}/bmp-2.0
199 %dir %{_libdir}/bmp-2.0/plugins
200 %{_datadir}/bmpx
201 %{_mandir}/man*/*
202 %{_desktopdir}/*
203 %{_pixmapsdir}/*
204
205 %files libs
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
208
209 %files devel
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_libdir}/lib*.so
212 %{_libdir}/lib*.la
213 %{_includedir}/bmp-2.0
214 %{_includedir}/libchroma
215 %{_includedir}/libhrel
216 %{_pkgconfdir}/*.pc
217
218 %files static
219 %defattr(644,root,root,755)
220 %{_libdir}/lib*.a
221
222 %files plugins-base
223 %defattr(644,root,root,755)
224 %dir %{_libdir}/bmp-2.0/plugins/container
225 %dir %{_libdir}/bmp-2.0/plugins/flow
226 %dir %{_libdir}/bmp-2.0/plugins/transport
227 %attr(755,root,root) %{_libdir}/bmp-2.0/plugins/container/*.so*
228 %attr(755,root,root) %{_libdir}/bmp-2.0/plugins/flow/*.so*
229 %attr(755,root,root) %{_libdir}/bmp-2.0/plugins/transport/*.so*
This page took 0.054408 seconds and 4 git commands to generate.