aboutsummaryrefslogtreecommitdiffstats
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
parent e intl settings: add check changed and cleanup code. (diff)
downloadenlightenment-ea1b1a8c7384f50006ae121c013ce7da9fdd178d.tar.gz
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
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@
+BuildRequires: efl-devel >= @efl_version@, eeze-devel, edje-devel, edje-bin
+BuildRequires: xcb-devel, xcb-util-devel
+Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Enlightenment is a window manager.
+
%package devel
Summary: Development headers for Enlightenment.
Group: User Interface/Desktops
@@ -30,28 +30,35 @@ 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
@@ -61,15 +68,16 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%{_bindir}/enlightenment
%{_bindir}/enlightenment_*
#%{_bindir}/eap_to_desktop
-%{_libdir}/%{name}
-%{_datadir}/%{name}
+%{_libdir}/%{name}/
+%{_datadir}/%{name}/
%{_datadir}/locale/*
%{_datadir}/xsessions/%{name}.desktop
%{_datadir}/applications/enlightenment_filemanager.desktop
%files devel
%defattr(-, root, root)
-%{_includedir}/enlightenment
+%{_includedir}/enlightenment/
%{_libdir}/pkgconfig/*.pc
+
%changelog