]>
Commit | Line | Data |
---|---|---|
c3b4810a | 1 | # |
2 | %define _module_name eloquence | |
3 | ||
4 | Summary: Enlightenment DR17 module: %{_module_name} | |
a33068a6 | 5 | Summary(pl.UTF-8): Moduł Enlightenmenta DR17: eloquence |
c3b4810a | 6 | Name: enlightenment-module-%{_module_name} |
fa0ffc46 | 7 | Version: 0.5.0.1 |
c3b4810a | 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 | |
fa0ffc46 | 12 | # Source0-md5: 17463227247e05aa2ee15d3963aa34dc |
c3b4810a | 13 | URL: http://www.get-e.org/Resources/Modules/ |
fb3586b3 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
c3b4810a | 16 | BuildRequires: bmp-devel |
17 | BuildRequires: edje | |
25ceafd5 | 18 | BuildRequires: enlightenment-devel |
fb3586b3 | 19 | BuildRequires: libtool |
c3b4810a | 20 | BuildRequires: sed >= 4.0 |
21 | BuildRequires: xmms-devel | |
25ceafd5 | 22 | Requires: enlightenment |
c3b4810a | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
fb3586b3 JB |
26 | Enlightenment DR17 module: Displays the current playing title using |
27 | using XMMS, BMP or Amarok on screen. | |
28 | ||
8d7ee5d0 JR |
29 | %description -l pl.UTF-8 |
30 | Moduł Enlightenmenta DR17 wyświetlający na ekranie tytuł utworu | |
31 | aktualnie odtwarzanego przy użyciu XMMS-a, BMP lub Amaroka. | |
c3b4810a | 32 | |
33 | %prep | |
34 | %setup -q -n %{_module_name}-%{version} | |
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 | -e 's/$AMAROK/have amarok/' \ | |
253b99d9 | 39 | -e '/dlopen/s/^#//' \ |
c3b4810a | 40 | -i configure.in |
41 | ||
42 | %build | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure \ | |
49 | --disable-static | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc AUTHORS COPYING INSTALL README TODO | |
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 | # violates FHS | |
68 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/themes | |
69 | %{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png |