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