]> git.pld-linux.org Git - packages/cymbaline.git/blob - cymbaline.spec
BR: rpmbuild(macros) >= 1.710
[packages/cymbaline.git] / cymbaline.spec
1 # TODO:
2 # - package gom mixer
3 # - fix pyao usage to choose default driver instead of hardcoded alsa
4 Summary:        An intelligent mp3 player
5 Summary(pl.UTF-8):      Inteligentny odtwarzacz mp3
6 Name:           cymbaline
7 Version:        1.3e
8 Release:        1
9 License:        GPL v2+
10 Group:          Applications/Sound
11 Source0:        http://silmarill.org/files/%{name}-%{version}.tar.gz
12 # Source0-md5:  c47da66cae027ec401c1380662bb22ed
13 URL:            http://silmarill.org/index.html?Cymbaline
14 BuildRequires:  python-devel >= 1:2.5
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.710
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
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
35 Cymbaline jest uczącym się odtwarzaczem muzyki. Ustawia on punkty dla
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
46 %{__sed} -i -e 's,"/cdrom/","/media/cdrom/",' cypack/conf.py
47
48 %build
49 %py_build
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %py_install
55
56 mv $RPM_BUILD_ROOT%{_bindir}/%{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
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}
67 %{py_sitescriptdir}/cypack
68 %{py_sitescriptdir}/cymbaline-*.egg-info
This page took 0.08073 seconds and 3 git commands to generate.