1 |
%define name enna |
2 |
%define version 0.4.1 |
3 |
%define release %mkrel 0.2 |
4 |
|
5 |
%define major 0 |
6 |
%define libname %mklibname %{name} %major |
7 |
%define libnamedev %mklibname %{name} -d |
8 |
|
9 |
Summary: Media center |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release} |
13 |
License: e16-like |
14 |
Group: Graphical desktop/Enlightenment |
15 |
URL: http://enna.geexbox.org/ |
16 |
Source: http://enna.geexbox.org/releases/%{name}-%{version}.tar.xz |
17 |
# commit 3776 from upstream (hg clone http://hg.geexbox.org/enna) |
18 |
Patch0: enna-fix_curl_include.patch |
19 |
BuildRequires: pkgconfig(evas) >= 0.9.9.49898 |
20 |
BuildRequires: pkgconfig(ecore) >= 0.9.9.49898 |
21 |
BuildRequires: pkgconfig(edje) >= 0.9.9.49898 |
22 |
BuildRequires: pkgconfig(eet) >= 1.3.2 |
23 |
BuildRequires: pkgconfig(elementary) >= 0.7.0.49898 |
24 |
BuildRequires: pkgconfig(dbus-1) >= 1.2.0 |
25 |
BuildRequires: pkgconfig(ethumb) |
26 |
BuildRequires: pkgconfig(gstreamer-0.10) |
27 |
BuildRequires: pkgconfig(libplayer) >= 2.0.0 |
28 |
BuildRequires: pkgconfig(libvalhalla) >= 2.0.0 |
29 |
BuildRequires: pkgconfig(gupnp-av-1.0) |
30 |
BuildRequires: pkgconfig(libcddb) |
31 |
BuildRequires: pkgconfig(liblircclient0) |
32 |
BuildRequires: pkgconfig(libcurl) |
33 |
BuildRequires: pkgconfig(libxml-2.0) |
34 |
BuildRequires: pkgconfig(udev) |
35 |
BuildRequires: pkgconfig(libxdg-basedir) |
36 |
BuildRequires: pkgconfig(xrandr) |
37 |
BuildRequires: pkgconfig(bluez) |
38 |
BuildRequires: pkgconfig(cwiid) |
39 |
BuildRequires: pkgconfig(eweather) |
40 |
BuildRequires: edje >= 0.9.9.49898 |
41 |
BuildRequires: embryo |
42 |
BuildRequires: gettext-devel |
43 |
|
44 |
|
45 |
%description |
46 |
A media center based on the Enlightenment libraries. |
47 |
|
48 |
%prep |
49 |
%setup -q -n %{name}-%{version} |
50 |
%patch0 -p1 |
51 |
|
52 |
%build |
53 |
NOCONFIGURE=yes ./autogen.sh |
54 |
%configure2_5x --disable-rpath --disable-static --disable-static-modules |
55 |
%make |
56 |
|
57 |
%install |
58 |
rm -rf %{buildroot} |
59 |
%makeinstall_std |
60 |
|
61 |
%find_lang %{name} |
62 |
|
63 |
rm -f %{buildroot}%{_libdir}/enna/modules/*.la |
64 |
|
65 |
%files -f %{name}.lang |
66 |
%doc AUTHORS ChangeLog COPYING NEWS README TODO |
67 |
%{_bindir}/* |
68 |
%{_libdir}/enna/modules/*.so |
69 |
%{_datadir}/%{name} |
70 |
%{_datadir}/pixmaps/* |
71 |
%{_mandir}/man1/enna.1.* |
72 |
%{_datadir}/applications/%{name}.desktop |
73 |
|
74 |
|