]>
Commit | Line | Data |
---|---|---|
6cbc42d3 BZ |
1 | # |
2 | # TODO: | |
3 | # - prepare patch to Makefile (install) | |
4 | ||
5 | Summary: Lightweight music player with multiplaylists for KDE | |
6 | Summary(pl.UTF-8): Lekki odtwarzacz muzyki z wieloma listami odtwarzania dla KDE | |
7 | Name: falf | |
8 | Version: 1.0 | |
9 | Release: 0.5 | |
10 | License: GPL | |
11 | Group: X11/Applications | |
12 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: d80056c9d7f91ce377eb5fd01043b700 | |
14 | URL: http://falf.sf.net/ | |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: kdelibs-devel >= 9:3.2.0 | |
17 | BuildRequires: qmake >= 3.3.0 | |
18 | BuildRequires: rpmbuild(macros) >= 1.129 | |
19 | BuildRequires: taglib-devel | |
20 | BuildRequires: xine-lib-devel | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | FALF Player is based on foobar2000 music player for KDE. | |
25 | ||
26 | Highlights: | |
27 | - multiplaylist support | |
28 | - lyrics support | |
29 | - m3u support | |
30 | - last.fm support | |
31 | - HTTP streams support (radio) | |
32 | - built-in tags' editor | |
33 | - built-in equalizer | |
34 | - easy transfer of tracks to removable device | |
35 | - high stability | |
36 | - low memory consumption | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | FALF Player jest wzorowany na foobar2000 odtwarzaczem muzyki dla KDE. | |
40 | ||
41 | Atuty: | |
42 | - wsparcie dla wielu list odtwarzania | |
43 | - wsparcie dla tekstow piosenek | |
44 | - wsparcie dla plikow m3u | |
45 | - wsparcie dla last.fm | |
46 | - wsparcie dla strumieni HTTP (radio) | |
47 | - wbudowany edytor tagow | |
48 | - wbudowany korektor | |
49 | - latwe przenoszenie danych do odtwarzaczy przenosnych | |
50 | - wysoka stabilnosc | |
51 | - niskie zuzycie pamieci | |
52 | ||
53 | %prep | |
54 | %setup -q | |
55 | ||
56 | %build | |
57 | export QTDIR=/usr | |
58 | qmake | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_iconsdir}/hicolor,%{_desktopdir},%{_datadir}/apps/konqueror/servicemenus} | |
64 | ||
65 | install bin/falf $RPM_BUILD_ROOT%{_bindir} | |
66 | ||
67 | for i in pl it es nl zh_CN cs ru uk ; | |
68 | do | |
69 | install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES | |
70 | msgfmt po/$i/falf.po -o $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/falf.mo | |
71 | done | |
72 | ||
73 | cp -Rf icons/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor | |
74 | install applnk/falf.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
75 | install applnk/falf_mnu.desktop $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus | |
76 | ||
77 | %find_lang %{name} | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files -f %{name}.lang | |
83 | %defattr(644,root,root,755) | |
84 | %attr(755,root,root) %{_bindir}/falf | |
85 | %{_datadir}/apps/konqueror/servicemenus/falf_mnu.desktop | |
86 | %{_desktopdir}/falf.desktop | |
87 | %{_iconsdir}/*/*/*/*.png |