- (B)R: enlightenmentDR17 -> enlightenment
[packages/enlightenment-module-tclock.git] / enlightenment-module-tclock.spec
CommitLineData
c1aa0b2b 1#
2# TODO:
c1aa0b2b 3# - investigate the error while loading this module
c1aa0b2b 4#
5%define _module_name tclock
6%define _snap 20060420
7Summary: Enlightenment DR17 module: %{_module_name}
a3995fb3 8Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name}
c1aa0b2b 9Name: enlightenment-module-%{_module_name}
78a9607b 10Version: 0.2.1
11Release: 0.%{_snap}.1
c1aa0b2b 12License: BSD
13Group: X11/Window Managers/Tools
14#Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
15Source0: http://sparky.homelinux.org/snaps/enli/e_modules/%{_module_name}-%{_snap}.tar.bz2
16# Source0-md5: 4a473333232366812fb96bdfafc525fe
17URL: http://www.get-e.org/Resources/Modules/
18BuildRequires: autoconf
19BuildRequires: automake
20BuildRequires: edje
4e53e58f 21BuildRequires: enlightenment-devel
c1aa0b2b 22BuildRequires: libtool
23BuildRequires: sed >= 4.0
4e53e58f 24Requires: enlightenment
c1aa0b2b 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
39b22829
JB
28Simple text clock module for E17.
29
ee2126de
JR
30%description -l pl.UTF-8
31Prosty moduł zegara tekstowego dla E17.
c1aa0b2b 32
33%prep
34%setup -q -n %{_module_name}
78a9607b 35sed -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
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
78a9607b 56%find_lang %{_module_name}
57
c1aa0b2b 58%clean
59rm -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
This page took 0.074132 seconds and 4 git commands to generate.