]> git.pld-linux.org Git - packages/amarok.git/blame - amarok.spec
- Update to 1.1.1 (NFY) 0.1 rel
[packages/amarok.git] / amarok.spec
CommitLineData
8d75a549 1#
948e9545 2# Conditional builds:
8d75a549 3%bcond_without gstreamer # disable gstreamer
d4535bda
JB
4%bcond_without xmms # disable xmms wrapping
5#
3dce540f 6Summary: A KDE audio player
7Summary(pl): Odtwarzacz audio dla KDE
8Name: amarok
3fd16f2f 9Version: 1.1.1
10Release: 0.1
3dce540f 11License: GPL
12Group: X11/Applications/Multimedia
67b93ebf 13Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
3fd16f2f 14# Source0-md5: 6c0cccd4c8b508a2e0c9b0f187a907cf
567ab89c 15URL: http://amarok.kde.org/
fc49b51e 16Buildrequires: alsa-lib-devel
3aa3d858 17Buildrequires: arts-qt-devel
3022f84e 18Buildrequires: automake
8d75a549 19%{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.8.1}
ac33bc29 20BuildRequires: kdemultimedia-devel >= 9:3.1.93
3022f84e 21BuildRequires: rpmbuild(macros) >= 1.129
43342c86 22BuildRequires: sed >= 4.0
3fd16f2f 23BuildRequires: sqlite >= 3.0.0
24BuildRequires: taglib-devel >= 1.3
dd353647 25BuildRequires: unsermake >= 040511
3aa3d858 26BuildRequires: xine-lib-devel
8d75a549 27%{?with_xmms:Buildrequires: xmms-devel}
3dce540f 28Requires: kdebase-core >= 9:3.1.93
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32A KDE audio player.
33
34%description -l pl
35Odtwarzacz audio dla KDE.
36
8d75a549 37%package gstreamer
d4535bda 38Summary: Plugin gstreamer
8d75a549 39Summary(pl): Wtyczka gstreamer
40Group: X11/Applications/Multimedia
4d1b1b41 41Requires: %{name} = %{version}-%{release}
8d75a549 42
43%description gstreamer
d4535bda 44Plugin gstreamer.
8d75a549 45
46%description gstreamer -l pl
47Wtyczka gstreamer.
48
3dce540f 49%prep
67b93ebf 50%setup -q -n %{name}-%{version}
3dce540f 51
52%build
4d1b1b41 53cp -f %{_datadir}/automake/config.sub admin
d3a55e61 54
4d1b1b41 55export UNSERMAKE=%{_datadir}/unsermake/unsermake
d3a55e61 56
57%{__make} -f admin/Makefile.common cvs
58
3dce540f 59%configure \
60 --disable-rpath \
d3a55e61 61 --with-qt-libraries=%{_libdir}
3dce540f 62
63%{__make}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT \
bd5fd9cb 70 kde_htmldir=%{_kdedocdir} \
71 kde_libs_htmldir=%{_kdedocdir}
43342c86 72
4d1b1b41 73%find_lang amarok --all-name --with-kde
3dce540f 74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
08133359 78%files -f %{name}.lang
3dce540f 79%defattr(644,root,root,755)
8d75a549 80%doc AUTHORS ChangeLog README TODO
d4535bda 81%attr(755,root,root) %{_bindir}/amarok
3fd16f2f 82%{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper2}
d3a55e61 83%attr(755,root,root) %{_bindir}/amarokapp
3fd16f2f 84%attr(755,root,root) %{_bindir}/release_amarok
d3a55e61 85%{_libdir}/kde3/libamarok_artsengine_plugin.la
86%attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so
3dce540f 87%{_libdir}/libamarokarts.la
88%attr(755,root,root) %{_libdir}/libamarokarts.so
89%{_libdir}/mcop/Amarok
90%{_libdir}/mcop/amarokarts.mcopclass
91%{_libdir}/mcop/amarokarts.mcoptype
92%{_datadir}/apps/amarok
d3a55e61 93%{_datadir}/config.kcfg/amarok.kcfg
3fd16f2f 94%{_datadir}/config.kcfg/gstconfig.kcfg
d3a55e61 95%{_datadir}/services/amarok_artsengine_plugin.desktop
96%{_datadir}/servicetypes/amarok_plugin.desktop
3dce540f 97%{_desktopdir}/kde/amarok.desktop
98%{_iconsdir}/[!l]*/*/apps/amarok.png
3fd16f2f 99%{_iconsdir}/crystalsvg/*/*/player_playlist_2.png
3aa3d858 100%{_datadir}/config/*
8d75a549 101
102%if %{with gstreamer}
103%files gstreamer
104%defattr(644,root,root,755)
105%{_libdir}/kde3/libamarok_gstengine_plugin.la
106%attr(755,root,root) %{_libdir}/kde3/libamarok_gstengine_plugin.so
107%{_datadir}/services/amarok_gstengine_plugin.desktop
108%endif
This page took 0.125889 seconds and 4 git commands to generate.