]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %define _module_name emu | |
3 | %define _snap 20060610 | |
4 | Summary: Enlightenment DR17 module: %{_module_name} | |
5 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name} | |
6 | Name: enlightenment-module-%{_module_name} | |
7 | Version: 2006.01.27 | |
8 | Release: 0.%{_snap}.0.1 | |
9 | License: BSD | |
10 | Group: X11/Window Managers/Tools | |
11 | Source0: http://sparky.homelinux.org/snaps/enli/e_modules/%{_module_name}-%{_snap}.tar.bz2 | |
12 | # Source0-md5: 3cdd01c6f874fbfd879c0be7e5b7e67e | |
13 | URL: http://edevelop.org/emu | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: edje | |
17 | BuildRequires: enlightenmentDR17 | |
18 | BuildRequires: enlightenmentDR17-devel | |
19 | BuildRequires: libtool | |
20 | BuildRequires: sed >= 4.0 | |
21 | Requires: enlightenmentDR17 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Enlightenment DR17 module: %{_module_name}. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Moduł Enlightenmenta DR17: %{_module_name}. | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{_module_name} | |
32 | sed -e '/^filesdir/s#= .*#= $(e_modules)/$(MODULE)#' \ | |
33 | -e '/^pkgdir/s#= .*#= $(e_modules)/$(MODULE)/$(MODULE_ARCH)#' \ | |
34 | -i src/modules/emu/Makefile.am | |
35 | ||
36 | %build | |
37 | %{__libtoolize} | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure \ | |
43 | --disable-static | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %find_lang emu | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files -f emu.lang | |
58 | %defattr(644,root,root,755) | |
59 | %doc AUTHORS ChangeLog README | |
60 | %attr(755,root,root) %{_bindir}/emu_client | |
61 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name} | |
62 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-* | |
63 | %attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so | |
64 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/module.eap |