]> git.pld-linux.org Git - packages/Gforecast.git/blobdiff - Gforecast.spec
- tabs in preamle
[packages/Gforecast.git] / Gforecast.spec
index 62931b1deeb6c0a85d67961640a4b40bc1f8ebe9..2120e9474ecda24d2cb1a01254f5bef4f7bb6bc5 100644 (file)
@@ -1,51 +1,49 @@
 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}
 
@@ -54,7 +52,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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/*
This page took 0.061916 seconds and 4 git commands to generate.