- WTF ?!
authorsparky <sparky@pld-linux.org>
Fri, 21 Apr 2006 15:42:44 +0000 (15:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    enlightenment-module-mem.spec -> 1.2

enlightenment-module-mem.spec

index 3d396a9..0307914 100644 (file)
@@ -1,43 +1,38 @@
 #
 # TODO:
-# - add meaningful descriptions
 # - add pl
-# - confirm BR and Rs
-# - checkout
-# - rel 1
 #
-%define                _module_name    cpu
+%define                _module_name    mem
 %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: 57280986c659cdf516b05071105677b0
+# Source0-md5: 12889f8bc2a3461f6f73b39049802f35
 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.
+Memory usage 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}
@@ -55,16 +50,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}/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
This page took 0.054152 seconds and 4 git commands to generate.