]> git.pld-linux.org Git - packages/amarok.git/blame - amarok.spec
-fix lang
[packages/amarok.git] / amarok.spec
CommitLineData
7e6732ad 1%bcond_without xmms # disable xmms wrapping
d3a55e61 2%define _ver 1.0
3%define _snap 040511
dd353647 4%define _packager adgor
d3a55e61 5
3dce540f 6Summary: A KDE audio player
7Summary(pl): Odtwarzacz audio dla KDE
8Name: amarok
d3a55e61 9Version: %{_ver}
10Release: 0.%{_snap}.1
3dce540f 11License: GPL
12Group: X11/Applications/Multimedia
d3a55e61 13Source0: http://ep09.pld-linux.org/~%{_packager}/kde/%{name}-%{_snap}.tar.bz2
14# Source0-md5: ad33ab910393bba33f27bd90400498e9
15#Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
4db1ce0a 16URL: http://amarok.sf.net/
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
7e6732ad 25%if %{with xmms}
26BuildRequires: xmms-devel
27%endif
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
37%prep
d3a55e61 38%setup -q -n %{name}-%{_snap}
3dce540f 39
40%build
3022f84e 41cp -f /usr/share/automake/config.sub admin
d3a55e61 42
43export UNSERMAKE=/usr/share/unsermake/unsermake
44
45%{__make} -f admin/Makefile.common cvs
46
3dce540f 47%configure \
48 --disable-rpath \
d3a55e61 49 --with-qt-libraries=%{_libdir}
3dce540f 50
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT \
43342c86 58 kde_htmldir=%{_kdedocdir}
43342c86 59
60%find_lang %{name} --with-kde
3dce540f 61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
a83489ba 65%files -f %{name}.lang
3dce540f 66%defattr(644,root,root,755)
67%attr(755,root,root) %{_bindir}/amarok
7e6732ad 68%if %{with xmms}
d3a55e61 69%attr(755,root,root) %{_bindir}/amarok_xmmswrapper
7e6732ad 70%endif
d3a55e61 71%attr(755,root,root) %{_bindir}/amarokapp
72%{_libdir}/kde3/libamarok_artsengine_plugin.la
73%attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so
3dce540f 74%{_libdir}/libamarokarts.la
75%attr(755,root,root) %{_libdir}/libamarokarts.so
76%{_libdir}/mcop/Amarok
77%{_libdir}/mcop/amarokarts.mcopclass
78%{_libdir}/mcop/amarokarts.mcoptype
79%{_datadir}/apps/amarok
d3a55e61 80%{_datadir}/config.kcfg/amarok.kcfg
81%{_datadir}/services/amarok_artsengine_plugin.desktop
82%{_datadir}/servicetypes/amarok_plugin.desktop
3dce540f 83%{_desktopdir}/kde/amarok.desktop
84%{_iconsdir}/[!l]*/*/apps/amarok.png
3aa3d858 85%{_datadir}/config/*
This page took 0.077154 seconds and 4 git commands to generate.