blob: e6c670c5a034525813bff1cebddfaecbf5af324e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
%define _module_name engage
%define _snap 20060419
Summary: Enlightenment DR17 module: engage
Summary(pl.UTF-8): Moduł Enlightenmenta DR17: engage
Name: enlightenment-module-%{_module_name}
Version: 0.0.9
Release: 0.%{_snap}.1
License: BSD
Group: X11/Window Managers/Tools
#Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
Source0: http://sparky.homelinux.org/snaps/enli/misc/%{_module_name}-%{_snap}.tar.bz2
# Source0-md5: 9e5d1070c9469ca15b0929e6fdb154da
URL: http://www.get-e.org/Resources/Modules/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: edje
BuildRequires: enlightenmentDR17-devel
BuildRequires: ewl-devel
BuildRequires: emotion-devel
BuildRequires: libtool
BuildRequires: sed >= 4.0
Requires: enlightenmentDR17
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Engage is a dockbar based on the Enlightenment Foundation Libraries.
It currently works as an app-launcher, taskbar and a system tray.
%description -l pl.UTF-8
Engage to pasek dokujący oparty na podstawowych bibliotekach
Enlightenmenta. Aktualnie ma funkcjonalność uruchamiania aplikacji,
paska zadań i zasobnika systemowego.
%prep
%setup -q -n %{_module_name}
sed 's/ 16\.999/ 0.16.999/' -i configure.in
sed 's@$(libdir)/engage/module@$(e_modules)/engage@' -i src/module/Makefile.am
%build
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
--disable-static
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_bindir}/%{_module_name}
%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}
%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*
%attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so
%{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png
%{_datadir}/%{_module_name}
|