]>
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 | |
7 | Version: 1.3c | |
8 | Release: 1 | |
9 | License: GPL v2+ | |
10 | Group: Applications/Sound | |
11 | Source0: http://silmarill.org/files/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: 698e795be504ce9d77e9a55021daa0c9 | |
13 | URL: http://silmarill.org/cymbaline.htm | |
6ca7e876 | 14 | BuildRequires: python-devel >= 1:2.5 |
5a97471a | 15 | BuildRequires: rpm-pythonprov |
d11933bc | 16 | BuildRequires: rpmbuild(macros) >= 1.219 |
6ca7e876 JB |
17 | BuildRequires: sed >= 4.0 |
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 | ||
6ca7e876 JB |
46 | sed -i -e 's,"/cdrom/","/media/cdrom/",' cypack/conf.py |
47 | ||
5a97471a | 48 | %build |
49 | %{__python} setup.py build | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__python} setup.py install \ | |
55 | --optimize=2 \ | |
56 | --root=$RPM_BUILD_ROOT | |
57 | ||
6ca7e876 | 58 | mv $RPM_BUILD_ROOT%{_bindir}/%{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name} |
5a97471a | 59 | |
60 | %py_postclean | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
67 | %doc README | |
68 | %attr(755,root,root) %{_bindir}/%{name} | |
6ca7e876 JB |
69 | %{py_sitescriptdir}/cypack |
70 | %{py_sitescriptdir}/cymbaline-*.egg-info |