]> git.pld-linux.org Git - packages/E-Forecast.git/commitdiff
- adapterized and partiali rewrited but not tested (eaplet is required).
authorkloczek <kloczek@pld-linux.org>
Wed, 28 Jun 2000 08:34:42 +0000 (08:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    E-Forecast.spec -> 1.2

E-Forecast.spec

index 3f93941ba543f4f462c582ff064da05a7b6deefc..e1fed5296e218e4502ff628d231e900377e48abd 100644 (file)
@@ -1,42 +1,44 @@
-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
+Name:          E-Forecast
+Version:       0.1
+Release:       1
+License:       GPL
+Group:         X11/Utilities
+Group(pl):     X11/Narzêdzia
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/waepplets/%{name}-%{version}.tar.gz
+Requires:      enlightenment >= 0.16.4
+Requires:      epplets >= 0.6
+URL:           http://waepplets.sourceforge.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %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.
 
 %prep
-%setup
+%setup -q
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" 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} PREFIX=$RPM_BUILD_ROOT install
 
 %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.108106 seconds and 4 git commands to generate.