]>
Commit | Line | Data |
---|---|---|
8104c11a | 1 | %define _module_name flame |
2 | %define _snap 20060420 | |
3 | Summary: Enlightenment DR17 module: %{_module_name} | |
25af421d | 4 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name} |
8104c11a | 5 | Name: enlightenment-module-%{_module_name} |
5aacee0a | 6 | Version: 0.0.3 |
8104c11a | 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/e_modules/%{_module_name}-%{_snap}.tar.bz2 | |
12 | # Source0-md5: fb04fb864039b4059b3378e0e96b88f4 | |
13 | URL: http://www.get-e.org/Resources/Modules/ | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
8104c11a | 16 | BuildRequires: enlightenmentDR17-devel |
8104c11a | 17 | BuildRequires: libtool |
18 | BuildRequires: sed >= 4.0 | |
19 | Requires: enlightenmentDR17 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
a973c127 JB |
23 | Burn your desktop! |
24 | ||
7ca00e21 JR |
25 | %description -l pl.UTF-8 |
26 | Spal swój pulpit! | |
8104c11a | 27 | |
28 | %prep | |
29 | %setup -q -n %{_module_name} | |
5aacee0a | 30 | sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \ |
31 | -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \ | |
32 | -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \ | |
33 | -i configure.in | |
8104c11a | 34 | |
35 | %build | |
36 | %{__libtoolize} | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure \ | |
42 | --disable-static | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
5aacee0a | 51 | %find_lang %{_module_name} |
52 | ||
8104c11a | 53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
5aacee0a | 56 | %files -f %{_module_name}.lang |
8104c11a | 57 | %defattr(644,root,root,755) |
58 | %doc AUTHORS ChangeLog README | |
5aacee0a | 59 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name} |
60 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-* | |
61 | %attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so | |
62 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png |