X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Gforecast.spec;h=b0ada2537b12ab5d15ee9c0e8c2784a51c817448;hb=ba288ce436071aaacff13556186d1e81340afdbd;hp=132b7fc4b005bf703f1c5ca75d4aa533254cd5bc;hpb=a19955888c6be76021477da802b0da033aa387fe;p=packages%2FGforecast.git diff --git a/Gforecast.spec b/Gforecast.spec index 132b7fc..b0ada25 100644 --- a/Gforecast.spec +++ b/Gforecast.spec @@ -1,18 +1,17 @@ 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 @@ -22,13 +21,19 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) 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} @@ -39,13 +44,15 @@ rm -rf $RPM_BUILD_ROOT 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}/*