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