- spec fixed
authorsparky <sparky@pld-linux.org>
Fri, 21 Apr 2006 17:06:24 +0000 (17:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    enlightenment-module-tclock.spec -> 1.2

enlightenment-module-tclock.spec

index 648b108..ff551b1 100644 (file)
@@ -1,20 +1,15 @@
 #
 # 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
@@ -25,7 +20,6 @@ BuildRequires:        autoconf
 BuildRequires: automake
 BuildRequires: edje
 BuildRequires: enlightenmentDR17-devel
-BuildRequires: ewl-devel
 BuildRequires: libtool
 BuildRequires: sed >= 4.0
 Requires:      enlightenmentDR17
@@ -38,7 +32,10 @@ tray.
 
 %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,16 +53,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
This page took 0.051043 seconds and 4 git commands to generate.