]>
Commit | Line | Data |
---|---|---|
5b7722f7 | 1 | # |
2 | %define _module_name slideshow | |
3 | ||
4 | Summary: Enlightenment DR17 module: %{_module_name} | |
1b88480a | 5 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: slideshow |
5b7722f7 | 6 | Name: enlightenment-module-%{_module_name} |
e5610f22 | 7 | Version: 0.0.7 |
5b7722f7 | 8 | Release: 1 |
9 | License: BSD-like | |
10 | Group: X11/Window Managers/Tools | |
11 | Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz | |
e5610f22 | 12 | # Source0-md5: e20b828f71d0df75b67f63a2d9be63c8 |
5b7722f7 | 13 | URL: http://www.get-e.org/Resources/Modules/ |
a354f5d2 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
5b7722f7 | 16 | BuildRequires: edje |
b1a88991 | 17 | BuildRequires: enlightenment-devel |
a354f5d2 | 18 | BuildRequires: libtool |
5b7722f7 | 19 | BuildRequires: sed >= 4.0 |
b1a88991 | 20 | Requires: enlightenment |
5b7722f7 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
a354f5d2 JB |
24 | Very simple Enlightenment DR17 module used to change desktop |
25 | backgrounds. | |
26 | ||
b4ba8d58 JR |
27 | %description -l pl.UTF-8 |
28 | Bardzo prosty moduł Enlightenmenta DR17 służący do zmiany tła pulpitu. | |
5b7722f7 | 29 | |
30 | %prep | |
31 | %setup -q -n %{_module_name} | |
32 | sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \ | |
33 | -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \ | |
34 | -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \ | |
35 | -i configure.in | |
36 | ||
37 | %build | |
38 | %{__libtoolize} | |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %configure \ | |
44 | --disable-static | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS COPYING INSTALL README TODO | |
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 | # violates FHS | |
63 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/*.edj | |
64 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png |