]>
Commit | Line | Data |
---|---|---|
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.1 | |
9 | Release: 1 | |
10 | License: GPL | |
11 | Group: X11/Applications | |
12 | Source0: http://dl.sourceforge.net/falf/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 389880b64941017ca4300f4b8ffdebce | |
14 | URL: http://falf.sourceforge.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 | Requires: xine-plugin-audio | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | FALF Player is based on foobar2000 music player for KDE. | |
26 | ||
27 | Highlights: | |
28 | - multiplaylist support | |
29 | - lyrics support | |
30 | - m3u support | |
31 | - last.fm support | |
32 | - HTTP streams support (radio) | |
33 | - built-in tags' editor | |
34 | - built-in equalizer | |
35 | - easy transfer of tracks to removable device | |
36 | - high stability | |
37 | - low memory consumption | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | FALF Player jest wzorowanym na foobar2000 odtwarzaczem muzyki dla KDE. | |
41 | ||
42 | Atuty: | |
43 | - obsługa wielu list odtwarzania | |
44 | - obsługa tekstów piosenek | |
45 | - obsługa plików m3u | |
46 | - obsługa last.fm | |
47 | - obsługa strumieni HTTP (radio) | |
48 | - wbudowany edytor znaczników | |
49 | - wbudowany korektor | |
50 | - łatwe przenoszenie danych do odtwarzaczy przenośnych | |
51 | - wysoka stabilność | |
52 | - niskie zużycie pamięci | |
53 | ||
54 | %prep | |
55 | %setup -q | |
56 | ||
57 | %build | |
58 | export QTDIR=%{_prefix} | |
59 | qmake | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_iconsdir}/hicolor,%{_desktopdir},%{_datadir}/apps/konqueror/servicemenus} | |
65 | ||
66 | install bin/falf $RPM_BUILD_ROOT%{_bindir} | |
67 | ||
68 | for i in pl it es nl zh_CN cs ru uk ; | |
69 | do | |
70 | install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES | |
71 | msgfmt po/$i/falf.po -o $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/falf.mo | |
72 | done | |
73 | ||
74 | cp -Rf icons/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor | |
75 | install applnk/falf.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
76 | install applnk/falf_mnu.desktop $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus | |
77 | ||
78 | %find_lang %{name} | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files -f %{name}.lang | |
84 | %defattr(644,root,root,755) | |
85 | %attr(755,root,root) %{_bindir}/falf | |
86 | %{_datadir}/apps/konqueror/servicemenus/falf_mnu.desktop | |
87 | %{_desktopdir}/falf.desktop | |
88 | %{_iconsdir}/hicolor/*/*/*.png |