SPECS: enlightenment-module-uptime.spec - WTF^2
sparky
sparky at pld-linux.org
Fri Apr 21 18:04:18 CEST 2006
Author: sparky Date: Fri Apr 21 16:04:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- WTF^2
---- Files affected:
SPECS:
enlightenment-module-uptime.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/enlightenment-module-uptime.spec
diff -u SPECS/enlightenment-module-uptime.spec:1.1 SPECS/enlightenment-module-uptime.spec:1.2
--- SPECS/enlightenment-module-uptime.spec:1.1 Fri Apr 21 15:50:04 2006
+++ SPECS/enlightenment-module-uptime.spec Fri Apr 21 18:04:11 2006
@@ -1,44 +1,39 @@
# $Revision$, $Date$
#
# TODO:
-# - add meaningful descriptions
# - add pl
-# - confirm BR and Rs
-# - checkout
-# - rel 1
#
-%define _module_name mem
+%define _module_name uptime
%define _snap 20060420
Summary: Enlightenment DR17 module: %{_module_name}
Summary(pl): Moduł Enlightenmenta DR17: %{_module_name}
-# - confirm BR and Rs
Name: enlightenment-module-%{_module_name}
-Version: 0.0.9
-Release: 0.%{_snap}.0.1
+Version: 0.0.1
+Release: 0.%{_snap}.1
License: BSD
Group: X11/Window Managers/Tools
#Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
Source0: http://sparky.homelinux.org/snaps/enli/e_modules/%{_module_name}-%{_snap}.tar.bz2
-# Source0-md5: 12889f8bc2a3461f6f73b39049802f35
+# Source0-md5: 6e3b408747bc2e6e0031ec325e6730bc
URL: http://www.get-e.org/Resources/Modules/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: edje
BuildRequires: enlightenmentDR17-devel
-BuildRequires: ewl-devel
BuildRequires: libtool
BuildRequires: sed >= 4.0
Requires: enlightenmentDR17
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Engage is a rss displayer based on the Enlightenment Foundation
-Libraries. It currently works as an app-launcher, taskbar and a system
-tray.
+Very simple uptime monitor.
%prep
%setup -q -n %{_module_name}
-sed 's/ 16\.999/ 0.16.999/' -i configure.in
+sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \
+ -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \
+ -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \
+ -i configure.in
%build
%{__libtoolize}
@@ -56,19 +51,19 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{_module_name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{_module_name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%dir %{_libdir}/enlightenment/modules/%{_module_name}
-%dir %{_libdir}/enlightenment/modules/%{_module_name}/linux-gnu-*
-%attr(755,root,root) %{_libdir}/enlightenment/modules/%{_module_name}/linux-gnu-*/module.so
-%{_libdir}/enlightenment/modules/%{_module_name}/module_icon.png
-%{_libdir}/enlightenment/modules/%{_module_name}/%{_module_name}.edc
-%{_libdir}/enlightenment/modules/%{_module_name}/%{_module_name}.edj
-%{_datadir}/locale/*/LC_MESSAGES/%{_module_name}.mo
+%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}
+%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*
+%attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so
+%{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png
+%{_libdir}/enlightenment/modules_extra/%{_module_name}/%{_module_name}.edj
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -76,9 +71,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/04/21 16:04:11 sparky
+- WTF^2
+
Revision 1.1 2006/04/21 13:50:04 czarny
- init PLD specs
- all beside tclock work
- need checkups and cleanups
- need sparkys work ;p
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/enlightenment-module-uptime.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list