Summary: A weather forecasting applet for the GNOME Panel
+Summary(pl): Applet dla GNOME pokazuj±cy pogodê w danym regionie
Name: Gforecast
-Version: 0.1
-Release: 1
+Version: 0.4
+Release: 2
License: GPL
Group: X11/Applications
-Group(pl): X11/Aplikacje
Source0: ftp://download.sourceforge.net/pub/sourceforge/waepplets/%{name}-%{version}.tar.gz
-Patch0: Gforecast-automake.patch
-Requires: gnome-libs >= 1.2.1
-Requires: gnome-core >= 1.2.1
URL: http://waepplets.sourceforge.net/
-BuildRequires: automake
BuildRequires: gnome-core-devel
BuildRequires: gnome-libs-devel
+BuildRequires: gettext-devel
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
Simple applet that gets the forecast for a chosen city and shows it as
an icon image in a GNOME applet.
+%description -l pl
+Prosty applet, który pobiera informacjê o pogodzie dla danego miasta i
+wy¶wietla j± w formie ikony.
+
%prep
%setup -q
-%patch -p1
%build
-automake
-LDFLAGS="-s"; export LDFLAGS
+rm -rf missing
+gettextize --copy --force
+aclocal -I macros
+autoconf
+automake -a -c
%configure
%{__make}
gzip -9nf AUTHORS ChangeLog NEWS README TODO
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc *.gz
%attr(755,root,root) %{_bindir}/*
%{_sysconfdir}/CORBA/servers/*
%{_datadir}/applets/Monitors/*
-%{_datadir}/pixmaps/*
+%{_pixmapsdir}/*