Summary: A weather forecasting applet for the GNOME Panel
-Summary(pl): Applet dla GNOME pokazuj±cy pogodê w danym regionie.
+Summary(pl.UTF-8): Applet dla GNOME pokazujący pogodę w danym regionie
Name: Gforecast
-Version: 0.3
-Release: 2
+Version: 0.4
+Release: 3
License: GPL
Group: X11/Applications
-Group(de): X11/Applikationen
-Group(pl): X11/Aplikacje
-Source0: ftp://download.sourceforge.net/pub/sourceforge/waepplets/%{name}-%{version}.tar.gz
-Patch0: %{name}-gettexize.patch
-Requires: gnome-libs >= 1.2.1
-Requires: gnome-core >= 1.2.1
+Source0: http://dl.sourceforge.net/waepplets/%{name}-%{version}.tar.gz
+# Source0-md5: c0f582ea548a3be3f46d7acb8249baa3
+Patch0: %{name}-configure.in.patch
URL: http://waepplets.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
BuildRequires: gnome-core-devel
BuildRequires: gnome-libs-devel
-BuildRequires: gettext-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
%define _sysconfdir /etc/X11/GNOME
%description
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.
+%description -l pl.UTF-8
+Prosty applet, który pobiera informację o pogodzie dla danego miasta i
+wyświetla ją w formie ikony.
%prep
%setup -q
-%patch -p1
+%patch0 -p1
%build
-gettextize --copy --force
-aclocal -I macros
-autoconf
-automake
+rm -rf missing
+%{__gettextize}
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS README TODO
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%{_sysconfdir}/CORBA/servers/*
%{_datadir}/applets/Monitors/*