]> git.pld-linux.org Git - packages/exaile.git/blob - exaile.spec
- use %%find_lang macro
[packages/exaile.git] / exaile.spec
1 # TODO:
2 #       separate plugins/*
3 #
4 Summary:        A powerful GTK+2 media player
5 Summary(pl.UTF-8):      Potężny odtwarzacz multimediów oparty na GTK+2
6 Name:           exaile
7 Version:        0.3.2.0
8 Release:        1
9 # GPL v2 in COPYING; GPL v1+ in license.txt; Artistic/Perl in lib/wmainfo.py
10 License:        GPL
11 Group:          X11/Applications/Multimedia
12 Source0:        http://launchpad.net/exaile/0.3.2/0.3.2.0/+download/%{name}-%{version}.tar.gz
13 # Source0-md5:  fdd1f75118032a5aa0932cb449b2c533
14 URL:            http://www.exaile.org/
15 BuildRequires:  gettext-devel
16 BuildRequires:  intltool
17 BuildRequires:  python-pygtk-devel >= 2:2.18.0
18 BuildRequires:  rpmbuild(macros) >= 1.268
19 Requires:       gstreamer-plugins-base >= 0.10
20 Requires:       gstreamer-plugins-good >= 0.10
21 Requires:       python-dbus >= 0.71
22 Requires:       python-gstreamer
23 Requires:       python-mutagen
24 Requires:       python-pygobject >= 2.26.0
25 Requires:       python-pygtk-glade >= 2:2.18.0
26 Requires:       python-sqlite
27 Suggests:       brasero
28 Suggests:       k3b
29 Suggests:       python-gnome-extras-mozilla
30 Suggests:       serpentine
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Exaile is a media player aiming to be similar to KDE's AmaroK, but for
35 GTK+2. It incorporates many of the cool things from AmaroK (and other
36 media players).
37
38 Some of the features are:
39 - automatic fetching of album art
40 - handling of large libraries
41 - lyrics fetching
42 - artist/album information via the wikipedia
43 - last.fm support
44 - optional iPod support (assuming you have python-gpod installed)
45 - builtin shoutcast directory browser
46 - tabbed playlists
47 - blacklisting of tracks
48 - downloading of guitar tabs from fretplay.com
49 - submitting played tracks on the iPod to last.fm
50
51 %description -l pl.UTF-8
52 Exaile to odtwarzacz multimediów mający być podobny do AmaroKa, ale
53 dla GTK+2. Łączy wiele dobrych cech AmaroKa (i innych odtwarzaczy
54 multimediów).
55
56 Niektóre możliwości to:
57 - automatyczne pobieranie okładki albumu
58 - obsługa dużych bibliotek
59 - pobieranie tekstów utworów
60 - informacje o wykonawcy/albumie z wikipedii
61 - obsługa last.fm
62 - opcjonalna obsługa iPoda (przy zainstalowanym pakiecie python-gpod)
63 - wbudowana przeglądarka katalogów shoutcastów
64 - playlisty z zakładkami
65 - czarna lista ścieżek
66 - ściąganie tabulatur gitarowych z fretplay.com
67 - przesyłanie ścieżek odtworzonych na iPodzie do last.fm
68
69 %prep
70 %setup -q
71
72 # there's bigger and newer es.po
73 rm -f po/es_ES.po
74 # what's Franco-Provençal?
75 rm -f po/frp.po
76 # there's bigger and newer he.po
77 rm -f po/he_IL.po
78 # there's bigger and newer it.po
79 rm -f po/it_IT.po
80 # there's bigger and newer tr.po
81 rm -f po/tr_TR.po
82
83 %build
84 %{__make} \
85         PREFIX=%{_prefix} \
86 %ifarch x86_64
87         LIBINSTALLDIR=/lib64
88 %else
89         LIBINSTALLDIR=/lib
90 %endif
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         PREFIX=%{_prefix} \
97         DESTDIR=$RPM_BUILD_ROOT \
98 %ifarch x86_64
99         LIBINSTALLDIR=/lib64
100 %else
101         LIBINSTALLDIR=/lib
102 %endif
103
104 %find_lang %{name} --all-name
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_bindir}/%{name}
112 %dir %{_sysconfdir}/xdg/exaile
113 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/exaile/settings.ini
114 %{_libdir}/%{name}
115 %dir %{_datadir}/%{name}
116 %{_datadir}/%{name}/data
117 %{_desktopdir}/%{name}.desktop
118 %{_pixmapsdir}/%{name}.png
119 %{_mandir}/man1/exaile.1
120 # maybe seperate subpackages for plugins?
121 %{_datadir}/%{name}/plugins
This page took 0.041605 seconds and 4 git commands to generate.