]> git.pld-linux.org Git - packages/quodlibet.git/blob - quodlibet.spec
- updated to 0.15
[packages/quodlibet.git] / quodlibet.spec
1 #
2 # Conditional build:
3 %bcond_without  home_etc        # don't use home_etc
4 #
5 Summary:        Quod Libet - GTK+-based audio player
6 Summary(pl):    Quod Libet - odtwarzacz d¼wiêku oparty na GTK+
7 Name:           quodlibet
8 Version:        0.15
9 Release:        0.1
10 License:        GPL v2
11 Group:          X11/Applications/Multimedia
12 Source0:        http://www.sacredchao.net/~piman/software/%{name}-%{version}.tar.gz
13 # Source0-md5:  09b14d03e587af6ba929b18ed8e0df56
14 Patch0:         %{name}-home_etc.patch
15 Patch1:         %{name}-Makefile.patch
16 URL:            http://www.sacredchao.net/quodlibet/wiki
17 BuildRequires:  gtk+2-devel >= 2:2.6.0
18 BuildRequires:  intltool
19 BuildRequires:  pkgconfig
20 BuildRequires:  python-devel
21 BuildRequires:  python-pygtk-devel
22 %pyrequires_eq  python-modules
23 Requires:       gstreamer-GConf
24 Requires:       gtk+2 >= 2:2.6.0
25 Requires:       python-gnome-gconf
26 Requires:       python-gstreamer >= 0.8.2
27 Requires:       python-pygtk-gtk >= 2:2.6.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Quod Libet is a GTK+-based audio player written in Python. It's
32 designed around the idea that you know better than we do how to
33 organize your music. It lets you make playlists based on regular
34 expressions (don't worry, regular searches work too). It lets you
35 display and edit any tags you want in the file. And it lets you do
36 this for all the file formats it supports -- Ogg Vorbis, FLAC, MP3,
37 Musepack, and MOD.
38
39 To use all of Quod Libet features (including audio playback) you will
40 also need the following packages: python-pyvorbis, python-pyao,
41 python-mad, python-pyid3lib.
42
43 %description -l pl
44 Quod Libet to oparty na GTK+ odtwarzacz d¼wiêku napisany w Pythonie.
45 Jest zaprojektowany w oparciu o ideê, ¿e sami wiemy lepiej, jak chcemy
46 organizowaæ swoj± muzykê. Odtwarzacz pozwala tworzyæ playlisty w
47 oparciu o wyra¿enia regularne (nie jest to powód do zmartwienia,
48 zwyk³e wyszukiwanie te¿ dzia³a). Pozwala wy¶wietlaæ i modyfikowaæ
49 dowolne znaczniki w pliku. Umo¿liwia to dla wszystkich obs³ugiwanych
50 formatów d¼wiêkowych: Ogg Vorbis, FLAC, MP3, Musepack i MOD.
51
52 Aby u¿ywaæ wszystkich mo¿liwo¶ci Quod Libet (w³±cznie z odtwarzaniem
53 d¼wiêku) potrzebne s± tak¿e nastêpuj±ce pakiety: python-pyvorbis,
54 python-pyao, python-mad, python-pyid3lib.
55
56 %prep
57 %setup -q
58 %{?with_home_etc:%patch0 -p1}
59 %patch1 -p1
60
61 %build
62 %{__make} extensions
63 %{__make} po-data
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         LIBDIR=%{_libdir} \
70         PREFIX=%{_prefix} \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 %banner %{name} -e << EOF
80 Remember to install appropriate python modules for files
81 you want to play:
82 - python-mad and gstreamer-mad (for MP3s)
83 - python-pyflac (for FLACs)
84 - python-pymusepack (for MPCs)
85 - python-pyvorbis and gstreamer-vorbis (for Ogg Vorbis)
86 and audio output:
87 - gstreamer-audiosink-(alsa|oss|esd) (for ALSA, OSS or ESD output)
88 EOF
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc NEWS README
93 %attr(755,root,root) %{_bindir}/*
94 %dir %{_libdir}/%{name}
95 %attr(755,root,root) %{_libdir}/%{name}/*.py
96 %attr(755,root,root) %{_libdir}/%{name}/*.so
97 %{_libdir}/%{name}/*.png
98 %{_libdir}/%{name}/*.zip
99 %{_desktopdir}/*.desktop
100 %{_pixmapsdir}/*
101 %{_mandir}/man1/*
This page took 0.068287 seconds and 3 git commands to generate.