]>
Commit | Line | Data |
---|---|---|
5527dad0 | 1 | %define _module_name rain |
2 | %define _snap 20060420 | |
3 | Summary: Enlightenment DR17 module: %{_module_name} | |
c365fe2d | 4 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name} |
5527dad0 | 5 | Name: enlightenment-module-%{_module_name} |
8be20624 | 6 | Version: 0.0.3 |
7 | Release: 0.%{_snap}.1 | |
5527dad0 | 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: 51fc9466caa1cac3dcacf8e7f26a292e | |
13 | URL: http://www.get-e.org/Resources/Modules/ | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
b10b77f9 | 16 | BuildRequires: enlightenment-devel |
5527dad0 | 17 | BuildRequires: libtool |
18 | BuildRequires: sed >= 4.0 | |
b10b77f9 | 19 | Requires: enlightenment |
5527dad0 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
8be20624 | 23 | Some rain and clouds on desktop. |
5527dad0 | 24 | |
860b46bc JR |
25 | %description -l pl.UTF-8 |
26 | Trochę deszczu i chmur na pulpicie. | |
b7ca1f5e | 27 | |
5527dad0 | 28 | %prep |
29 | %setup -q -n %{_module_name} | |
8be20624 | 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 | |
5527dad0 | 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 | ||
8be20624 | 51 | %find_lang %{_module_name} |
52 | ||
5527dad0 | 53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
8be20624 | 56 | %files -f %{_module_name}.lang |
5527dad0 | 57 | %defattr(644,root,root,755) |
58 | %doc AUTHORS ChangeLog README | |
8be20624 | 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}/*.png |