]> git.pld-linux.org Git - packages/enlightenment-module-eloquence.git/blob - enlightenment-module-eloquence.spec
- (B)R: enlightenmentDR17 -> enlightenment
[packages/enlightenment-module-eloquence.git] / enlightenment-module-eloquence.spec
1 #
2 %define         _module_name    eloquence
3
4 Summary:        Enlightenment DR17 module: %{_module_name}
5 Summary(pl.UTF-8):      Moduł Enlightenmenta DR17: eloquence
6 Name:           enlightenment-module-%{_module_name}
7 Version:        0.5.0.1
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
12 # Source0-md5:  17463227247e05aa2ee15d3963aa34dc
13 URL:            http://www.get-e.org/Resources/Modules/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bmp-devel
17 BuildRequires:  edje
18 BuildRequires:  enlightenment-devel
19 BuildRequires:  libtool
20 BuildRequires:  sed >= 4.0
21 BuildRequires:  xmms-devel
22 Requires:       enlightenment
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Enlightenment DR17 module: Displays the current playing title using
27 using XMMS, BMP or Amarok on screen.
28
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.
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/' \
39     -e '/dlopen/s/^#//' \
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
This page took 0.043846 seconds and 3 git commands to generate.