2016-05-12 11:42:54 -07:00
|
|
|
%define __os_install_post /usr/lib/rpm/brp-compress
|
|
|
|
%define debug_package %{nil}
|
2011-06-23 00:01:45 -07:00
|
|
|
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
|
2016-05-12 11:42:54 -07:00
|
|
|
%define _missing_doc_files_terminate_build 0
|
|
|
|
|
|
|
|
%if %(systemctl --version | head -1 | cut -d' ' -f2) >= 209
|
|
|
|
%{expand:%%global have_systemd 1}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{expand:%%global ac_enable_systemd --%{?have_systemd:en}%{!?have_systemd:dis}able-systemd}
|
2011-06-23 00:01:45 -07:00
|
|
|
|
2005-01-04 21:05:30 -08:00
|
|
|
Summary: The Enlightenment window manager
|
2005-10-24 22:02:03 -07:00
|
|
|
Name: @PACKAGE@
|
|
|
|
Version: @VERSION@
|
2011-06-23 00:01:45 -07:00
|
|
|
Release: %{_rel}
|
2005-01-04 21:05:30 -08:00
|
|
|
License: BSD
|
|
|
|
Group: User Interface/Desktops
|
2004-11-24 19:37:45 -08:00
|
|
|
URL: http://www.enlightenment.org/
|
2005-01-04 21:05:30 -08:00
|
|
|
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}}
|
2008-07-23 00:11:56 -07:00
|
|
|
#BuildSuggests: xorg-x11-devel, XFree86-devel, libX11-devel
|
2016-05-12 11:42:54 -07:00
|
|
|
BuildRequires: efl-devel >= @efl_version@
|
|
|
|
BuildRequires: libxcb-devel, xcb-util-devel
|
2012-12-26 04:51:43 -08:00
|
|
|
Prefix: %{_prefix}
|
2005-01-04 21:05:30 -08:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2004-11-24 19:37:45 -08:00
|
|
|
|
|
|
|
%description
|
2005-01-04 21:05:30 -08:00
|
|
|
Enlightenment is a window manager.
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2005-01-06 07:28:20 -08:00
|
|
|
%package devel
|
|
|
|
Summary: Development headers for Enlightenment.
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Requires: %{name} = %{version}
|
2016-05-12 11:42:54 -07:00
|
|
|
Requires: efl-devel >= @efl_version@
|
2005-01-06 07:28:20 -08:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development headers for Enlightenment.
|
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%build
|
2016-05-12 11:42:54 -07:00
|
|
|
%{configure} --prefix=%{_prefix} %{ac_enable_systemd} --with-profile=FAST_PC CFLAGS="-O0 -ggdb3"
|
2005-01-04 21:05:30 -08:00
|
|
|
%{__make} %{?_smp_mflags} %{?mflags}
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%install
|
2005-01-04 21:05:30 -08:00
|
|
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
test -x `which doxygen` && sh gendoc || :
|
2016-05-12 11:42:54 -07:00
|
|
|
find $RPM_BUILD_ROOT%{_prefix} -name '*.la' -print0 | xargs -0 rm -f
|
|
|
|
|
|
|
|
%{find_lang} %{name}
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%clean
|
2005-01-04 21:05:30 -08:00
|
|
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%post
|
2005-01-04 21:05:30 -08:00
|
|
|
/sbin/ldconfig
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%postun
|
2005-01-04 21:05:30 -08:00
|
|
|
/sbin/ldconfig
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2016-05-12 11:42:54 -07:00
|
|
|
%files -f %{name}.lang
|
2005-01-04 21:05:30 -08:00
|
|
|
%defattr(-, root, root)
|
2011-06-23 00:01:45 -07:00
|
|
|
%doc AUTHORS COPYING README
|
2007-03-02 18:12:43 -08:00
|
|
|
%dir %{_sysconfdir}/enlightenment
|
|
|
|
%config(noreplace) %{_sysconfdir}/enlightenment/*
|
2015-08-21 08:06:54 -07:00
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/menus/e-applications.menu
|
2016-05-12 11:42:54 -07:00
|
|
|
%{_bindir}/emixer
|
2006-04-20 03:09:55 -07:00
|
|
|
%{_bindir}/enlightenment
|
|
|
|
%{_bindir}/enlightenment_*
|
2012-12-26 04:51:43 -08:00
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_datadir}/%{name}/
|
2016-05-12 11:42:54 -07:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/pixmaps/e*
|
2005-08-29 16:27:18 -07:00
|
|
|
%{_datadir}/xsessions/%{name}.desktop
|
2016-05-12 11:42:54 -07:00
|
|
|
%if %{?have_systemd:1}0
|
|
|
|
%{_prefix}/lib/systemd/*/*.service
|
|
|
|
%endif
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2005-01-06 07:28:20 -08:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2012-12-26 04:51:43 -08:00
|
|
|
%{_includedir}/enlightenment/
|
2008-07-23 00:11:56 -07:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2005-01-06 07:28:20 -08:00
|
|
|
|
2012-12-26 04:51:43 -08:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
%changelog
|