]> git.pld-linux.org Git - packages/enlightenment-module-mem.git/blobdiff - enlightenment-module-mem.spec
- (B)R: enlightenmentDR17 -> enlightenment
[packages/enlightenment-module-mem.git] / enlightenment-module-mem.spec
index 3d396a928370c8dec7b15cdb375033e19ca17228..600aeb5a64b74f354b4c65d4a36990c50f034fca 100644 (file)
@@ -1,43 +1,37 @@
-#
-# 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
+Summary(pl.UTF-8):     Moduł Enlightenmenta DR17: %{_module_name}
 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: enlightenment-devel
 BuildRequires: libtool
 BuildRequires: sed >= 4.0
-Requires:      enlightenmentDR17
+Requires:      enlightenment
 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.
+
+%description -l pl.UTF-8
+Monitor wykorzystania pamięci.
 
 %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 +49,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.119184 seconds and 4 git commands to generate.