]> git.pld-linux.org Git - packages/Gforecast.git/blobdiff - Gforecast.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/Gforecast.git] / Gforecast.spec
index 2c9928e6049299bc142a4b0975cf0ef4401579ab..b0ada2537b12ab5d15ee9c0e8c2784a51c817448 100644 (file)
@@ -1,37 +1,58 @@
-Summary: A weather forecasting applet for the GNOME Panel
-Name: Gforecast
-Version: 0.1
-Release: 1
-Copyright: GPL
-Group: User Interface/Desktops
-Source: Gforecast-0.1.tar.gz
-Requires: gnome-libs >= 1.2.1
-Requires: gnome-core >= 1.2.1
-URL: http://waepplets.sourceforge.net/
-BuildRoot: /tmp/Gforecast-root
+Summary:       A weather forecasting applet for the GNOME Panel
+Summary(pl):   Applet dla GNOME pokazuj±cy pogodê w danym regionie
+Name:          Gforecast
+Version:       0.4
+Release:       2
+License:       GPL
+Group:         X11/Applications
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/waepplets/%{name}-%{version}.tar.gz
+URL:           http://waepplets.sourceforge.net/
+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
+%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.
+
 %prep
-%setup
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
-make
+rm -rf missing
+gettextize --copy --force
+aclocal -I macros
+autoconf
+automake -a -c
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
-du -k $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf AUTHORS ChangeLog NEWS README TODO
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog NEWS README TODO
-/usr/bin/*
-/usr/share/applets/*
-/usr/etc/CORBA/servers/*
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/CORBA/servers/*
+%{_datadir}/applets/Monitors/*
+%{_pixmapsdir}/*
This page took 0.086045 seconds and 4 git commands to generate.