# Comment out 'commit' and Source0 to build a regular release #global commit af00fb95719ebd8691722af12e19b440d246c73a %global date 20180616 %global shortcommit %(c=%{?commit}; echo ${c:0:7}) %global eflver 1.19.0 Name: moksha-desktop Version: 0.3.0 Release: 1%{?commit:.%{date}git%{shortcommit}}%{?dist} License: BSD Summary: Moksha window manager and desktop environment Url: https://github.com/JeffHoogland/moksha #Source0: https://github.com/JeffHoogland/moksha/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz Source0: https://github.com/JeffHoogland/moksha/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: desktop-file-utils BuildRequires: doxygen BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: pam-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(bullet) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libssl) BuildRequires: pkgconfig(ecore) >= %{eflver} BuildRequires: pkgconfig(ecore-con) >= %{eflver} BuildRequires: pkgconfig(ecore-evas) >= %{eflver} BuildRequires: pkgconfig(ecore-file) >= %{eflver} BuildRequires: pkgconfig(ecore-imf) >= %{eflver} BuildRequires: pkgconfig(ecore-ipc) >= %{eflver} BuildRequires: pkgconfig(ecore-x) >= %{eflver} BuildRequires: pkgconfig(edbus) >= 1.7.10 BuildRequires: pkgconfig(edje) >= %{eflver} BuildRequires: pkgconfig(eet) >= %{eflver} BuildRequires: pkgconfig(efreet) >= %{eflver} BuildRequires: pkgconfig(efreet-mime) >= %{eflver} BuildRequires: pkgconfig(efreet-trash) >= %{eflver} BuildRequires: pkgconfig(eina) >= %{eflver} BuildRequires: pkgconfig(eio) >= %{eflver} BuildRequires: pkgconfig(embryo) >= %{eflver} BuildRequires: pkgconfig(evas) >= %{eflver} BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(fribidi) BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(luajit) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-keysyms) BuildRequires: pkgconfig(xcb-shape) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xproto) Requires: %{name}-data = %{version}-%{release} Requires: emotion >= %{eflver} Requires: elementary >= %{eflver} Requires: ethumb >= %{eflver} Requires: evas-generic-loaders >= %{eflver} Requires: redhat-menus Provides: firstboot(windowmanager) = enlightenment Requires: pavucontrol Requires: pcmanfm Conflicts: enlightenment # Included as of Moksha 0.3.0 Obsoletes: moksha-module-clipboard < 0.0.1-2 Obsoletes: moksha-module-places < 0.0.1-3 Obsoletes: moksha-pulsemixer < 0.0.1-2 Patch0: moksha-desktop-0.1.0-systemd-suspend-hibernate.patch %description Moksha desktop is a lean, fast, modular and very extensible window manager for X11 and Linux. It is classed as a "desktop shell" providing the things you need to operate your desktop (or laptop), but is not a whole ' application suite. This covered launching applications, managing their windows and doing other system tasks like suspending, reboots, managing files etc. %package data Summary: Moksha data files Requires: %{name} = %{version}-%{release} BuildArch: noarch %description data Contains data files for Moksha %package devel Summary: Moksha headers, documentation and test programs Conflicts: enlightenment-devel %description devel Headers, test programs and documentation for Moksha %prep %setup -q -n moksha-%{?commit}%{!?commit:%{version}} %patch0 -p1 -b .systemd # Fix permissions so that debuginfo may be extracted properly sed -i 's|^cpufreq_setuid_root_mode = a=rx,u+xs|cpufreq_setuid_root_mode = a=rx,u+wxs|' src/modules/Makefile_cpufreq.am sed -i 's|^setuid_root_mode = a=rx,u+xs|setuid_root_mode = a=rx,u+wxs|' src/bin/Makefile.am # Set default icon set to one provided by EFL to fix icons not showing # https://github.com/JeffHoogland/moksha/issues/51 sed -i 's/Faenza/Enlightenment-X/g' config/bodhi/e.src %build NOCONFIGURE=1 ./autogen.sh %configure --disable-static --disable-rpath %{make_build} %install %{make_install} find %{buildroot} -name '*.la' -delete %find_lang enlightenment %check desktop-file-validate %{buildroot}%{_datadir}/xsessions/enlightenment.desktop %files %license COPYING %doc AUTHORS README NEWS %config(noreplace) %{_sysconfdir}/enlightenment/sysactions.conf %{_bindir}/epulse %{_bindir}/enlightenment %{_bindir}/enlightenment_filemanager %{_bindir}/enlightenment_imc %{_bindir}/enlightenment_open %{_bindir}/enlightenment_remote %{_bindir}/enlightenment_start %{_libdir}/enlightenment %{_libdir}/libepulse.so %{_datadir}/epulse %{_datadir}/pixmaps/epulse.png %files data -f enlightenment.lang %{_datadir}/xsessions/enlightenment.desktop %{_datadir}/enlightenment %{_datadir}/applications/*.desktop %files devel %{_libdir}/pkgconfig/*.pc %{_includedir}/enlightenment %changelog * Tue Jul 03 2018 Samuel Rakitničan - 0.3.0-1 - Update to release 0.3.0 * Sat Jun 16 2018 Samuel Rakitničan - 0.3.0-0.4.20180616gitaf00fb9 - Update to master branch, commit af00fb9 * Sun May 13 2018 Samuel Rakitničan - 0.3.0-0.3.20180513dev.1bb5885 - Dev branch 1bb5885 with fixes for log errors * Sun May 13 2018 Samuel Rakitničan - 0.3.0-0.2.20180513dev.90e5ccb - Dev branch 90e5ccb with 'backgrounds' directory fix * Thu May 10 2018 Samuel Rakitničan - 0.3.0-0.1.20180510dev.c380c30 - Update to development branch with fixes for "edje emits on non-edje" - Patch to fix making directory 'backgrounds' on host system - Add epulse files - 0.3.0 requires pavucontrol for mixer * Sun Sep 17 2017 Samuel Rakitničan - 0.2.1-1 - Update to 0.2.1 - Cleanups and formatting according to FPG - Convert builddeps to pkgconfig * Thu Sep 03 2015 L.L.Robinson - 0.1.0-5 - include PAM as a buildreq * Thu Sep 03 2015 L.L.Robinson - 0.1.0-4 - typoed a symlink * Sun Aug 30 2015 L.L.Robinson - 0.1.0-3 - fix symlink * Thu Aug 27 2015 L.L.Robinson - 0.1.0-2 - added missing files from bodhi * Wed Aug 26 2015 L.L.Robinson - 0.1.0-1 - see if moksha will build using the e17 spec * Fri Dec 12 2014 Tom Callaway - 0.17.6-2 - use systemctl calls to suspend/hibernate * Thu Oct 23 2014 Tom Callaway - 0.17.6-1 - update to 0.17.6 * Sat Aug 16 2014 Fedora Release Engineering - 0.17.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.17.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Nov 12 2013 Dan Mashal 0.17.5-2 - Add emotion-devel to BRs * Thu Nov 07 2013 Dan Mashal 0.17.5-1 - Update to 0.17.5 * Mon Oct 07 2013 Dan Mashal 0.17.4-4 - Add hard runtime requirements so one package can install the entire stack. * Sun Oct 06 2013 Dan Mashal 0.17.4-3 - Add versioned build deps. * Sun Oct 06 2013 Dan Mashal 0.17.4-2 - Update spec as per package review #1014619 * Tue Sep 24 2013 Dan Mashal 0.17.4-1 - Update to 0.17.4 - Clean up spec file - Update license from MIT to BSD * Wed Jan 02 2013 Rahul Sundaram - 0.17.0-1 - initial spec