]> git.pld-linux.org Git - packages/amarok.git/blame - amarok.spec
- added alsa-lib-devel -> BR
[packages/amarok.git] / amarok.spec
CommitLineData
948e9545 1# TODO:
948e9545
AF
2# - add gstreamer subpackage with libamarok_gstengine_plugin
3# Conditional builds:
7e6732ad 4%bcond_without xmms # disable xmms wrapping
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
ac33bc29 19BuildRequires: kdemultimedia-devel >= 9:3.1.93
3022f84e 20BuildRequires: rpmbuild(macros) >= 1.129
43342c86 21BuildRequires: sed >= 4.0
3022f84e 22BuildRequires: taglib-devel >= 0.95
dd353647 23BuildRequires: unsermake >= 040511
3aa3d858 24BuildRequires: xine-lib-devel
ba295710 25%{?with_xmms:BuildRequires: xmms-devel}
3dce540f 26Requires: kdebase-core >= 9:3.1.93
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30A KDE audio player.
31
32%description -l pl
33Odtwarzacz audio dla KDE.
34
35%prep
67b93ebf 36%setup -q -n %{name}-%{version}
3dce540f 37
38%build
3022f84e 39cp -f /usr/share/automake/config.sub admin
d3a55e61 40
41export UNSERMAKE=/usr/share/unsermake/unsermake
42
43%{__make} -f admin/Makefile.common cvs
44
3dce540f 45%configure \
46 --disable-rpath \
d3a55e61 47 --with-qt-libraries=%{_libdir}
3dce540f 48
49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT \
bd5fd9cb 56 kde_htmldir=%{_kdedocdir} \
57 kde_libs_htmldir=%{_kdedocdir}
43342c86 58
08133359 59%find_lang amarok --all-name --with-kde
3dce540f 60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
08133359 64%files -f %{name}.lang
3dce540f 65%defattr(644,root,root,755)
66%attr(755,root,root) %{_bindir}/amarok
ba295710 67%{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper}
d3a55e61 68%attr(755,root,root) %{_bindir}/amarokapp
69%{_libdir}/kde3/libamarok_artsengine_plugin.la
70%attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so
3dce540f 71%{_libdir}/libamarokarts.la
72%attr(755,root,root) %{_libdir}/libamarokarts.so
73%{_libdir}/mcop/Amarok
74%{_libdir}/mcop/amarokarts.mcopclass
75%{_libdir}/mcop/amarokarts.mcoptype
76%{_datadir}/apps/amarok
d3a55e61 77%{_datadir}/config.kcfg/amarok.kcfg
78%{_datadir}/services/amarok_artsengine_plugin.desktop
79%{_datadir}/servicetypes/amarok_plugin.desktop
3dce540f 80%{_desktopdir}/kde/amarok.desktop
81%{_iconsdir}/[!l]*/*/apps/amarok.png
3aa3d858 82%{_datadir}/config/*
This page took 0.107917 seconds and 4 git commands to generate.