]> git.pld-linux.org Git - packages/enlightenment-module-tclock.git/blob - enlightenment-module-tclock.spec
014d6f7bbdbb650d9d70e02cc108376bfc1d3827
[packages/enlightenment-module-tclock.git] / enlightenment-module-tclock.spec
1 #
2 # TODO:
3 # - investigate the error while loading this module
4 #
5 %define         _module_name    tclock
6 %define         _snap   20060420
7 Summary:        Enlightenment DR17 module: %{_module_name}
8 Summary(pl):    Modu³ Enlightenmenta DR17: %{_module_name}
9 Name:           enlightenment-module-%{_module_name}
10 Version:        0.2.1
11 Release:        0.%{_snap}.1
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
21 BuildRequires:  enlightenmentDR17-devel
22 BuildRequires:  libtool
23 BuildRequires:  sed >= 4.0
24 Requires:       enlightenmentDR17
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Simple text clock module for E17.
29
30 %description -l pl
31 Prosty modu³ zegara tekstowego dla E17.
32
33 %prep
34 %setup -q -n %{_module_name}
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
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
56 %find_lang %{_module_name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files -f %{_module_name}.lang
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog README
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.025933 seconds and 2 git commands to generate.