Add rpm support to engage.

SVN revision: 66092
master
Rui Seabra 11 years ago
parent f69e83e034
commit 47ae0c2a63
  1. 3
      Makefile.am
  2. 1
      configure.ac
  3. 62
      e_modules-engage.spec.in

@ -19,7 +19,8 @@ files_DATA = module_icon.png module.desktop e-module-ng.edj
EXTRA_DIST = module.desktop.in \
module_icon.png \
e-module-ng.edc
e-module-ng.edc \
e_modules-engage.spec
%.edj: %.edc
$(EDJE_CC) $(EDJE_FLAGS) $< $@

@ -68,6 +68,7 @@ data/Makefile
data/themes/Makefile
src/Makefile
module.desktop
e_modules-engage.spec
$po_makefile_in
],[
])

@ -0,0 +1,62 @@
%define module_name engage
Summary: %{module_name} module for the Enlightenment window manager
Name: e_modules-%{module_name}
Version: @VERSION@
Release: 0.%(date '+%Y%m%d')
License: BSD
Group: User Interface/Desktops
URL: http://www.enlightenment.org/
Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{module_name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Seabra <rms@1407.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
Requires: enlightenment >= 0.16.999
BuildRequires: edje, enlightenment-devel >= 0.16.999
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{module_name} is a module for the Enlightenment window manager.
Engage will hold all of your open applications for fast switching and
is also an apllication launcher.
There are three basic functionalities that you dont want to miss:
1. If you click on an icon the corresponding will be shown and
raised to the top and if its on another desk, then you will
be switched right to it.
2. If you drag an icon out of NG the App will be shown on the
current desktop.
3. Drag an icon to a pagers desk to send it there.
And lots of other stuff that you have to find out yourself for now :)
%prep
%setup -q -n %{module_name}-%{version}
%build
%{configure}
%{__make} %{?_smp_mflags} %{?mflags}
%install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
%{find_lang} %{module_name} || true > %{module_name}.lang
%clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files -f %{module_name}.lang
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README
%if "%{module_name}" == "emu"
%{_bindir}/%{module_name}*
%endif
%{_libdir}/enlightenment/modules/%{module_name}*
%changelog
Loading…
Cancel
Save