]> git.pld-linux.org Git - packages/E-Forecast.git/blobdiff - E-Forecast.spec
- cosmetics
[packages/E-Forecast.git] / E-Forecast.spec
index 3f93941ba543f4f462c582ff064da05a7b6deefc..41252d4ddd713627551ceeb24a3042f03c1695ee 100644 (file)
@@ -1,42 +1,48 @@
-Summary: Shows an icon with the current weather forecast
-Name: E-Forecast
-Version: 0.1
-Release: 1
-Copyright: GPL
-Group: X11/Utilities
-Source: E-Forecast-0.1.tar.gz
-Requires: enlightenment >= 0.16.4
-Requires: epplets >= 0.6
-URL: http://waepplets.sourceforge.net/
-BuildRoot: /tmp/e-forecast-root
+Summary:       Shows an icon with the current weather forecast
+Summary(pl):   Pokazuje ikonê z aktualn± prognoz± pogody
+Name:          E-Forecast
+Version:       0.2
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/waepplets/%{name}-%{version}.tar.gz
+# Source0-md5: 5243f7ca02dd368975ffeb7acfd83b74
+URL:           http://waepplets.sourceforge.net/
+Requires:      enlightenment >= 0.16.4
+Requires:      epplets >= 0.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This Epplet is intended for use with Enlightenment windowmanager and Epplets
-software. It displays an icon with the weather forecast for the city of your
-choice.
+This Epplet is intended for use with Enlightenment windowmanager and
+Epplets software. It displays an icon with the weather forecast for
+the city of your choice.
+
+%description -l pl
+Ten Eplet jest przeznaczony do u¿ywania z zarz±dc± okien Enlightenment
+i innymi Epletami. Wy¶wietla ikonê z prognoz± pogody dla wybranego
+miasta.
 
 %prep
-%setup
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" make
+CFLAGS="%{rpmcflags}" %{__make}
 
 %install
-export EBIN="/usr/bin"
-export EROOT="/usr/share/enlightenment"
 rm -rf $RPM_BUILD_ROOT
-make PREFIX=$RPM_BUILD_ROOT install
-du -k $RPM_BUILD_ROOT
 
-%post
-echo Please regenerate your Enlightenment menus
+EBIN="%{_bindir}"
+EROOT="%{_datadir}/enlightenment"
+export EBIN EROOT
+
+%{__make} install \
+       PREFIX=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-, root, root)
-%doc COPYING
-/usr/bin/E-Forecast.epplet
-/usr/share/enlightenment/epplet_icons/E-Forecast.icon
-/usr/share/enlightenment/epplet_data/*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/E-Forecast.epplet
+%{_datadir}/enlightenment/epplet_icons/E-Forecast.icon
+%{_datadir}/enlightenment/epplet_data/*
This page took 0.067411 seconds and 4 git commands to generate.