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