]>
Commit | Line | Data |
---|---|---|
6ca7e876 JB |
1 | # TODO: |
2 | # - package gom mixer | |
3 | # - fix pyao usage to choose default driver instead of hardcoded alsa | |
5a97471a | 4 | Summary: An intelligent mp3 player |
5 | Summary(pl.UTF-8): Inteligentny odtwarzacz mp3 | |
6 | Name: cymbaline | |
4eb8bc42 | 7 | Version: 1.3e |
5a97471a | 8 | Release: 1 |
9 | License: GPL v2+ | |
10 | Group: Applications/Sound | |
11 | Source0: http://silmarill.org/files/%{name}-%{version}.tar.gz | |
4eb8bc42 | 12 | # Source0-md5: c47da66cae027ec401c1380662bb22ed |
bdbaed2e | 13 | URL: http://silmarill.org/index.html?Cymbaline |
6ca7e876 | 14 | BuildRequires: python-devel >= 1:2.5 |
5a97471a | 15 | BuildRequires: rpm-pythonprov |
d11933bc | 16 | BuildRequires: rpmbuild(macros) >= 1.219 |
54666060 | 17 | BuildRequires: sed >= 4.0 |
6ca7e876 JB |
18 | # FIXME: alsa output is hardcoded (instead of default) |
19 | Requires: libao-alsa | |
20 | Requires: python-mad | |
21 | Requires: python-pyao | |
22 | Suggests: gom | |
23 | BuildArch: noarch | |
5a97471a | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | Cymbaline is a learning music player. It sets a score for each track | |
28 | based on your listening habits, and you can set thresholds to create | |
29 | playlists with your favorite tracks automatically. In random mode, it | |
30 | will play your favorite tracks more often. It also allows album-based | |
31 | navigation: you can start playing the next album, skip 2 albums ahead, | |
32 | go to a specific album, etc. | |
33 | ||
34 | %description -l pl.UTF-8 | |
d11933bc | 35 | Cymbaline jest uczącym się odtwarzaczem muzyki. Ustawia on punkty dla |
5a97471a | 36 | każdego utworu słuchanego przez użytkownika, który może ustawić |
37 | progi aby program mógł automatycznie stworzyć listy odtwarzania z | |
38 | ulubionych utworów. W trybie losowym program będzie częściej | |
39 | odtwarzał ulubione utwory użytkownika. Umożliwia on również | |
40 | nawigację opartą na albumach: przejście to następnego albumu, | |
41 | przejście o 2 albumy dalej, przejście do wybranego albumu itp. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | ||
b16a7a65 | 46 | %{__sed} -i -e 's,"/cdrom/","/media/cdrom/",' cypack/conf.py |
6ca7e876 | 47 | |
5a97471a | 48 | %build |
94193ad0 | 49 | %py_build |
5a97471a | 50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
94193ad0 | 54 | %py_install |
5a97471a | 55 | |
6ca7e876 | 56 | mv $RPM_BUILD_ROOT%{_bindir}/%{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name} |
5a97471a | 57 | |
58 | %py_postclean | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc README | |
66 | %attr(755,root,root) %{_bindir}/%{name} | |
6ca7e876 JB |
67 | %{py_sitescriptdir}/cypack |
68 | %{py_sitescriptdir}/cymbaline-*.egg-info |