- (B)R: enlightenmentDR17 -> enlightenment
[packages/enlightenment-module-uptime.git] / enlightenment-module-uptime.spec
CommitLineData
ee1311d4 1%define _module_name uptime
761851c8 2%define _snap 20060420
3Summary: Enlightenment DR17 module: %{_module_name}
4db86d1e 4Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name}
761851c8 5Name: enlightenment-module-%{_module_name}
ee1311d4 6Version: 0.0.1
7Release: 0.%{_snap}.1
761851c8 8License: BSD
9Group: X11/Window Managers/Tools
10#Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
11Source0: http://sparky.homelinux.org/snaps/enli/e_modules/%{_module_name}-%{_snap}.tar.bz2
ee1311d4 12# Source0-md5: 6e3b408747bc2e6e0031ec325e6730bc
761851c8 13URL: http://www.get-e.org/Resources/Modules/
14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: edje
3d6ca6b1 17BuildRequires: enlightenment-devel
761851c8 18BuildRequires: libtool
19BuildRequires: sed >= 4.0
3d6ca6b1 20Requires: enlightenment
761851c8 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
ee1311d4 24Very simple uptime monitor.
761851c8 25
d025d95b
JR
26%description -l pl.UTF-8
27Bardzo prosty monitor czasu działania systemu.
f78674e6 28
761851c8 29%prep
30%setup -q -n %{_module_name}
ee1311d4 31sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \
32 -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \
33 -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \
34 -i configure.in
761851c8 35
36%build
37%{__libtoolize}
38%{__aclocal}
39%{__autoconf}
40%{__autoheader}
41%{__automake}
42%configure \
43 --disable-static
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
ee1311d4 52%find_lang %{_module_name}
53
761851c8 54%clean
55rm -rf $RPM_BUILD_ROOT
56
ee1311d4 57%files -f %{_module_name}.lang
761851c8 58%defattr(644,root,root,755)
59%doc AUTHORS ChangeLog README
ee1311d4 60%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}
61%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*
62%attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so
63%{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png
64%{_libdir}/enlightenment/modules_extra/%{_module_name}/%{_module_name}.edj
This page took 0.05778 seconds and 4 git commands to generate.