+++ /dev/null
-[Unit]
-Description=Enlightenment service
-After=display-manager-run.service
-Requires=display-manager-run.service
-
-[Service]
-Type=notify
-Environment="DISPLAY=:0.0" "HOME=%h" "E_START=enlightenment"
-ExecStart=/usr/bin/enlightenment
-NotifyAccess=all
-
-[Install]
-WantedBy=graphical.target
Group: Graphics/EFL
Source0: enlightenment-%{version}.tar.bz2
Source1001: enlightenment.manifest
-Source1002: enlightenment.service
BuildRequires: doxygen
BuildRequires: eet-tools
BuildRequires: fdupes
%prep
%setup -q -n %{name}-%{version}
cp %{SOURCE1001} .
-cp %{SOURCE1002} .
%build
%install
%make_install
-mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/
-mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/graphical.target.wants
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
-install -m 0644 %{SOURCE1002} %{buildroot}%{_prefix}/lib/systemd/system/
-ln -sf ../enlightenment.service %{buildroot}%{_prefix}/lib/systemd/system/graphical.target.wants
rm -f %{buildroot}%{_prefix}/lib/systemd/user/enlightenment.service
%find_lang enlightenment
%{_datadir}/xsessions/enlightenment.desktop
%{_sysconfdir}/xdg/menus/e-applications.menu
%{_datadir}/applications/enlightenment_filemanager.desktop
-%{_prefix}/lib/systemd/system/enlightenment.service
-%{_prefix}/lib/systemd/system/graphical.target.wants/enlightenment.service
%{_sysconfdir}/dbus-1/system.d/org.enlightenment.wm.conf
%exclude /usr/share/enlightenment/data/config/profile.cfg