SPECS: enlightenment-module-tclock.spec - spec fixed

sparky sparky at pld-linux.org
Fri Apr 21 19:06:29 CEST 2006


Author: sparky                       Date: Fri Apr 21 17:06:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- spec fixed

---- Files affected:
SPECS:
   enlightenment-module-tclock.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/enlightenment-module-tclock.spec
diff -u SPECS/enlightenment-module-tclock.spec:1.1 SPECS/enlightenment-module-tclock.spec:1.2
--- SPECS/enlightenment-module-tclock.spec:1.1	Fri Apr 21 15:50:04 2006
+++ SPECS/enlightenment-module-tclock.spec	Fri Apr 21 19:06:24 2006
@@ -1,21 +1,16 @@
 # $Revision$, $Date$
 #
 # TODO:
-# - add meaningful descriptions
 # - add pl
-# - confirm BR and Rs
-# - checkout
 # - investigate the error while loading this module
-# - rel 1
 #
 %define		_module_name	tclock
 %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.2.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
@@ -26,7 +21,6 @@
 BuildRequires:	automake
 BuildRequires:	edje
 BuildRequires:	enlightenmentDR17-devel
-BuildRequires:	ewl-devel
 BuildRequires:	libtool
 BuildRequires:	sed >= 4.0
 Requires:	enlightenmentDR17
@@ -39,7 +33,10 @@
 
 %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}
@@ -57,19 +54,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}/*.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}/*.png
+%{_libdir}/enlightenment/modules_extra/%{_module_name}/%{_module_name}.edj
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -77,9 +74,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/04/21 17:06:24  sparky
+- spec fixed
+
 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-tclock.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list