summaryrefslogtreecommitdiff
path: root/enlightenment.spec.in
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2012-12-26 12:51:43 +0000
committerMichael Jennings <mej@kainx.org>2012-12-26 12:51:43 +0000
commitea1b1a8c7384f50006ae121c013ce7da9fdd178d (patch)
treeac791c960c727e510afdba88748d8461673a0363 /enlightenment.spec.in
parent4d326918b188175b077ddb2a675603cad25a1b10 (diff)
Spec and build dependency fixes.
SVN revision: 81713
Diffstat (limited to 'enlightenment.spec.in')
-rw-r--r--enlightenment.spec.in22
1 files changed, 15 insertions, 7 deletions
diff --git a/enlightenment.spec.in b/enlightenment.spec.in
index 6d718b8bc..51d11a9db 100644
--- a/enlightenment.spec.in
+++ b/enlightenment.spec.in
@@ -11,16 +11,16 @@ Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} 11Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} 12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} 13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
14Prefix: %{_prefix}
15#BuildSuggests: xorg-x11-devel, XFree86-devel, libX11-devel 14#BuildSuggests: xorg-x11-devel, XFree86-devel, libX11-devel
16BuildRequires: efl-devel >= @efl_version@, edje-devel, edje-bin 15BuildRequires: efl-devel >= @efl_version@, eeze-devel, edje-devel, edje-bin
17BuildRequires: eeze-devel 16BuildRequires: xcb-devel, xcb-util-devel
18Requires: efl >= @efl_version@ 17Prefix: %{_prefix}
19BuildRoot: %{_tmppath}/%{name}-%{version}-root 18BuildRoot: %{_tmppath}/%{name}-%{version}-root
20 19
21%description 20%description
22Enlightenment is a window manager. 21Enlightenment is a window manager.
23 22
23
24%package devel 24%package devel
25Summary: Development headers for Enlightenment. 25Summary: Development headers for Enlightenment.
26Group: User Interface/Desktops 26Group: User Interface/Desktops
@@ -30,28 +30,35 @@ Requires: efl-devel, edje-devel
30%description devel 30%description devel
31Development headers for Enlightenment. 31Development headers for Enlightenment.
32 32
33
33%prep 34%prep
34%setup -q 35%setup -q
35 36
37
36%build 38%build
37%{configure} --prefix=%{_prefix} --with-profile=FAST_PC 39%{configure} --prefix=%{_prefix} --with-profile=FAST_PC
38%{__make} %{?_smp_mflags} %{?mflags} 40%{__make} %{?_smp_mflags} %{?mflags}
39 41
42
40%install 43%install
41%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install 44%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
42test -x `which doxygen` && sh gendoc || : 45test -x `which doxygen` && sh gendoc || :
43rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.a" -print` 46rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.a" -print`
44rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.la" -print` 47rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.la" -print`
45 48
49
46%clean 50%clean
47test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT 51test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
48 52
53
49%post 54%post
50/sbin/ldconfig 55/sbin/ldconfig
51 56
57
52%postun 58%postun
53/sbin/ldconfig 59/sbin/ldconfig
54 60
61
55%files 62%files
56%defattr(-, root, root) 63%defattr(-, root, root)
57%doc AUTHORS COPYING README 64%doc AUTHORS COPYING README
@@ -61,15 +68,16 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
61%{_bindir}/enlightenment 68%{_bindir}/enlightenment
62%{_bindir}/enlightenment_* 69%{_bindir}/enlightenment_*
63#%{_bindir}/eap_to_desktop 70#%{_bindir}/eap_to_desktop
64%{_libdir}/%{name} 71%{_libdir}/%{name}/
65%{_datadir}/%{name} 72%{_datadir}/%{name}/
66%{_datadir}/locale/* 73%{_datadir}/locale/*
67%{_datadir}/xsessions/%{name}.desktop 74%{_datadir}/xsessions/%{name}.desktop
68%{_datadir}/applications/enlightenment_filemanager.desktop 75%{_datadir}/applications/enlightenment_filemanager.desktop
69 76
70%files devel 77%files devel
71%defattr(-, root, root) 78%defattr(-, root, root)
72%{_includedir}/enlightenment 79%{_includedir}/enlightenment/
73%{_libdir}/pkgconfig/*.pc 80%{_libdir}/pkgconfig/*.pc
74 81
82
75%changelog 83%changelog