]>
Commit | Line | Data |
---|---|---|
78bb75c5 | 1 | %define _module_name moon |
2 | ||
1c69126b | 3 | Summary: Enlightenment DR17 module: Moon |
747ef16f | 4 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: Moon |
78bb75c5 | 5 | Name: enlightenment-module-%{_module_name} |
6 | Version: 0.0.2 | |
7 | Release: 1 | |
8 | License: BSD-like | |
9 | Group: X11/Window Managers/Tools | |
10 | Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz | |
11 | # Source0-md5: 1df53fb8da941049acb800445f4ad13f | |
12 | URL: http://www.get-e.org/Resources/Modules/ | |
8be642f5 MB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
78bb75c5 | 15 | BuildRequires: edje |
8b77e0b0 | 16 | BuildRequires: enlightenment-devel |
8be642f5 | 17 | BuildRequires: libtool |
8b77e0b0 | 18 | Requires: enlightenment |
78bb75c5 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
1c69126b JB |
22 | Enlightenment DR17 module showing current phase of the Moon. |
23 | ||
3146f06c JR |
24 | %description -l pl.UTF-8 |
25 | Moduł Enlightenmenta DR17 pokazujący aktualną fazę Księżyca. | |
78bb75c5 | 26 | |
27 | %prep | |
28 | %setup -q -n %{_module_name}-%{version} | |
29 | ||
30 | %build | |
31 | %{__libtoolize} | |
32 | %{__aclocal} -I m4 | |
33 | %{__autoconf} | |
34 | %{__autoheader} | |
35 | %{__automake} | |
36 | %configure \ | |
37 | --disable-static \ | |
38 | --prefix=`enlightenment-config --module-dir` | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS COPYING INSTALL README TODO | |
53 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name} | |
54 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-* | |
55 | %attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so | |
56 | # violates FHS | |
57 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/%{_module_name}.* | |
58 | #%{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png |