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