- enable qt gui
[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:        1
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 Requires:       audacious-transport-unix_io
34 Suggests:       %{name}-general-skins
35 Obsoletes:      audacious-container-mms
36 Obsoletes:      audacious-container-stdio
37 Obsoletes:      audacious-general-audioscrobbler
38 Obsoletes:      audacious-general-curl
39 Obsoletes:      audacious-general-evdev
40 Obsoletes:      audacious-general-mtp_up
41 Obsoletes:      audacious-general-streambrowser
42 Obsoletes:      audacious-general-vfstrace
43 Obsoletes:      audacious-input-alac
44 Obsoletes:      audacious-input-cdaudio
45 Obsoletes:      audacious-input-cube
46 Obsoletes:      audacious-input-demac
47 Obsoletes:      audacious-input-flac
48 Obsoletes:      audacious-input-mikmod
49 Obsoletes:      audacious-input-mpc
50 Obsoletes:      audacious-input-mpg123
51 Obsoletes:      audacious-input-mplayer
52 Obsoletes:      audacious-input-musepack
53 Obsoletes:      audacious-input-sap
54 Obsoletes:      audacious-input-timidity
55 Obsoletes:      audacious-input-tta
56 Obsoletes:      audacious-input-wav
57 Obsoletes:      audacious-input-wma
58 Obsoletes:      audacious-output-ALSA
59 Obsoletes:      audacious-output-OSS
60 Obsoletes:      audacious-output-arts
61 Obsoletes:      audacious-output-disk
62 Obsoletes:      audacious-output-icecast
63 Obsoletes:      audacious-output-lame
64 Obsoletes:      audacious-output-null
65 Obsoletes:      audacious-output-oss
66 Obsoletes:      audacious-static
67 Obsoletes:      audacious-transport-curl
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 %build
147 %{__aclocal} -I m4
148 %{__autoconf}
149 %{__autoheader}
150 %configure \
151         --enable-thunar \
152         --enable-qt
153 %{__make}
154
155 %install
156 rm -rf $RPM_BUILD_ROOT
157 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/{Container,Effect,General,Input,Output,Transport,Visualization}
158
159 %{__make} install \
160         DESTDIR=$RPM_BUILD_ROOT
161
162 %{__mv} $RPM_BUILD_ROOT%{_localedir}/fa{_IR,}
163 %{__mv} $RPM_BUILD_ROOT%{_localedir}/id{_ID,}
164 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ml{_IN,}
165 %{__mv} $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
166 %{__mv} $RPM_BUILD_ROOT%{_localedir}/sr{_RS,}
167 %find_lang %{name}
168
169 %clean
170 rm -rf $RPM_BUILD_ROOT
171
172 %post
173 %banner %{name} -e << EOF
174 Remember to install appropriate input plugins for files
175 you want to play!
176 EOF
177
178 %update_desktop_database_post
179
180 %postun
181 %update_desktop_database_postun
182
183 %post   libs -p /sbin/ldconfig
184 %postun libs -p /sbin/ldconfig
185
186 %files -f %{name}.lang
187 %defattr(644,root,root,755)
188 %doc AUTHORS COPYING
189 %attr(755,root,root) %{_bindir}/audacious
190 %attr(755,root,root) %{_bindir}/audtool
191 %{_mandir}/man1/audacious.1*
192 %{_mandir}/man1/audtool.1*
193 %dir %{_datadir}/audacious
194 %{_datadir}/audacious/images
195 %{_desktopdir}/audacious.desktop
196 %{_iconsdir}/hicolor/*/apps/audacious.*
197
198 %files libs
199 %defattr(644,root,root,755)
200 %attr(755,root,root) %{_libdir}/libaudcore.so.*.*.*
201 %attr(755,root,root) %ghost %{_libdir}/libaudcore.so.3
202 %attr(755,root,root) %{_libdir}/libaudgui.so.*.*.*
203 %attr(755,root,root) %ghost %{_libdir}/libaudgui.so.3
204 %attr(755,root,root) %{_libdir}/libaudqt.so.*.*.*
205 %attr(755,root,root) %ghost %{_libdir}/libaudqt.so.0
206 %attr(755,root,root) %{_libdir}/libaudtag.so.*.*.*
207 %attr(755,root,root) %ghost %{_libdir}/libaudtag.so.2
208 %dir %{_libdir}/%{name}
209 %dir %{_libdir}/%{name}/Container
210 %dir %{_libdir}/%{name}/Effect
211 %dir %{_libdir}/%{name}/General
212 %dir %{_libdir}/%{name}/Input
213 %dir %{_libdir}/%{name}/Output
214 %dir %{_libdir}/%{name}/Transport
215 %dir %{_libdir}/%{name}/Visualization
216
217 %files devel
218 %defattr(644,root,root,755)
219 %attr(755,root,root) %{_libdir}/libaudcore.so
220 %attr(755,root,root) %{_libdir}/libaudgui.so
221 %attr(755,root,root) %{_libdir}/libaudqt.so
222 %attr(755,root,root) %{_libdir}/libaudtag.so
223 %{_includedir}/audacious
224 %{_includedir}/libaudcore
225 %{_includedir}/libaudgui
226 %{_includedir}/libaudqt
227 %{_pkgconfigdir}/audacious.pc
This page took 0.072652 seconds and 3 git commands to generate.