Add Tizen packaging. sandbox/mbachmann/efl1130
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 23 Feb 2015 10:19:27 +0000 (11:19 +0100)
committerManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 23 Feb 2015 10:19:27 +0000 (11:19 +0100)
Change-Id: I027282ac73cf699cb4fe1b0c8d5a91c98fcf4c8e
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
packaging/enlightenment.changes [new file with mode: 0644]
packaging/enlightenment.manifest [new file with mode: 0644]
packaging/enlightenment.service [new file with mode: 0644]
packaging/enlightenment.spec [new file with mode: 0644]

diff --git a/packaging/enlightenment.changes b/packaging/enlightenment.changes
new file mode 100644 (file)
index 0000000..19fba50
--- /dev/null
@@ -0,0 +1,21 @@
+* Fri Aug 09 2013 Eduardo Lima (Etrunko) <eduardo.lima@intel.com> upstream/0.17.3@f609183
+- Updated to release 0.17.4
+
+* Tue Jun 18 22:40:53 UTC 2013 - tracy.graydon@intel.com
+- Add BuildRequires:  eet-tools to fix build error; barfing on /usr/bin/eet
+
+* Tue Mar 19 2013 Anas Nashif <anas.nashif@intel.com> upstream/0.17.1@4d31c7c
+- Update to  0.17.1
+
+* Fri Dec 21 2012 Anas Nashif <anas.nashif@intel.com> upstream/0.17.0@4df7d1a
+- Update tp 0.17.0 Final
+
+* Fri Dec 14 2012 Anas Nashif <anas.nashif@intel.com> upstream/0.17.0_lucky@630b358
+- update to 0.17.0 lucky
+
+* Tue Dec 11 2012 Anas Nashif <anas.nashif@intel.com> upstream/0.17.0_gamma@84d6c5b
+- Update to 0.17.0 gamma
+
+* Fri Nov 30 2012 Anas Nashif <anas.nashif@intel.com> upstream/0.17.0_alpha7@ad4aa0b
+- Update to alpha7
+
diff --git a/packaging/enlightenment.manifest b/packaging/enlightenment.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/enlightenment.service b/packaging/enlightenment.service
new file mode 100644 (file)
index 0000000..61dcd79
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Enlightenment service
+After=display-manager-run.service
+Requires=display-manager-run.service
+
+[Service]
+Environment="DISPLAY=:0.0" "HOME=%h"
+ExecStart=/usr/bin/enlightenment_start
+
+[Install]
+WantedBy=graphical.target
diff --git a/packaging/enlightenment.spec b/packaging/enlightenment.spec
new file mode 100644 (file)
index 0000000..06525ce
--- /dev/null
@@ -0,0 +1,132 @@
+%bcond_with wayland
+%bcond_with x
+
+Name:           enlightenment
+Version:        f30493cee337ca7024d7a83ffeafca75c93f3588
+Release:        0
+License:        BSD-2-Clause
+Summary:        The Enlightenment window manager
+Url:            http://www.enlightenment.org/
+Group:          Graphics/EFL
+Source0:        enlightenment-%{version}.tar.bz2
+Source1001:     enlightenment.manifest
+Source1002:     enlightenment.service
+BuildRequires:  doxygen
+BuildRequires:  eet-tools
+BuildRequires:  fdupes
+BuildRequires:  gettext
+BuildRequires:  pam-devel
+BuildRequires:  pkgconfig(alsa)
+BuildRequires:  pkgconfig(dbus-1)
+BuildRequires:  pkgconfig(ecore)
+BuildRequires:  pkgconfig(ecore-con)
+BuildRequires:  pkgconfig(ecore-evas)
+BuildRequires:  pkgconfig(ecore-file)
+BuildRequires:  pkgconfig(ecore-input)
+BuildRequires:  pkgconfig(ecore-input-evas)
+BuildRequires:  pkgconfig(ecore-ipc)
+BuildRequires:  pkgconfig(edbus)
+BuildRequires:  pkgconfig(edje)
+BuildRequires:  pkgconfig(eet)
+BuildRequires:  pkgconfig(eeze)
+BuildRequires:  pkgconfig(efreet)
+BuildRequires:  pkgconfig(eina)
+BuildRequires:  pkgconfig(eio)
+BuildRequires:  pkgconfig(evas)
+BuildRequires:  pkgconfig(elementary)
+BuildRequires:  pkgconfig(ice)
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(udev)
+%if %{with x}
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(xcb-keysyms)
+BuildRequires:  pkgconfig(ecore-x)
+%endif
+%if %{with wayland}
+BuildRequires:  pkgconfig(ecore-drm)
+BuildRequires:  pkgconfig(ecore-wayland)
+%endif
+Requires:       monotype-fonts
+
+
+%description
+Enlightenment is a window manager.
+
+%package devel
+Summary:        Development components for the enlightenment package
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+Development files for enlightenment
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+cp %{SOURCE1002} .
+
+
+%build
+%autogen \
+      --enable-device-udev \
+      --enable-mount-eeze  \
+%if %{with wayland}
+      --disable-wl-x11 \
+      --enable-wl-drm \
+      --enable-wayland-only \
+      --enable-wayland-clients \
+      --disable-pager \
+      --disable-pager-plain \
+      --disable-winlist \
+      --disable-fileman \
+      --disable-wizard \
+      --disable-conf-theme \
+      --disable-conf-display \
+      --disable-conf-bindings \
+      --disable-conf-randr \
+      --disable-everything \
+      --disable-systray \
+      --disable-shot \
+      --disable-xkbswitch \
+      --disable-tiling \
+      --disable-contact \
+%endif
+      --enable-comp
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/graphical.target.wants
+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
+%fdupes  %{buildroot}/%{_libdir}/enlightenment
+%fdupes  %{buildroot}/%{_datadir}/enlightenment
+
+%lang_package
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+%config %{_sysconfdir}/enlightenment/sysactions.conf
+%{_bindir}/enlightenment*
+%{_libdir}/enlightenment/*
+%{_datadir}/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
+%exclude /usr/share/enlightenment/data/config/profile.cfg
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/enlightenment/*
+%{_libdir}/pkgconfig/*.pc