]> git.pld-linux.org Git - packages/audacious.git/blame - audacious.spec
- up to 1.4.6
[packages/audacious.git] / audacious.spec
CommitLineData
82acba88
MC
1#
2# Conditional build:
84ac0588 3%bcond_with gconf # build without gconf support
48205b0d 4#
82acba88 5Summary: Sound player with the WinAmp GUI, for Unix-based systems for GTK+2
fa7198b8 6Summary(pl.UTF-8): Odtwarzacz dźwięku z interfejsem WinAmpa dla GTK+2
82acba88 7Name: audacious
a3c25f9a 8Version: 1.4.6
9Release: 1
82acba88 10License: GPL
f7e744a4 11Group: X11/Applications/Sound
793d7774 12Source0: http://distfiles.atheme.org/%{name}-%{version}.tbz2
08bdbc43 13# Source0-md5: fcaa5ecc376d36fab7cec2a69ec03aac
16f2519a 14Patch0: %{name}-desktop.patch
f7e744a4 15Patch1: %{name}-home_etc.patch
969ee4d4 16Patch2: %{name}-pc.patch
b6d3d1b4 17URL: http://audacious-media-player.org/
fc9e7122 18%{?with_gconf:BuildRequires: GConf2-devel >= 2.6.0}
f7e744a4 19BuildRequires: autoconf >= 2.59
82acba88 20BuildRequires: automake
793d7774 21BuildRequires: dbus-devel >= 0.60
22BuildRequires: dbus-glib-devel >= 0.60
f7e744a4 23BuildRequires: gettext-devel
35553da9 24BuildRequires: gtk+2-devel >= 2:2.6.0
82acba88 25BuildRequires: home-etc-devel
9b18c6e5 26BuildRequires: libglade2-devel >= 2.3.1
793d7774 27BuildRequires: libmowgli-devel >= 0.4.0
28BuildRequires: libsamplerate-devel
d80a257b 29BuildRequires: libstdc++-devel
793d7774 30BuildRequires: mcs-devel >= 0.4.0
82acba88 31BuildRequires: pkgconfig
f7e744a4 32BuildRequires: rpmbuild(macros) >= 1.198
35553da9 33Requires(post,postun): desktop-file-utils
f7e744a4 34Requires: %{name}-libs = %{version}-%{release}
82acba88 35Requires: audacious-output-plugin
ec47353c 36Requires: audacious-transport-stdio
793d7774 37Obsoletes: audacious-container-mms
38Obsoletes: audacious-container-stdio
39Obsoletes: audacious-general-audioscrobbler
40Obsoletes: audacious-general-curl
ec47353c 41Obsoletes: audacious-general-notify
793d7774 42Obsoletes: audacious-input-cdaudio
ec47353c 43Obsoletes: audacious-input-cube
793d7774 44Obsoletes: audacious-input-flac
45Obsoletes: audacious-input-mikmod
46Obsoletes: audacious-input-mpc
47Obsoletes: audacious-input-mpg123
ec47353c 48Obsoletes: audacious-input-mplayer
793d7774 49Obsoletes: audacious-input-sap
50Obsoletes: audacious-output-ALSA
51Obsoletes: audacious-output-OSS
52Obsoletes: audacious-output-disk
53Obsoletes: audacious-output-lame
f7e744a4 54Obsoletes: audacious-static
793d7774 55Obsoletes: audacious-transport-curl
ec47353c 56Obsoletes: audacious-visualization-iris
793d7774 57Obsoletes: audacious-visualization-rovascope
5804e54e 58# sr@Latn vs. sr@latin
59Conflicts: glibc-misc < 6:2.7
82acba88
MC
60BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
62%description
f7119ba7
MC
63Audacious is a media player based on BMP. Since the development of the
64former project had been terminated, this fork was created.
82acba88 65
2c329446
JR
66%description -l pl.UTF-8
67Audacious to odtwarzacz mediów oparty na BMP. Powstał on ponieważ
68rozwój pierwowzoru został zakończony.
82acba88
MC
69
70%package libs
71Summary: Audacious media player library
fa7198b8 72Summary(pl.UTF-8): Biblioteka odtwarzacza multimedialnego Audacious
82acba88 73Group: X11/Applications/Sound
f611242e
JB
74Requires: gtk+2 >= 2:2.6.0
75Requires: libmowgli >= 0.4.0
82acba88
MC
76
77%description libs
78Audacious media player library.
79
2c329446 80%description libs -l pl.UTF-8
82acba88
MC
81Biblioteka odtwarzacza multimedialnego Audacious.
82
83%package devel
84Summary: Header files for Audacious media player
fa7198b8 85Summary(pl.UTF-8): Pliki nagłówkowe odtwarzacza multimedialnego Audacious
82acba88 86Group: X11/Development/Libraries
f7e744a4 87Requires: %{name}-libs = %{version}-%{release}
969ee4d4 88Requires: dbus-glib-devel
f7e744a4 89Requires: gtk+2-devel >= 2:2.6.0
82acba88 90Requires: home-etc-devel
f611242e 91Requires: libmowgli-devel >= 0.4.0
c5029b22 92Requires: mcs-devel
82acba88
MC
93
94%description devel
95Header files required for compiling Audacious media player plugins.
96
2c329446
JR
97%description devel -l pl.UTF-8
98Pliki nagłówkowe potrzebne do kompilowania wtyczek odtwarzacza
82acba88
MC
99multimedialnego Audacious.
100
82acba88 101%prep
0801f6cc 102%setup -q
f7119ba7 103%patch0 -p1
f7e744a4 104%patch1 -p1
969ee4d4 105%patch2 -p1
82acba88
MC
106
107%build
82acba88
MC
108%{__aclocal} -I m4
109%{__autoconf}
110%{__autoheader}
82acba88 111%configure \
f7e744a4 112 --%{?with_gconf:en}%{!?with_gconf:dis}able-gconf \
793d7774 113 --enable-samplerate \
f7e744a4
MB
114 --enable-shared
115
82acba88
MC
116%{__make}
117
118%install
119rm -rf $RPM_BUILD_ROOT
793d7774 120install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/{Container,Effect,General,Input,Output,Transport,Visualization}
82acba88
MC
121
122%{__make} install \
f7e744a4 123 DESTDIR=$RPM_BUILD_ROOT
bf452245 124
793d7774 125# there is already .desktop in %{_desktopdir}
126rm -rf $RPM_BUILD_ROOT%{_datadir}/audacious/applications
127
5804e54e 128[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
129 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
82acba88
MC
130%find_lang %{name}
131
132%clean
133rm -rf $RPM_BUILD_ROOT
134
135%post
9b18c6e5 136%banner %{name} -e << EOF
137Remember to install appropriate input plugins for files
138you want to play!
139EOF
140
f7e744a4 141%update_desktop_database_post
82acba88
MC
142
143%postun
f7e744a4 144%update_desktop_database_postun
82acba88
MC
145
146%post libs -p /sbin/ldconfig
147%postun libs -p /sbin/ldconfig
148
149%files -f %{name}.lang
150%defattr(644,root,root,755)
151%attr(755,root,root) %{_bindir}/audacious
fc9e7122 152%attr(755,root,root) %{_bindir}/audtool
82acba88 153%{_mandir}/man*/*
82acba88 154%dir %{_datadir}/audacious
f7e744a4 155%{_datadir}/audacious/glade
82acba88 156%dir %{_datadir}/audacious/images
9b18c6e5 157%{_datadir}/audacious/images/*
f7e744a4 158%{_datadir}/audacious/Skins
d80a257b 159%{_datadir}/audacious/ui
b888f253 160%{_desktopdir}/*.desktop
161%{_pixmapsdir}/*.png
9b18c6e5 162
163%files libs
164%defattr(644,root,root,755)
793d7774 165%attr(755,root,root) %{_libdir}/libaudclient.so.*.*.*
166%ghost %attr(755,root,root) %{_libdir}/libaudclient.so.?
167%dir %{_libdir}/%{name}
168%dir %{_libdir}/%{name}/Container
169%dir %{_libdir}/%{name}/Effect
170%dir %{_libdir}/%{name}/General
171%dir %{_libdir}/%{name}/Input
172%dir %{_libdir}/%{name}/Output
173%dir %{_libdir}/%{name}/Transport
174%dir %{_libdir}/%{name}/Visualization
175%attr(755,root,root) %{_libdir}/%{name}/libaudid3tag.so.*.*.*
176%attr(755,root,root) %{_libdir}/%{name}/libaudid3tag.so.?
82acba88
MC
177
178%files devel
179%defattr(644,root,root,755)
793d7774 180%attr(755,root,root) %{_libdir}/libaudclient.so
181%attr(755,root,root) %{_libdir}/%{name}/libaudid3tag.so
f7e744a4
MB
182%{_includedir}/audacious
183%{_pkgconfigdir}/audacious.pc
793d7774 184%{_pkgconfigdir}/audclient.pc
This page took 0.108175 seconds and 4 git commands to generate.