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