]> git.pld-linux.org Git - packages/canta.git/blob - canta.spec
BR: rpmbuild(macros) >= 1.710
[packages/canta.git] / canta.spec
1 %define         _rc     rc2
2 Summary:        Canta - sing, play and learn
3 Name:           canta
4 Version:        0.2
5 Release:        0.%{_rc}.0.1
6 License:        GPLv3
7 Group:          X11/Applications/Games
8 Source0:        http://cgit.canta-game.org/cgit.cgi/canta/snapshot/%{name}-%{version}-%{_rc}.tar.bz2
9 # Source0-md5:  da823e32c6712fa585752e32efe0c813
10 Patch0:         %{name}-install_dirs.patch
11 URL:            http://www.canta-game.org/
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 Requires:       canta-media
15 Requires:       python-Soya
16 Requires:       python-configobj
17 Requires:       python-gstreamer > 0.10
18 Requires:       python-mingus >= 0.4.0.1
19 Requires:       python-mutagen
20 Requires:       python-wxPython
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Canta's goal is to provide a platform for playing and creating songs
26 and singing to them into a microphone. Canta can be used just for fun
27 or to improve the user's musical knowledge.
28
29 %prep
30 %setup -q -n %{name}-%{version}-%{_rc}
31 %patch0 -p1
32
33 %build
34 %py_build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/media/{songs,themes}
39
40 %py_install
41
42 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
43 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc docs/TODO docs/changelog.txt
52 %attr(755,root,root) %{_bindir}/*
53 %{_datadir}/%{name}
54 %{py_sitescriptdir}/%{name}
55 %{py_sitescriptdir}/%{name}-*.egg-info
56 %{_pixmapsdir}/*
57 %{_desktopdir}/*
This page took 0.090535 seconds and 3 git commands to generate.