80f64929527752d02c835c138883dfb42ca42259
[packages/audacious.git] / audacious.spec
1 # TODO:
2 # - split gtk and qt libs
3 Summary:        Sound player with the WinAmp GUI, for Unix-based systems for GTK+
4 Summary(hu.UTF-8):      Zenelejátszó WinAmp-szerű felülettel GTK+-t használó rendszerekhez
5 Summary(pl.UTF-8):      Odtwarzacz dźwięku z interfejsem WinAmpa dla GTK+
6 Name:           audacious
7 Version:        3.6.1
8 Release:        3
9 License:        BSD
10 Group:          X11/Applications/Sound
11 Source0:        http://distfiles.audacious-media-player.org/%{name}-%{version}.tar.bz2
12 # Source0-md5:  8bfec6d11a05f4be6cf9eab4e18be307
13 URL:            http://audacious-media-player.org/
14 BuildRequires:  Qt5Core-devel
15 BuildRequires:  Qt5Gui-devel
16 BuildRequires:  Qt5Widgets-devel
17 BuildRequires:  autoconf >= 2.59
18 BuildRequires:  automake
19 BuildRequires:  cairo-devel >= 1.6
20 BuildRequires:  dbus-devel >= 0.60
21 BuildRequires:  dbus-glib-devel >= 0.60
22 BuildRequires:  gettext-tools
23 BuildRequires:  glib2-devel >= 1:2.28
24 BuildRequires:  gtk+3-devel >= 3.0.0
25 BuildRequires:  libguess-devel >= 1.1
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  pango-devel >= 1:1.20
28 BuildRequires:  pkgconfig
29 BuildRequires:  rpmbuild(macros) >= 1.198
30 Requires(post,postun):  desktop-file-utils
31 Requires:       %{name}-libs = %{version}-%{release}
32 Requires:       audacious-output-plugin
33 Suggests:       %{name}-general-skins
34 Obsoletes:      audacious-container-mms
35 Obsoletes:      audacious-container-stdio
36 Obsoletes:      audacious-general-audioscrobbler
37 Obsoletes:      audacious-general-curl
38 Obsoletes:      audacious-general-evdev
39 Obsoletes:      audacious-general-mtp_up
40 Obsoletes:      audacious-general-streambrowser
41 Obsoletes:      audacious-general-vfstrace
42 Obsoletes:      audacious-input-alac
43 Obsoletes:      audacious-input-cdaudio
44 Obsoletes:      audacious-input-cube
45 Obsoletes:      audacious-input-demac
46 Obsoletes:      audacious-input-flac
47 Obsoletes:      audacious-input-mikmod
48 Obsoletes:      audacious-input-mpc
49 Obsoletes:      audacious-input-mpg123
50 Obsoletes:      audacious-input-mplayer
51 Obsoletes:      audacious-input-musepack
52 Obsoletes:      audacious-input-sap
53 Obsoletes:      audacious-input-timidity
54 Obsoletes:      audacious-input-tta
55 Obsoletes:      audacious-input-wav
56 Obsoletes:      audacious-input-wma
57 Obsoletes:      audacious-output-ALSA
58 Obsoletes:      audacious-output-OSS
59 Obsoletes:      audacious-output-arts
60 Obsoletes:      audacious-output-disk
61 Obsoletes:      audacious-output-icecast
62 Obsoletes:      audacious-output-lame
63 Obsoletes:      audacious-output-null
64 Obsoletes:      audacious-output-oss
65 Obsoletes:      audacious-static
66 Obsoletes:      audacious-transport-curl
67 Obsoletes:      audacious-transport-unix_io
68 Obsoletes:      audacious-visualization-iris
69 Obsoletes:      audacious-visualization-moodbar
70 Obsoletes:      audacious-visualization-paranormal
71 Obsoletes:      audacious-visualization-projectM
72 Obsoletes:      audacious-visualization-rocklight
73 Obsoletes:      audacious-visualization-rootvis
74 Obsoletes:      audacious-visualization-rovascope
75 Obsoletes:      audacious-visualization-spectrum
76 Obsoletes:      beep-media-player
77 Obsoletes:      bmp
78 Obsoletes:      bmp-visualization-minilcd
79 Obsoletes:      bmp-visualization-wmdiscotux
80 # sr@Latn vs. sr@latin
81 Conflicts:      glibc-misc < 6:2.7
82 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83
84 %description
85 Audacious is a media player based on BMP. Since the development of the
86 former project had been terminated, this fork was created.
87
88 %description -l hu.UTF-8
89 Audacious egy BMP-n alapuló médialejátszó. Amióta a kiinduló projekt
90 fejlesztése abbamaradt, ez a leszármazott létrejött.
91
92 %description -l pl.UTF-8
93 Audacious to odtwarzacz mediów oparty na BMP. Powstał on ponieważ
94 rozwój pierwowzoru został zakończony.
95
96 %package libs
97 Summary:        Audacious media player libraries
98 Summary(hu.UTF-8):      Audacious médialejátszó könyvtár
99 Summary(pl.UTF-8):      Biblioteki odtwarzacza multimedialnego Audacious
100 Group:          X11/Libraries
101 Requires:       cairo >= 1.6
102 Requires:       glib2 >= 1:2.28
103 Requires:       gtk+3 >= 3.0.0
104 Requires:       pango >= 1:1.20
105 Obsoletes:      beep-media-player-libs
106 Obsoletes:      bmp-libs
107
108 %description libs
109 Audacious media player libraries.
110
111 %description libs -l hu.UTF-8
112 Audacious médialejátszó könyvtár.
113
114 %description libs -l pl.UTF-8
115 Biblioteki odtwarzacza multimedialnego Audacious.
116
117 %package devel
118 Summary:        Header files for Audacious media player
119 Summary(hu.UTF-8):      Az audacious fejlécfájljai
120 Summary(pl.UTF-8):      Pliki nagłówkowe odtwarzacza multimedialnego Audacious
121 Group:          X11/Development/Libraries
122 Requires:       %{name}-libs = %{version}-%{release}
123 Requires:       cairo-devel >= 1.6
124 Requires:       dbus-glib-devel >= 0.60
125 Requires:       glib2-devel >= 1:2.28
126 Requires:       gtk+3-devel >= 3.0.0
127 Requires:       pango-devel >= 1:1.20
128 Obsoletes:      beep-media-player-devel
129 Obsoletes:      beep-media-player-static
130 Obsoletes:      bmp-devel
131 Obsoletes:      bmp-static
132
133 %description devel
134 Header files required for compiling Audacious media player plugins.
135
136 %description devel -l hu.UTF-8
137 Az audacious fejlécfájljai.
138
139 %description devel -l pl.UTF-8
140 Pliki nagłówkowe potrzebne do kompilowania wtyczek odtwarzacza
141 multimedialnego Audacious.
142
143 %prep
144 %setup -q
145
146 # verbose build
147 sed -i '\,^.SILENT:,d' buildsys.mk.in
148
149 %build
150 %{__aclocal} -I m4
151 %{__autoconf}
152 %{__autoheader}
153 %configure \
154         --enable-thunar \
155         --enable-qt
156 %{__make}
157
158 %install
159 rm -rf $RPM_BUILD_ROOT
160 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/{Container,Effect,General,Input,Output,Transport,Visualization}
161
162 %{__make} install \
163         DESTDIR=$RPM_BUILD_ROOT
164
165 %{__mv} $RPM_BUILD_ROOT%{_localedir}/fa{_IR,}
166 %{__mv} $RPM_BUILD_ROOT%{_localedir}/id{_ID,}
167 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ml{_IN,}
168 %{__mv} $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
169 rm -r $RPM_BUILD_ROOT%{_localedir}/sr_RS
170 %find_lang %{name}
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %post
176 %banner %{name} -e << EOF
177 Remember to install appropriate input plugins for files
178 you want to play!
179 EOF
180
181 %update_desktop_database_post
182
183 %postun
184 %update_desktop_database_postun
185
186 %post   libs -p /sbin/ldconfig
187 %postun libs -p /sbin/ldconfig
188
189 %files -f %{name}.lang
190 %defattr(644,root,root,755)
191 %doc AUTHORS COPYING
192 %attr(755,root,root) %{_bindir}/audacious
193 %attr(755,root,root) %{_bindir}/audtool
194 %{_mandir}/man1/audacious.1*
195 %{_mandir}/man1/audtool.1*
196 %dir %{_datadir}/audacious
197 %{_datadir}/audacious/images
198 %{_desktopdir}/audacious.desktop
199 %{_iconsdir}/hicolor/*/apps/audacious.*
200
201 %files libs
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_libdir}/libaudcore.so.*.*.*
204 %attr(755,root,root) %ghost %{_libdir}/libaudcore.so.3
205 %attr(755,root,root) %{_libdir}/libaudgui.so.*.*.*
206 %attr(755,root,root) %ghost %{_libdir}/libaudgui.so.3
207 %attr(755,root,root) %{_libdir}/libaudqt.so.*.*.*
208 %attr(755,root,root) %ghost %{_libdir}/libaudqt.so.0
209 %attr(755,root,root) %{_libdir}/libaudtag.so.*.*.*
210 %attr(755,root,root) %ghost %{_libdir}/libaudtag.so.2
211 %dir %{_libdir}/%{name}
212 %dir %{_libdir}/%{name}/Container
213 %dir %{_libdir}/%{name}/Effect
214 %dir %{_libdir}/%{name}/General
215 %dir %{_libdir}/%{name}/Input
216 %dir %{_libdir}/%{name}/Output
217 %dir %{_libdir}/%{name}/Transport
218 %dir %{_libdir}/%{name}/Visualization
219
220 %files devel
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_libdir}/libaudcore.so
223 %attr(755,root,root) %{_libdir}/libaudgui.so
224 %attr(755,root,root) %{_libdir}/libaudqt.so
225 %attr(755,root,root) %{_libdir}/libaudtag.so
226 %{_includedir}/audacious
227 %{_includedir}/libaudcore
228 %{_includedir}/libaudgui
229 %{_includedir}/libaudqt
230 %{_pkgconfigdir}/audacious.pc
This page took 0.095565 seconds and 2 git commands to generate.