]> git.pld-linux.org Git - packages/cymbaline.git/blame - cymbaline.spec
automatic change: use py_build/py_install macros
[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
4eb8bc42 7Version: 1.3e
5a97471a 8Release: 1
9License: GPL v2+
10Group: Applications/Sound
11Source0: http://silmarill.org/files/%{name}-%{version}.tar.gz
4eb8bc42 12# Source0-md5: c47da66cae027ec401c1380662bb22ed
bdbaed2e 13URL: http://silmarill.org/index.html?Cymbaline
6ca7e876 14BuildRequires: python-devel >= 1:2.5
5a97471a 15BuildRequires: rpm-pythonprov
d11933bc 16BuildRequires: rpmbuild(macros) >= 1.219
54666060 17BuildRequires: sed >= 4.0
6ca7e876
JB
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
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
52rm -rf $RPM_BUILD_ROOT
53
94193ad0 54%py_install
5a97471a 55
6ca7e876 56mv $RPM_BUILD_ROOT%{_bindir}/%{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
5a97471a 57
58%py_postclean
59
60%clean
61rm -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
This page took 0.077156 seconds and 4 git commands to generate.