]>
Commit | Line | Data |
---|---|---|
c1aa0b2b | 1 | # |
2 | # TODO: | |
c1aa0b2b | 3 | # - investigate the error while loading this module |
c1aa0b2b | 4 | # |
5 | %define _module_name tclock | |
6 | %define _snap 20060420 | |
7 | Summary: Enlightenment DR17 module: %{_module_name} | |
a3995fb3 | 8 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name} |
c1aa0b2b | 9 | Name: enlightenment-module-%{_module_name} |
78a9607b | 10 | Version: 0.2.1 |
11 | Release: 0.%{_snap}.1 | |
c1aa0b2b | 12 | License: BSD |
13 | Group: X11/Window Managers/Tools | |
14 | #Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz | |
15 | Source0: http://sparky.homelinux.org/snaps/enli/e_modules/%{_module_name}-%{_snap}.tar.bz2 | |
16 | # Source0-md5: 4a473333232366812fb96bdfafc525fe | |
17 | URL: http://www.get-e.org/Resources/Modules/ | |
18 | BuildRequires: autoconf | |
19 | BuildRequires: automake | |
20 | BuildRequires: edje | |
4e53e58f | 21 | BuildRequires: enlightenment-devel |
c1aa0b2b | 22 | BuildRequires: libtool |
23 | BuildRequires: sed >= 4.0 | |
4e53e58f | 24 | Requires: enlightenment |
c1aa0b2b | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
39b22829 JB |
28 | Simple text clock module for E17. |
29 | ||
ee2126de JR |
30 | %description -l pl.UTF-8 |
31 | Prosty moduł zegara tekstowego dla E17. | |
c1aa0b2b | 32 | |
33 | %prep | |
34 | %setup -q -n %{_module_name} | |
78a9607b | 35 | sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \ |
36 | -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \ | |
37 | -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \ | |
38 | -i configure.in | |
c1aa0b2b | 39 | |
40 | %build | |
41 | %{__libtoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %configure \ | |
47 | --disable-static | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
78a9607b | 56 | %find_lang %{_module_name} |
57 | ||
c1aa0b2b | 58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
78a9607b | 61 | %files -f %{_module_name}.lang |
c1aa0b2b | 62 | %defattr(644,root,root,755) |
63 | %doc AUTHORS ChangeLog README | |
78a9607b | 64 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name} |
65 | %dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-* | |
66 | %attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so | |
67 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/*.png | |
68 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/%{_module_name}.edj |