summaryrefslogtreecommitdiff
path: root/enlightenment.spec.in
blob: 1823c422e40fe07a6910c5e6092466f4d859daef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}

Summary: The Enlightenment window manager
Name: @PACKAGE@
Version: @VERSION@
Release: %{_rel}
License: BSD
Group: User Interface/Desktops
URL: http://www.enlightenment.org/
Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
Prefix: %{_prefix}
#BuildSuggests: xorg-x11-devel, XFree86-devel, libX11-devel
BuildRequires: efl-devel >= @efl_version@, edje-devel, edje-bin
BuildRequires: eeze-devel
Requires: efl >= @efl_version@
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
Enlightenment is a window manager.

%package devel
Summary: Development headers for Enlightenment. 
Group: User Interface/Desktops
Requires: %{name} = %{version}
Requires: efl-devel, edje-devel

%description devel
Development headers for Enlightenment.

%prep
%setup -q

%build
%{configure} --prefix=%{_prefix} --with-profile=FAST_PC
%{__make} %{?_smp_mflags} %{?mflags}

%install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
test -x `which doxygen` && sh gendoc || :
rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.a" -print`
rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.la" -print`

%clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README
%dir %{_sysconfdir}/enlightenment
%config(noreplace) %{_sysconfdir}/enlightenment/*
%config(noreplace) %{_sysconfdir}/xdg/menus/e-applications.menu
%{_bindir}/enlightenment
%{_bindir}/enlightenment_*
#%{_bindir}/eap_to_desktop
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/locale/*
%{_datadir}/xsessions/%{name}.desktop
%{_datadir}/applications/enlightenment_filemanager.desktop

%files devel
%defattr(-, root, root)
%{_includedir}/enlightenment
%{_libdir}/pkgconfig/*.pc

%changelog