%bcond_with x Name: e17 Summary: The Enlightenment window manager Version: 1.0.1.001+svn.76808slp2+build49 Release: 1 Group: System/GUI/Other License: BSD-2-Clause URL: http://www.enlightenment.org/ Source0: %{name}-%{version}.tar.gz Source2: packaging/e17.service BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(ecore-con) BuildRequires: pkgconfig(ecore-evas) BuildRequires: pkgconfig(ecore-file) BuildRequires: pkgconfig(ecore-imf) BuildRequires: pkgconfig(ecore-imf-evas) BuildRequires: pkgconfig(ecore-input) BuildRequires: pkgconfig(ecore-input-evas) BuildRequires: pkgconfig(ecore-ipc) BuildRequires: pkgconfig(ecore-x) BuildRequires: pkgconfig(edbus) BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(edje) BuildRequires: pkgconfig(eet) BuildRequires: pkgconfig(efreet) BuildRequires: pkgconfig(efreet-mime) BuildRequires: pkgconfig(ehal) BuildRequires: pkgconfig(eina) BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(eio) BuildRequires: pkgconfig(utilX) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(dlog) BuildRequires: edje-bin BuildRequires: embryo-bin BuildRequires: eet-bin BuildRequires: gettext-devel Requires(post): e17-data Requires(post): sys-assert %description The Enlightenment DR17 Window Manager Enlightenment is an advanced window manager for X11. Unique features include: a fully animated background, nice drop shadows around windows, backed by an extremely clean and optimized foundation of APIs. . This package contains the core files for Enlightenment DR17. %package devel Summary: The Enlightenment window mgr (devel) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The Enlightenment window manager (devel) %package data Summary: The Enlightenment window mgr (data) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description data The Enlightenment window manager (data) %prep %setup -q %build export CFLAGS+=" -fvisibility=hidden -fPIC " export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed" export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" %autogen --disable-static LIBS='-ledbus' ./configure --prefix=/usr --disable-static \ --disable-temperature \ --disable-mixer \ --disable-everything \ --disable-dropshadow \ --disable-pager \ --disable-battery \ --disable-cpufreq \ --disable-start \ --disable-exebuf \ --disable-winlist \ --disable-fileman \ --disable-fileman-opinfo \ --disable-wizard \ --disable-conf \ --disable-conf-wallpaper \ --disable-conf-wallpaper2 \ --disable-conf-colors \ --disable-conf-fonts \ --disable-conf-borders \ --disable-conf-icon-theme \ --disable-conf-mouse-cursor \ --disable-conf-transitions \ --disable-conf-startup \ --disable-conf-intl \ --disable-conf-imc \ --disable-conf-profiles \ --disable-msgbus-lang \ --disable-conf-engine \ --disable-conf-desks \ --disable-conf-desk \ --disable-conf-display \ --disable-conf-desklock \ --disable-conf-screensaver \ --disable-conf-dpms \ --disable-conf-shelves \ --disable-conf-shelves \ --disable-conf-keybindings \ --disable-conf-mousebindings \ --disable-conf-edgebindings \ --disable-conf-mouse \ --disable-conf-window-display \ --disable-conf-window-focus \ --disable-conf-window-remembers \ --disable-conf-window-manipulation \ --disable-conf-menus \ --disable-conf-clientlist \ --disable-conf-dialogs \ --disable-conf-performance \ --disable-conf-winlist \ --disable-conf-exebuf \ --disable-conf-paths \ --disable-conf-mime \ --disable-conf-interaction \ --disable-conf-scale \ --disable-mixel \ --disable-connman \ --disable-illume \ --disable-syscon \ --disable-bluez \ --disable-ofono \ --disable-msgbus \ --disable-systray \ --disable-conf_acpibindings \ --disable-everything-apps \ --disable-everything-aspell \ --disable-everything-calc \ --disable-everything-files \ --disable-everything-settings \ --disable-everything-windows \ --disable-illume-bluetooth \ --disable-illume-home \ --disable-illume-toggle \ --disable-illume-indicator \ --disable-illume-kbd-toggle \ --disable-illume-keyboard \ --disable-illume-mode-toggle \ --disable-illume-softkey \ --disable-comp \ --disable-illume2 \ --disable-conf_randr \ --disable-tasks \ --disable-backlight \ --disable-shot \ --disable-notification \ --disable-quickaccess \ --disable-tiling \ --disable-xkbswitch \ --disable-access \ --disable-clock \ --disable-gadman \ --disable-ibar \ --disable-ibox \ --disable-conf-applications \ --disable-conf-theme \ --disable-ephysics \ --enable-extra-features make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install # for license notification mkdir -p %{buildroot}/usr/share/license cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name} cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}-data #systemd setup mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/user/ ln -s ../e17.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/e17.service %files %manifest e17.manifest %defattr(-,root,root,-) /usr/bin/enlightenment /usr/bin/enlightenment_imc /usr/bin/enlightenment_remote /usr/bin/enlightenment_start %if 0%{?sec_product_feature_uifw_wm_use_desktopmode} /usr/lib/enlightenment/modules %endif /usr/lib/enlightenment/preload/* %config /usr/etc/enlightenment/sysactions.conf /usr/lib/systemd/user/e17.service /usr/lib/systemd/user/core-efl.target.wants/e17.service /usr/share/license/%{name} %files devel %defattr(-,root,root,-) /usr/lib/pkgconfig/enlightenment.pc /usr/include/enlightenment/*.h %files data %manifest e17-data.manifest %defattr(-,root,root,-) /etc/smack/accesses2.d/e17.rule /usr/share/license/%{name}-data %exclude /usr/etc/xdg/* %exclude /usr/lib/enlightenment/utils/* %exclude /usr/share/enlightenment/AUTHORS %exclude /usr/share/enlightenment/COPYING %exclude /usr/share/enlightenment/data/themes/* %exclude /usr/share/enlightenment/data/backgrounds/* %exclude /usr/share/enlightenment/data/config/* %exclude /usr/share/enlightenment/data/icons/* %exclude /usr/share/enlightenment/data/images/* %exclude /usr/share/enlightenment/data/input_methods/* %exclude /usr/share/locale/* %exclude /usr/share/xsessions/* %exclude /usr/share/applications/enlightenment_filemanager.desktop %exclude /usr/share/enlightenment/data/flags/* %exclude /usr/share/enlightenment/data/favorites/* %exclude /usr/share/enlightenment/data/favorites/.order %exclude /usr/bin/enlightenment_open %exclude /usr/bin/enlightenment_filemanager %define _unpackaged_files_terminate_build 0