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