From 822923df43116d1e186a728f33e795c4fa9ac097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 9 Aug 2010 11:32:21 +0200 Subject: [PATCH 01/49] Change RPM group --- wmfrog.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wmfrog.spec b/wmfrog.spec index 643fa97..f79bb0d 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,9 +1,9 @@ Name: wmfrog Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A weather application, it shows the weather in a graphical way -Group: User Interface/X +Group: Amusements/Graphics License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 09 2010 Petr Pisar - 0.2.1-2 +- Change RPM group to Amusements/Graphics + * Thu Aug 05 2010 Petr Pisar - 0.2.1-1 - 0.2.1 bump - Fix METAR parser From 355fa1f625785978ea45ae4a1109a03a94dc5bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 9 Aug 2010 11:32:21 +0200 Subject: [PATCH 02/49] Change RPM group --- wmfrog.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wmfrog.spec b/wmfrog.spec index 643fa97..f79bb0d 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,9 +1,9 @@ Name: wmfrog Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A weather application, it shows the weather in a graphical way -Group: User Interface/X +Group: Amusements/Graphics License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 09 2010 Petr Pisar - 0.2.1-2 +- Change RPM group to Amusements/Graphics + * Thu Aug 05 2010 Petr Pisar - 0.2.1-1 - 0.2.1 bump - Fix METAR parser From e4e13488c122c4d652a9694dc1045782a3525ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 1 Sep 2010 11:37:22 +0200 Subject: [PATCH 03/49] 0.2.2 bump Upstream solved wind parsing in other way, patch for 0.2.1 removed. --- .gitignore | 1 + sources | 2 +- wmfrog-0.2.1-metar_parser.patch | 68 --------------------------------- wmfrog.spec | 9 +++-- 4 files changed, 7 insertions(+), 73 deletions(-) delete mode 100644 wmfrog-0.2.1-metar_parser.patch diff --git a/.gitignore b/.gitignore index 3b251ed..142e567 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ wmfrog-0.2.1.tgz +/wmfrog-0.2.2.tgz diff --git a/sources b/sources index a837528..d240624 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ad9a552cb6b802e7eca0a05d3a53151d wmfrog-0.2.1.tgz +5732ea81317451462143bfd5ddba2b16 wmfrog-0.2.2.tgz diff --git a/wmfrog-0.2.1-metar_parser.patch b/wmfrog-0.2.1-metar_parser.patch deleted file mode 100644 index c46f838..0000000 --- a/wmfrog-0.2.1-metar_parser.patch +++ /dev/null @@ -1,68 +0,0 @@ -diff -Naur wmfrog-0.2.1/Src/weather.pl wmfrog-0.2.1-devel/Src/weather.pl ---- wmfrog-0.2.1/Src/weather.pl 2010-08-04 20:43:34.000000000 +0200 -+++ wmfrog-0.2.1-devel/Src/weather.pl 2010-08-05 13:11:51.446572041 +0200 -@@ -5,6 +5,7 @@ - #The Weather data can be retrieved through http of ftp. - #Http is faster, however this might get broken if NOAA change their webpage layout - #in wich case you should choose ftp. -+# See for more details. - $mode="http"; # html || ftp - - -@@ -16,17 +17,17 @@ - mkdir($tmpfolder); - - $html="http://weather.noaa.gov/cgi-bin/mgetmetar.pl?cccc=${station}"; --$ftp="ftp://weather.noaa.gov/data/observations/metar/stations/${station}.TXT"; -+$ftp="ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/${station}.TXT"; - $url=$html; - if($mode eq "ftp") - { - $url=$ftp; - } - -+my $file="${tmpfolder}/${station}_dat"; - # change this line if wget isn't in your path: --`wget -q -O ${tmpfolder}/${station}_dat $url`; --$line=""; --$file="${tmpfolder}/${station}_dat"; -+`wget -q -O ${file} $url`; -+my $line=""; - open(DATA,"<$file"); - $allGood=0; - if($mode eq "http") -@@ -37,7 +38,7 @@ - $line=; - } - $i=0; -- while($i!=12 && !eof(DATA)) -+ while($i!=20 && !eof(DATA)) - { - #print "*"; - $line=; -@@ -53,22 +54,10 @@ - chomp $line; - ($crap,$time)=split(/\ /,$line); - ($hour,$minute)=split(/:/,$time); --$line=""; --if($mode eq "http") --{ -- $i=0; -- while($i!=8) -- { -- $line=; -- $i++; -- } --} --$newLine=; --$line.=$newLine; --chomp $line; --$line=~s/
//; --$line="METAR $station $line"; -+ -+$line=; - close DATA; -+chomp $line; - - chomp $line; - @args=split(/\ /,$line); diff --git a/wmfrog.spec b/wmfrog.spec index f79bb0d..d0c59c6 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog -Version: 0.2.1 -Release: 2%{?dist} +Version: 0.2.2 +Release: 1%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics @@ -8,7 +8,6 @@ License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -Patch0: %{name}-0.2.1-metar_parser.patch BuildRequires: libX11-devel, libXext-devel, libXpm-devel Requires: wget @@ -21,7 +20,6 @@ when I was 25, I'm a programmer not a designer :) %prep %setup -q -c -%patch0 -p1 -b .metar_parser sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile sed -i 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c @@ -49,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Sep 01 2010 Petr Pisar - 0.2.2-1 +- 0.2.2 bump + * Mon Aug 09 2010 Petr Pisar - 0.2.1-2 - Change RPM group to Amusements/Graphics From 5b47d42a9cd50da8614377545c007c0df92d0f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 1 Sep 2010 11:37:22 +0200 Subject: [PATCH 04/49] 0.2.2 bump Upstream solved wind parsing in other way, patch for 0.2.1 removed. --- .gitignore | 1 + sources | 2 +- wmfrog-0.2.1-metar_parser.patch | 68 --------------------------------- wmfrog.spec | 9 +++-- 4 files changed, 7 insertions(+), 73 deletions(-) delete mode 100644 wmfrog-0.2.1-metar_parser.patch diff --git a/.gitignore b/.gitignore index 3b251ed..142e567 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ wmfrog-0.2.1.tgz +/wmfrog-0.2.2.tgz diff --git a/sources b/sources index a837528..d240624 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ad9a552cb6b802e7eca0a05d3a53151d wmfrog-0.2.1.tgz +5732ea81317451462143bfd5ddba2b16 wmfrog-0.2.2.tgz diff --git a/wmfrog-0.2.1-metar_parser.patch b/wmfrog-0.2.1-metar_parser.patch deleted file mode 100644 index c46f838..0000000 --- a/wmfrog-0.2.1-metar_parser.patch +++ /dev/null @@ -1,68 +0,0 @@ -diff -Naur wmfrog-0.2.1/Src/weather.pl wmfrog-0.2.1-devel/Src/weather.pl ---- wmfrog-0.2.1/Src/weather.pl 2010-08-04 20:43:34.000000000 +0200 -+++ wmfrog-0.2.1-devel/Src/weather.pl 2010-08-05 13:11:51.446572041 +0200 -@@ -5,6 +5,7 @@ - #The Weather data can be retrieved through http of ftp. - #Http is faster, however this might get broken if NOAA change their webpage layout - #in wich case you should choose ftp. -+# See for more details. - $mode="http"; # html || ftp - - -@@ -16,17 +17,17 @@ - mkdir($tmpfolder); - - $html="http://weather.noaa.gov/cgi-bin/mgetmetar.pl?cccc=${station}"; --$ftp="ftp://weather.noaa.gov/data/observations/metar/stations/${station}.TXT"; -+$ftp="ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/${station}.TXT"; - $url=$html; - if($mode eq "ftp") - { - $url=$ftp; - } - -+my $file="${tmpfolder}/${station}_dat"; - # change this line if wget isn't in your path: --`wget -q -O ${tmpfolder}/${station}_dat $url`; --$line=""; --$file="${tmpfolder}/${station}_dat"; -+`wget -q -O ${file} $url`; -+my $line=""; - open(DATA,"<$file"); - $allGood=0; - if($mode eq "http") -@@ -37,7 +38,7 @@ - $line=; - } - $i=0; -- while($i!=12 && !eof(DATA)) -+ while($i!=20 && !eof(DATA)) - { - #print "*"; - $line=; -@@ -53,22 +54,10 @@ - chomp $line; - ($crap,$time)=split(/\ /,$line); - ($hour,$minute)=split(/:/,$time); --$line=""; --if($mode eq "http") --{ -- $i=0; -- while($i!=8) -- { -- $line=; -- $i++; -- } --} --$newLine=; --$line.=$newLine; --chomp $line; --$line=~s/
//; --$line="METAR $station $line"; -+ -+$line=; - close DATA; -+chomp $line; - - chomp $line; - @args=split(/\ /,$line); diff --git a/wmfrog.spec b/wmfrog.spec index f79bb0d..d0c59c6 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog -Version: 0.2.1 -Release: 2%{?dist} +Version: 0.2.2 +Release: 1%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics @@ -8,7 +8,6 @@ License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -Patch0: %{name}-0.2.1-metar_parser.patch BuildRequires: libX11-devel, libXext-devel, libXpm-devel Requires: wget @@ -21,7 +20,6 @@ when I was 25, I'm a programmer not a designer :) %prep %setup -q -c -%patch0 -p1 -b .metar_parser sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile sed -i 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c @@ -49,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Sep 01 2010 Petr Pisar - 0.2.2-1 +- 0.2.2 bump + * Mon Aug 09 2010 Petr Pisar - 0.2.1-2 - Change RPM group to Amusements/Graphics From c504f3fe4f760efb24991aab52117c30480d0ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 3 Dec 2010 14:53:44 +0100 Subject: [PATCH 05/49] 0.3.1 bump Fixes weather data parser. Finally. --- .gitignore | 1 + sources | 2 +- wmfrog.spec | 10 ++++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 142e567..0079df0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ wmfrog-0.2.1.tgz /wmfrog-0.2.2.tgz +/wmfrog-0.3.1.tgz diff --git a/sources b/sources index d240624..33ab76d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5732ea81317451462143bfd5ddba2b16 wmfrog-0.2.2.tgz +de4975f2c6a7931fdf5faa3c263aaf5f wmfrog-0.3.1.tgz diff --git a/wmfrog.spec b/wmfrog.spec index d0c59c6..1b65022 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,5 +1,5 @@ Name: wmfrog -Version: 0.2.2 +Version: 0.3.1 Release: 1%{?dist} Summary: A weather application, it shows the weather in a graphical way @@ -21,7 +21,9 @@ when I was 25, I'm a programmer not a designer :) %prep %setup -q -c sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile -sed -i 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c +sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c +# Remove prebuilt binaries +make -C Src clean %build @@ -47,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Dec 02 2010 Petr Pisar - 0.3.1-1 +- 0.3.1 bump +- Fixed clouds/wind parsing issues + * Wed Sep 01 2010 Petr Pisar - 0.2.2-1 - 0.2.2 bump From 0dce0227da094785a8b9a2320b9a40e4575bc821 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 20:54:43 -0600 Subject: [PATCH 06/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 1b65022..e7b128c 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Thu Dec 02 2010 Petr Pisar - 0.3.1-1 - 0.3.1 bump - Fixed clouds/wind parsing issues From fe7adf93fefd2e5fc9afc7aa9bcc81ecf1c3ea0f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 14 Jan 2012 02:24:53 -0600 Subject: [PATCH 07/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index e7b128c..a00c9fc 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Feb 07 2011 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 11b0c22361a392923077f1b12f9051daf23828b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 17 May 2012 08:25:08 +0200 Subject: [PATCH 08/49] Adjust to NOAA web page change --- wmfrog-0.3.1-Skip-warning.patch | 28 ++++++++++++++++++++++++++++ wmfrog.spec | 8 +++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 wmfrog-0.3.1-Skip-warning.patch diff --git a/wmfrog-0.3.1-Skip-warning.patch b/wmfrog-0.3.1-Skip-warning.patch new file mode 100644 index 0000000..5e29f35 --- /dev/null +++ b/wmfrog-0.3.1-Skip-warning.patch @@ -0,0 +1,28 @@ +From a1011efd4be1d960e2a145f15ad8e7aa92b31fea Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 15 May 2012 20:31:22 +0200 +Subject: [PATCH] Skip warning + +NOAA started to warn about redirect to new URL +. This patch skips the warning. +We need to move to the new URL soon. +--- + Src/weather.pl | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Src/weather.pl b/Src/weather.pl +index 5ceeccd..c556950 100755 +--- a/Src/weather.pl ++++ b/Src/weather.pl +@@ -40,7 +40,7 @@ if($mode eq "http") + $line=; + } + $i=0; +- while($i!=12 && !eof(DATA)) ++ while($i!=21 && !eof(DATA)) + { + $line=; + $i++; +-- +1.7.3.4 + diff --git a/wmfrog.spec b/wmfrog.spec index a00c9fc..3f394f4 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,12 +1,14 @@ Name: wmfrog Version: 0.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz +# Bug 822219, submitted to upstream. +Patch0: %{name}-0.3.1-Skip-warning.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: libX11-devel, libXext-devel, libXpm-devel @@ -20,6 +22,7 @@ when I was 25, I'm a programmer not a designer :) %prep %setup -q -c +%patch0 -p1 -b .warning sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c # Remove prebuilt binaries @@ -49,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu May 17 2012 Petr Pisar - 0.3.1-4 +- Adjust to NOAA web page change (bug #822219) + * Sat Jan 14 2012 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From e842d6de88441e165ecd148610d11a00bb38b33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 17 May 2012 08:27:41 +0200 Subject: [PATCH 09/49] Depend on perl ABI --- wmfrog.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmfrog.spec b/wmfrog.spec index 3f394f4..a775cca 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -12,6 +12,7 @@ Patch0: %{name}-0.3.1-Skip-warning.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: libX11-devel, libXext-devel, libXpm-devel +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: wget %description @@ -54,6 +55,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu May 17 2012 Petr Pisar - 0.3.1-4 - Adjust to NOAA web page change (bug #822219) +- Depend on perl ABI * Sat Jan 14 2012 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From 673ffda0c557eac30448014e7a537b0ac8526bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 17 May 2012 08:28:29 +0200 Subject: [PATCH 10/49] Clean spec file --- wmfrog.spec | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/wmfrog.spec b/wmfrog.spec index a775cca..f874f26 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -2,15 +2,12 @@ Name: wmfrog Version: 0.3.1 Release: 4%{?dist} Summary: A weather application, it shows the weather in a graphical way - Group: Amusements/Graphics License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz # Bug 822219, submitted to upstream. Patch0: %{name}-0.3.1-Skip-warning.patch -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - BuildRequires: libX11-devel, libXext-devel, libXpm-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: wget @@ -20,7 +17,6 @@ This is a weather application, it shows the weather in a graphical way. The artwork looks like a kiddo did it, but that's part of the charm… Ok, I did it when I was 25, I'm a programmer not a designer :) - %prep %setup -q -c %patch0 -p1 -b .warning @@ -29,33 +25,24 @@ sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c # Remove prebuilt binaries make -C Src clean - %build cd Src make CFLAGS="${RPM_OPT_FLAGS}" %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT cd Src make install DESTDIR=$RPM_BUILD_ROOT - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %{_bindir}/%{name} %{_libexecdir}/%{name} %doc CHANGES COPYING HINTS - %changelog * Thu May 17 2012 Petr Pisar - 0.3.1-4 - Adjust to NOAA web page change (bug #822219) - Depend on perl ABI +- Clean spec file * Sat Jan 14 2012 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From e0cd72b75feec66e574872a04484ad351f3e499b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 8 Jun 2012 15:07:11 +0200 Subject: [PATCH 11/49] Perl 5.16 rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index f874f26..4c769ea 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Fri Jun 08 2012 Petr Pisar - 0.3.1-5 +- Perl 5.16 rebuild + * Thu May 17 2012 Petr Pisar - 0.3.1-4 - Adjust to NOAA web page change (bug #822219) - Depend on perl ABI From 54463c22c257293b03d0d2d473f7d184ac8a4b9c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 22:48:01 -0500 Subject: [PATCH 12/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 4c769ea..5a3b5cc 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Sun Jul 22 2012 Fedora Release Engineering - 0.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Fri Jun 08 2012 Petr Pisar - 0.3.1-5 - Perl 5.16 rebuild From a28a9f531ff97cb1beb5579bafd9e35ddeb2032b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 21:12:33 -0600 Subject: [PATCH 13/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 5a3b5cc..7aa1815 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sun Jul 22 2012 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From a79bafe995efaf733858629a4bd49b66d2f366cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 17 Jul 2013 12:31:48 +0200 Subject: [PATCH 14/49] Perl 5.18 rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 7aa1815..e1caad9 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Wed Jul 17 2013 Petr Pisar - 0.3.1-8 +- Perl 5.18 rebuild + * Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 728924e0dfe6555c36e4b2231c8f52d93d43fe65 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 02:05:48 -0500 Subject: [PATCH 15/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index e1caad9..9e88b7f 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Wed Jul 17 2013 Petr Pisar - 0.3.1-8 - Perl 5.18 rebuild From 04ee4ca149a8e3acb71c3a85ec8986d8d0a58c43 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 23:42:38 -0500 Subject: [PATCH 16/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 9e88b7f..a7dc1cf 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 0.3.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 921d93734ce3d540d124e93ffd06123dc5b635e0 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 08:46:54 +0000 Subject: [PATCH 17/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index a7dc1cf..b097245 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 0.3.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 0.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From f27f9a9193a1a610e80def3b2233394bd5c4f3de Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 27 Aug 2014 12:30:54 +0200 Subject: [PATCH 18/49] Perl 5.20 rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index b097245..00be26e 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Wed Aug 27 2014 Jitka Plesnikova - 0.3.1-12 +- Perl 5.20 rebuild + * Mon Aug 18 2014 Fedora Release Engineering - 0.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 898e0f719df25d66d0ca8346f7ffaee787f4b124 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 3 Jun 2015 18:33:00 +0200 Subject: [PATCH 19/49] Perl 5.22 rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 00be26e..90bceb8 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Wed Jun 03 2015 Jitka Plesnikova - 0.3.1-13 +- Perl 5.22 rebuild + * Wed Aug 27 2014 Jitka Plesnikova - 0.3.1-12 - Perl 5.20 rebuild From d95bbf2e3cfbbec4481ceedbd78971fdc9e3bf5d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 02:30:08 +0000 Subject: [PATCH 20/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 90bceb8..8f733d6 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 0.3.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed Jun 03 2015 Jitka Plesnikova - 0.3.1-13 - Perl 5.22 rebuild From 080c069e473c9b4f2710d3390f97af4a55fd70c2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 03:05:49 +0000 Subject: [PATCH 21/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 8f733d6..f259263 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 0.3.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 0.3.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 6980d03264dcb578c8ee6e393d33873ebb1f43d7 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Sat, 14 May 2016 23:59:43 +0200 Subject: [PATCH 22/49] Perl 5.24 rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index f259263..ff869f8 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -39,6 +39,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Sat May 14 2016 Jitka Plesnikova - 0.3.1-16 +- Perl 5.24 rebuild + * Fri Feb 05 2016 Fedora Release Engineering - 0.3.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 6b5dcf64dd085f4f7a72af7b0d55081c3fa96f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 24 Jun 2016 10:47:20 +0200 Subject: [PATCH 23/49] Mandatory Perl build-requires added --- wmfrog.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/wmfrog.spec b/wmfrog.spec index ff869f8..a59d5c4 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -9,6 +9,7 @@ Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz # Bug 822219, submitted to upstream. Patch0: %{name}-0.3.1-Skip-warning.patch BuildRequires: libX11-devel, libXext-devel, libXpm-devel +BuildRequires: perl-generators Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: wget From c2b08876eb32de1f79dde061c5048b6740b3664d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:28:24 +0000 Subject: [PATCH 24/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index a59d5c4..15c43fe 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 16%{?dist} +Release: 17%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -40,6 +40,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Sat May 14 2016 Jitka Plesnikova - 0.3.1-16 - Perl 5.24 rebuild From 31caedf574eef7398471b83b0ffed95c572f60af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 15 Feb 2017 15:13:08 +0100 Subject: [PATCH 25/49] Fix a crash with overlong wmfrog -tmp argument --- ...g-0.3.1-Fix-parsing-wmfrog-arguments.patch | 163 ++++++++++++++++++ wmfrog.spec | 9 +- 2 files changed, 171 insertions(+), 1 deletion(-) create mode 100644 wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch diff --git a/wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch b/wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch new file mode 100644 index 0000000..d2f0eeb --- /dev/null +++ b/wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch @@ -0,0 +1,163 @@ +From 529c79dcfb0dc20c123865d1caf1142b085080d5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 15 Feb 2017 15:05:35 +0100 +Subject: [PATCH] Fix parsing wmfrog arguments +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +A command like "wmfrog -s KSEA -o 7 -tmp /home/stela010/tmp/wmfrog" +crashed because the -tmp argument was bigger than a static buffer used +for storing the argument value. There were similar issues with other +argument values. + +This patch fixes it. It also fixes the fact that -tmp argument was +always ignored and user's home directory was used instead. + + + +Signed-off-by: Petr Písař +--- + Src/wmFrog.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++----------- + 1 file changed, 54 insertions(+), 12 deletions(-) + +diff --git a/Src/wmFrog.c b/Src/wmFrog.c +index 24f795c..c422e55 100644 +--- a/Src/wmFrog.c ++++ b/Src/wmFrog.c +@@ -12,6 +12,7 @@ + /* + * Includes + */ ++#define _XOPEN_SOURCE 500 /* For strdup(3) */ + #include + #include + #include +@@ -74,7 +75,7 @@ int NeedsUpdate = 1; + int maxWind = MAX_WIND; + int timeOffset = TIME_OFFSET; + long UpdateDelay; +-char* folder; ++char* folder = NULL; + int needsUpdate = 1; + + /* +@@ -91,7 +92,9 @@ int main(int argc, char *argv[]) { + */ + ParseCMDLine(argc, argv); + +- folder = GetTempDir(".wmapps"); ++ if (NULL == folder) { ++ folder = GetTempDir(".wmapps"); ++ } + + initXwindow(argc, argv); + +@@ -343,7 +346,11 @@ void ParseCMDLine(int argc, char *argv[]) { + print_usage(); + exit(-1); + } +- strcpy(folder, argv[++i]); ++ folder = strdup(argv[++i]); ++ if (NULL == folder) { ++ fprintf(stderr, "Not enough memory to copy -tmp argument.\n"); ++ exit(-1); ++ } + + + } else if ((!strcmp(argv[i], "-station")) || (!strcmp(argv[i], "-s"))) { +@@ -352,6 +359,10 @@ void ParseCMDLine(int argc, char *argv[]) { + print_usage(); + exit(-1); + } ++ if (strlen(argv[i + 1]) >= sizeof(StationID)/sizeof(*StationID) - 1) { ++ fprintf(stderr, "METAR station ID is too long.\n"); ++ exit(-1); ++ } + strcpy(StationID, StringToUpper(argv[++i])); + strcpy(Label, StationID); + } else if (!strcmp(argv[i], "-delay")) { +@@ -377,6 +388,10 @@ void ParseCMDLine(int argc, char *argv[]) { + print_usage(); + exit(-1); + } ++ if (strlen(argv[i + 1]) >= sizeof(Label)/sizeof(*Label) - 1) { ++ fprintf(stderr, "Station label is too long.\n"); ++ exit(-1); ++ } + strcpy(Label, StringToUpper(argv[++i])); + } + } +@@ -454,7 +469,8 @@ double UT; + // Will be called at regular interval to update the weather data (alarm) + + void UpdateData() { +- char command[1024], Line[512], FileName[128]; ++ char *command, Line[512], *FileName; ++ const char weatherPlScript[] = "/usr/lib/wmfrog/weather.pl"; + int ign; + char* igns; + igns = (char*) malloc(512); +@@ -492,13 +508,29 @@ void UpdateData() { + /* + * Execute Perl script to grab the Latest METAR Report + */ +- snprintf(command, 1024, "/usr/lib/wmfrog/weather.pl %s %s", StationID, folder); +- //printf("Retrieveing data\n"); +- ign = system(command); +- snprintf(FileName, 128, "%s/%s", folder, StationID); +- //fprintf(stderr,"%s\n\n",FileName); ++ command = malloc(strlen(weatherPlScript) + 1 + strlen(StationID) + 1 ++ + strlen(folder) + 1); ++ if (NULL == command) { ++ fprintf(stderr, "Not enough memory to build wheater.pl command.\n"); ++ } else { ++ sprintf(command, "%s %s %s", weatherPlScript, StationID, folder); ++ //printf("Retrieveing data\n"); ++ ign = system(command); ++ free(command); ++ } ++ ++ FileName = malloc(strlen(folder) + 1 + strlen(StationID) + 1); ++ if (NULL == FileName) { ++ fprintf(stderr, "Not enough memory to build staion ID file name.\n"); ++ fp = NULL; ++ } else { ++ sprintf(FileName, "%s/%s", folder, StationID); ++ //fprintf(stderr,"%s\n\n",FileName); ++ fp = fopen(FileName, "r"); ++ free(FileName); ++ } + +- if ((fp = fopen(FileName, "r")) != NULL) { ++ if (fp != NULL) { + ign = fscanf(fp, "Hour:%d", &weather.hour); + igns = fgets(Line, 512, fp); //h + ign = fscanf(fp, "Minute:%d", &weather.min); +@@ -620,11 +652,21 @@ void UpdateData() { + char *GetTempDir(char *suffix) { + uid_t id; + struct passwd *userEntry; +- static char userHome[128]; ++ char *userHome; + + id = getuid(); + userEntry = getpwuid(id); +- snprintf(userHome, 128, "%s/%s", userEntry->pw_dir, suffix); ++ if (NULL == userEntry) { ++ perror("Could not retrieve user's passwd entry"); ++ exit(-1); ++ } ++ ++ userHome = malloc(strlen(userEntry->pw_dir) + 1 + strlen(suffix) + 1); ++ if (NULL == userHome) { ++ fprintf(stderr, "Not enough memory for building temporary path.\n"); ++ exit(-1); ++ } ++ sprintf(userHome, "%s/%s", userEntry->pw_dir, suffix); + return userHome; + } + +-- +2.7.4 + diff --git a/wmfrog.spec b/wmfrog.spec index 15c43fe..389238c 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 17%{?dist} +Release: 18%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -8,6 +8,9 @@ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz # Bug 822219, submitted to upstream. Patch0: %{name}-0.3.1-Skip-warning.patch +# Fix a crash with overlong wmfrog -tmp argument, bug #1422319, +# mailed to upstream. +Patch1: %{name}-0.3.1-Fix-parsing-wmfrog-arguments.patch BuildRequires: libX11-devel, libXext-devel, libXpm-devel BuildRequires: perl-generators Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -21,6 +24,7 @@ when I was 25, I'm a programmer not a designer :) %prep %setup -q -c %patch0 -p1 -b .warning +%patch1 -p1 sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c # Remove prebuilt binaries @@ -40,6 +44,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc CHANGES COPYING HINTS %changelog +* Wed Feb 15 2017 Petr Pisar - 0.3.1-18 +- Fix a crash with overlong wmfrog -tmp argument (bug #1422319) + * Sat Feb 11 2017 Fedora Release Engineering - 0.3.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From ab40b994eef022dc6c579cf5e5331445adf50dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 15 Feb 2017 15:33:11 +0100 Subject: [PATCH 26/49] Modernize spec file --- wmfrog.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/wmfrog.spec b/wmfrog.spec index 389238c..90b0e59 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -11,10 +11,14 @@ Patch0: %{name}-0.3.1-Skip-warning.patch # Fix a crash with overlong wmfrog -tmp argument, bug #1422319, # mailed to upstream. Patch1: %{name}-0.3.1-Fix-parsing-wmfrog-arguments.patch -BuildRequires: libX11-devel, libXext-devel, libXpm-devel +BuildRequires: make +BuildRequires: gcc +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXpm-devel BuildRequires: perl-generators -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: wget +BuildRequires: sed +Requires: wget %description This is a weather application, it shows the weather in a graphical way. The @@ -39,9 +43,10 @@ cd Src make install DESTDIR=$RPM_BUILD_ROOT %files +%license COPYING +%doc CHANGES HINTS %{_bindir}/%{name} %{_libexecdir}/%{name} -%doc CHANGES COPYING HINTS %changelog * Wed Feb 15 2017 Petr Pisar - 0.3.1-18 From 2da6130c6487c768a0979ff59789b31509361382 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:41:59 +0000 Subject: [PATCH 27/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 90b0e59..8c4a627 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 18%{?dist} +Release: 19%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -49,6 +49,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed Feb 15 2017 Petr Pisar - 0.3.1-18 - Fix a crash with overlong wmfrog -tmp argument (bug #1422319) From acce8f7beba6a204ecb82861657da77a993d24bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 10:20:51 +0000 Subject: [PATCH 28/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 8c4a627..dfca955 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 19%{?dist} +Release: 20%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -49,6 +49,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 45b4036434ab69b9ed4dc4e4b0ba9406c98981c8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 21:03:58 +0000 Subject: [PATCH 29/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index dfca955..64551b2 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 20%{?dist} +Release: 21%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -49,6 +49,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 0.3.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 5d40c632153472f6f4c4c41d5b18406491a59b8a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:56:07 +0000 Subject: [PATCH 30/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 64551b2..a7da688 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 21%{?dist} +Release: 22%{?dist} Summary: A weather application, it shows the weather in a graphical way Group: Amusements/Graphics License: GPLv2+ @@ -49,6 +49,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 1d0d14ee0a37a71d0c1abaeb95093989981150f7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:30 +0100 Subject: [PATCH 31/49] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- wmfrog.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index a7da688..ce132ea 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -2,7 +2,6 @@ Name: wmfrog Version: 0.3.1 Release: 22%{?dist} Summary: A weather application, it shows the weather in a graphical way -Group: Amusements/Graphics License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz From 82b5695abc84ba4b33c64bf8787ee601c54cb2d6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:50:48 +0000 Subject: [PATCH 32/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index ce132ea..9240c58 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 22%{?dist} +Release: 23%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -48,6 +48,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.3.1-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 0.3.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 4e107e3f6d1b413d1ecd7ad1e15bac10d7517b68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 03:37:05 +0000 Subject: [PATCH 33/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 9240c58..7b72bd1 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 23%{?dist} +Release: 24%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -48,6 +48,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.3.1-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 0.3.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From a46461565ba8b0afc0b45078da65871c7bc147ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 21 Jan 2020 17:19:48 +0100 Subject: [PATCH 34/49] Fix building with GCC 10 --- ....1-Define-global-variables-only-once.patch | 65 +++++++++++++++++++ wmfrog.spec | 8 ++- 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 wmfrog-0.3.1-Define-global-variables-only-once.patch diff --git a/wmfrog-0.3.1-Define-global-variables-only-once.patch b/wmfrog-0.3.1-Define-global-variables-only-once.patch new file mode 100644 index 0000000..9118466 --- /dev/null +++ b/wmfrog-0.3.1-Define-global-variables-only-once.patch @@ -0,0 +1,65 @@ +From 04bed51561fba5496e10422aa7e8d622749db8d5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 21 Jan 2020 17:12:44 +0100 +Subject: [PATCH] Define global variables only once +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GCC 10 stopped hiding doubled variable definition. That leads to +linker errors like this: + +wmfrog-0.3.1/Src/xutils.h:25: multiple definition of `DisplayDepth'; wmFrog.o:/builddir/build/BUILD/wmfrog-0.3.1/Src/xutils.h:25: first defined here + +This patch fixes it. + +Signed-off-by: Petr Písař +--- + Src/xutils.c | 9 +++++++++ + Src/xutils.h | 10 +++++----- + 2 files changed, 14 insertions(+), 5 deletions(-) + +diff --git a/Src/xutils.c b/Src/xutils.c +index 5a2928b..ea660e1 100644 +--- a/Src/xutils.c ++++ b/Src/xutils.c +@@ -40,6 +40,15 @@ + #include "xutils.h" + + ++/* ++ * Global variable ++ */ ++Display *display; ++Window Root; ++Window iconwin, win; ++int screen; ++int DisplayDepth; ++ + + /* + * X11 Variables +diff --git a/Src/xutils.h b/Src/xutils.h +index 5b6231f..9f52881 100644 +--- a/Src/xutils.h ++++ b/Src/xutils.h +@@ -18,11 +18,11 @@ typedef struct { + /* + * Global variable + */ +-Display *display; +-Window Root; +-Window iconwin, win; +-int screen; +-int DisplayDepth; ++extern Display *display; ++extern Window Root; ++extern Window iconwin, win; ++extern int screen; ++extern int DisplayDepth; + + + +-- +2.21.1 + diff --git a/wmfrog.spec b/wmfrog.spec index 7b72bd1..7816464 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 24%{?dist} +Release: 25%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -10,6 +10,8 @@ Patch0: %{name}-0.3.1-Skip-warning.patch # Fix a crash with overlong wmfrog -tmp argument, bug #1422319, # mailed to upstream. Patch1: %{name}-0.3.1-Fix-parsing-wmfrog-arguments.patch +# Fix building with GCC 10, mailed to an upstream +Patch2: %{name}-0.3.1-Define-global-variables-only-once.patch BuildRequires: make BuildRequires: gcc BuildRequires: libX11-devel @@ -28,6 +30,7 @@ when I was 25, I'm a programmer not a designer :) %setup -q -c %patch0 -p1 -b .warning %patch1 -p1 +%patch2 -p1 sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c # Remove prebuilt binaries @@ -48,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Tue Jan 21 2020 Petr Pisar - 0.3.1-25 +- Fix building with GCC 10 + * Sat Jul 27 2019 Fedora Release Engineering - 0.3.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 2f4cc2a877be2ac622a394922293435ec965f895 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 03:50:51 +0000 Subject: [PATCH 35/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 7816464..fba8d14 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 25%{?dist} +Release: 26%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.3.1-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Jan 21 2020 Petr Pisar - 0.3.1-25 - Fix building with GCC 10 From 452ee425bb6d87eb62a6f6cc37cc49866ce498b9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 14:15:19 +0000 Subject: [PATCH 36/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index fba8d14..eb205dd 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 26%{?dist} +Release: 27%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.3.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 9688af67a98061718f7fbc67c7ba94c4dd779afb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:36:28 +0000 Subject: [PATCH 37/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index eb205dd..e1ee4a1 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 27%{?dist} +Release: 28%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d2b0a0cfdb61f2d8e9d82529a7c9c359e2d093ce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 21:04:14 +0000 Subject: [PATCH 38/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index e1ee4a1..c23142f 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 28%{?dist} +Release: 29%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.1-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 4af336a19eb95a7b51e23bb91566fe8a4ebb7094 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 04:36:09 +0000 Subject: [PATCH 39/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index c23142f..95354ce 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 29%{?dist} +Release: 30%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.3.1-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.3.1-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 09e59ef7e3dabf1e4c6df3c63d2bbb1b781bac9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 4 Jul 2022 20:15:59 +0200 Subject: [PATCH 40/49] Reupload sources with SHA-512 --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 33ab76d..8305d13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de4975f2c6a7931fdf5faa3c263aaf5f wmfrog-0.3.1.tgz +SHA512 (wmfrog-0.3.1.tgz) = f60b8d739f3a430e737b65495f3de6204fb83f6a95997348eea3bb4ec002edd5f3040d3f1fa9233c0c7e3310e1f1e4b357cec7cd395d45c7baed8f237b2aee19 From c2cdd5437eea1eb06e2b8104947d7356bc254535 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 12:33:26 +0000 Subject: [PATCH 41/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 95354ce..6b87b91 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 30%{?dist} +Release: 31%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.1-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 0.3.1-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 4bebc818f4bd7acef0604d270f4bb62afe2727a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:56:00 +0000 Subject: [PATCH 42/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 6b87b91..fde5871 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 31%{?dist} +Release: 32%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.1-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.3.1-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From ddf5e2b6584f125d060f5f305a71e40ac5532bb5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 18:18:53 +0000 Subject: [PATCH 43/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index fde5871..29e8c5f 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 32%{?dist} +Release: 33%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.3.1-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 0.3.1-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 935c90eb35d0065a2156b1f34f3b5be6a658e6b0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 09:01:03 +0000 Subject: [PATCH 44/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 29e8c5f..1d460c8 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 33%{?dist} +Release: 34%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.3.1-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 0.3.1-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 1006da1dcc744cb3e3f346ba2e719d41291fcaed Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 45/49] Eliminate use of obsolete %patchN syntax (#2283636) --- wmfrog.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wmfrog.spec b/wmfrog.spec index 1d460c8..40233b1 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -28,9 +28,9 @@ when I was 25, I'm a programmer not a designer :) %prep %setup -q -c -%patch0 -p1 -b .warning -%patch1 -p1 -%patch2 -p1 +%patch -P0 -p1 -b .warning +%patch -P1 -p1 +%patch -P2 -p1 sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c # Remove prebuilt binaries From bf333f649634cf6127a705a7da5ebd8ca8bfe0bf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 09:28:46 +0000 Subject: [PATCH 46/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index 40233b1..7bc9b21 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 34%{?dist} +Release: 35%{?dist} Summary: A weather application, it shows the weather in a graphical way License: GPLv2+ URL: http://wiki.colar.net/wmfrog_dockapp @@ -51,6 +51,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.1-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 0.3.1-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 5ccb5168da8a7263fe5eae25442a120c53670340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 26 Jul 2024 03:42:01 +0200 Subject: [PATCH 47/49] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- wmfrog.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wmfrog.spec b/wmfrog.spec index 7bc9b21..e2c631c 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,8 +1,9 @@ Name: wmfrog Version: 0.3.1 -Release: 35%{?dist} +Release: 36%{?dist} Summary: A weather application, it shows the weather in a graphical way -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: http://wiki.colar.net/wmfrog_dockapp Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz # Bug 822219, submitted to upstream. @@ -51,6 +52,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Fri Jul 26 2024 Miroslav Suchý - 0.3.1-36 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 0.3.1-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From a75c99811ad755156ee47b25b01a34e54d3c18c2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 15:10:54 +0000 Subject: [PATCH 48/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- wmfrog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wmfrog.spec b/wmfrog.spec index e2c631c..f99155c 100644 --- a/wmfrog.spec +++ b/wmfrog.spec @@ -1,6 +1,6 @@ Name: wmfrog Version: 0.3.1 -Release: 36%{?dist} +Release: 37%{?dist} Summary: A weather application, it shows the weather in a graphical way # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -52,6 +52,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libexecdir}/%{name} %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.3.1-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 26 2024 Miroslav Suchý - 0.3.1-36 - convert license to SPDX From 00a3899fef4539048570d99a79a4a189f70d1c3c Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Sat, 29 Mar 2025 16:58:47 -0500 Subject: [PATCH 49/49] Orphaned for 6+ weeks --- .gitignore | 3 - dead.package | 1 + sources | 1 - ....1-Define-global-variables-only-once.patch | 65 ------- ...g-0.3.1-Fix-parsing-wmfrog-arguments.patch | 163 ---------------- wmfrog-0.3.1-Skip-warning.patch | 28 --- wmfrog.spec | 180 ------------------ 7 files changed, 1 insertion(+), 440 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 wmfrog-0.3.1-Define-global-variables-only-once.patch delete mode 100644 wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch delete mode 100644 wmfrog-0.3.1-Skip-warning.patch delete mode 100644 wmfrog.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 0079df0..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -wmfrog-0.2.1.tgz -/wmfrog-0.2.2.tgz -/wmfrog-0.3.1.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index 8305d13..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (wmfrog-0.3.1.tgz) = f60b8d739f3a430e737b65495f3de6204fb83f6a95997348eea3bb4ec002edd5f3040d3f1fa9233c0c7e3310e1f1e4b357cec7cd395d45c7baed8f237b2aee19 diff --git a/wmfrog-0.3.1-Define-global-variables-only-once.patch b/wmfrog-0.3.1-Define-global-variables-only-once.patch deleted file mode 100644 index 9118466..0000000 --- a/wmfrog-0.3.1-Define-global-variables-only-once.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 04bed51561fba5496e10422aa7e8d622749db8d5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Tue, 21 Jan 2020 17:12:44 +0100 -Subject: [PATCH] Define global variables only once -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -GCC 10 stopped hiding doubled variable definition. That leads to -linker errors like this: - -wmfrog-0.3.1/Src/xutils.h:25: multiple definition of `DisplayDepth'; wmFrog.o:/builddir/build/BUILD/wmfrog-0.3.1/Src/xutils.h:25: first defined here - -This patch fixes it. - -Signed-off-by: Petr Písař ---- - Src/xutils.c | 9 +++++++++ - Src/xutils.h | 10 +++++----- - 2 files changed, 14 insertions(+), 5 deletions(-) - -diff --git a/Src/xutils.c b/Src/xutils.c -index 5a2928b..ea660e1 100644 ---- a/Src/xutils.c -+++ b/Src/xutils.c -@@ -40,6 +40,15 @@ - #include "xutils.h" - - -+/* -+ * Global variable -+ */ -+Display *display; -+Window Root; -+Window iconwin, win; -+int screen; -+int DisplayDepth; -+ - - /* - * X11 Variables -diff --git a/Src/xutils.h b/Src/xutils.h -index 5b6231f..9f52881 100644 ---- a/Src/xutils.h -+++ b/Src/xutils.h -@@ -18,11 +18,11 @@ typedef struct { - /* - * Global variable - */ --Display *display; --Window Root; --Window iconwin, win; --int screen; --int DisplayDepth; -+extern Display *display; -+extern Window Root; -+extern Window iconwin, win; -+extern int screen; -+extern int DisplayDepth; - - - --- -2.21.1 - diff --git a/wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch b/wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch deleted file mode 100644 index d2f0eeb..0000000 --- a/wmfrog-0.3.1-Fix-parsing-wmfrog-arguments.patch +++ /dev/null @@ -1,163 +0,0 @@ -From 529c79dcfb0dc20c123865d1caf1142b085080d5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Wed, 15 Feb 2017 15:05:35 +0100 -Subject: [PATCH] Fix parsing wmfrog arguments -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -A command like "wmfrog -s KSEA -o 7 -tmp /home/stela010/tmp/wmfrog" -crashed because the -tmp argument was bigger than a static buffer used -for storing the argument value. There were similar issues with other -argument values. - -This patch fixes it. It also fixes the fact that -tmp argument was -always ignored and user's home directory was used instead. - - - -Signed-off-by: Petr Písař ---- - Src/wmFrog.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 54 insertions(+), 12 deletions(-) - -diff --git a/Src/wmFrog.c b/Src/wmFrog.c -index 24f795c..c422e55 100644 ---- a/Src/wmFrog.c -+++ b/Src/wmFrog.c -@@ -12,6 +12,7 @@ - /* - * Includes - */ -+#define _XOPEN_SOURCE 500 /* For strdup(3) */ - #include - #include - #include -@@ -74,7 +75,7 @@ int NeedsUpdate = 1; - int maxWind = MAX_WIND; - int timeOffset = TIME_OFFSET; - long UpdateDelay; --char* folder; -+char* folder = NULL; - int needsUpdate = 1; - - /* -@@ -91,7 +92,9 @@ int main(int argc, char *argv[]) { - */ - ParseCMDLine(argc, argv); - -- folder = GetTempDir(".wmapps"); -+ if (NULL == folder) { -+ folder = GetTempDir(".wmapps"); -+ } - - initXwindow(argc, argv); - -@@ -343,7 +346,11 @@ void ParseCMDLine(int argc, char *argv[]) { - print_usage(); - exit(-1); - } -- strcpy(folder, argv[++i]); -+ folder = strdup(argv[++i]); -+ if (NULL == folder) { -+ fprintf(stderr, "Not enough memory to copy -tmp argument.\n"); -+ exit(-1); -+ } - - - } else if ((!strcmp(argv[i], "-station")) || (!strcmp(argv[i], "-s"))) { -@@ -352,6 +359,10 @@ void ParseCMDLine(int argc, char *argv[]) { - print_usage(); - exit(-1); - } -+ if (strlen(argv[i + 1]) >= sizeof(StationID)/sizeof(*StationID) - 1) { -+ fprintf(stderr, "METAR station ID is too long.\n"); -+ exit(-1); -+ } - strcpy(StationID, StringToUpper(argv[++i])); - strcpy(Label, StationID); - } else if (!strcmp(argv[i], "-delay")) { -@@ -377,6 +388,10 @@ void ParseCMDLine(int argc, char *argv[]) { - print_usage(); - exit(-1); - } -+ if (strlen(argv[i + 1]) >= sizeof(Label)/sizeof(*Label) - 1) { -+ fprintf(stderr, "Station label is too long.\n"); -+ exit(-1); -+ } - strcpy(Label, StringToUpper(argv[++i])); - } - } -@@ -454,7 +469,8 @@ double UT; - // Will be called at regular interval to update the weather data (alarm) - - void UpdateData() { -- char command[1024], Line[512], FileName[128]; -+ char *command, Line[512], *FileName; -+ const char weatherPlScript[] = "/usr/lib/wmfrog/weather.pl"; - int ign; - char* igns; - igns = (char*) malloc(512); -@@ -492,13 +508,29 @@ void UpdateData() { - /* - * Execute Perl script to grab the Latest METAR Report - */ -- snprintf(command, 1024, "/usr/lib/wmfrog/weather.pl %s %s", StationID, folder); -- //printf("Retrieveing data\n"); -- ign = system(command); -- snprintf(FileName, 128, "%s/%s", folder, StationID); -- //fprintf(stderr,"%s\n\n",FileName); -+ command = malloc(strlen(weatherPlScript) + 1 + strlen(StationID) + 1 -+ + strlen(folder) + 1); -+ if (NULL == command) { -+ fprintf(stderr, "Not enough memory to build wheater.pl command.\n"); -+ } else { -+ sprintf(command, "%s %s %s", weatherPlScript, StationID, folder); -+ //printf("Retrieveing data\n"); -+ ign = system(command); -+ free(command); -+ } -+ -+ FileName = malloc(strlen(folder) + 1 + strlen(StationID) + 1); -+ if (NULL == FileName) { -+ fprintf(stderr, "Not enough memory to build staion ID file name.\n"); -+ fp = NULL; -+ } else { -+ sprintf(FileName, "%s/%s", folder, StationID); -+ //fprintf(stderr,"%s\n\n",FileName); -+ fp = fopen(FileName, "r"); -+ free(FileName); -+ } - -- if ((fp = fopen(FileName, "r")) != NULL) { -+ if (fp != NULL) { - ign = fscanf(fp, "Hour:%d", &weather.hour); - igns = fgets(Line, 512, fp); //h - ign = fscanf(fp, "Minute:%d", &weather.min); -@@ -620,11 +652,21 @@ void UpdateData() { - char *GetTempDir(char *suffix) { - uid_t id; - struct passwd *userEntry; -- static char userHome[128]; -+ char *userHome; - - id = getuid(); - userEntry = getpwuid(id); -- snprintf(userHome, 128, "%s/%s", userEntry->pw_dir, suffix); -+ if (NULL == userEntry) { -+ perror("Could not retrieve user's passwd entry"); -+ exit(-1); -+ } -+ -+ userHome = malloc(strlen(userEntry->pw_dir) + 1 + strlen(suffix) + 1); -+ if (NULL == userHome) { -+ fprintf(stderr, "Not enough memory for building temporary path.\n"); -+ exit(-1); -+ } -+ sprintf(userHome, "%s/%s", userEntry->pw_dir, suffix); - return userHome; - } - --- -2.7.4 - diff --git a/wmfrog-0.3.1-Skip-warning.patch b/wmfrog-0.3.1-Skip-warning.patch deleted file mode 100644 index 5e29f35..0000000 --- a/wmfrog-0.3.1-Skip-warning.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a1011efd4be1d960e2a145f15ad8e7aa92b31fea Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Tue, 15 May 2012 20:31:22 +0200 -Subject: [PATCH] Skip warning - -NOAA started to warn about redirect to new URL -. This patch skips the warning. -We need to move to the new URL soon. ---- - Src/weather.pl | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/Src/weather.pl b/Src/weather.pl -index 5ceeccd..c556950 100755 ---- a/Src/weather.pl -+++ b/Src/weather.pl -@@ -40,7 +40,7 @@ if($mode eq "http") - $line=; - } - $i=0; -- while($i!=12 && !eof(DATA)) -+ while($i!=21 && !eof(DATA)) - { - $line=; - $i++; --- -1.7.3.4 - diff --git a/wmfrog.spec b/wmfrog.spec deleted file mode 100644 index f99155c..0000000 --- a/wmfrog.spec +++ /dev/null @@ -1,180 +0,0 @@ -Name: wmfrog -Version: 0.3.1 -Release: 37%{?dist} -Summary: A weather application, it shows the weather in a graphical way -# Automatically converted from old format: GPLv2+ - review is highly recommended. -License: GPL-2.0-or-later -URL: http://wiki.colar.net/wmfrog_dockapp -Source0: http://bitbucket.org/tcolar/%{name}/downloads/%{name}-%{version}.tgz -# Bug 822219, submitted to upstream. -Patch0: %{name}-0.3.1-Skip-warning.patch -# Fix a crash with overlong wmfrog -tmp argument, bug #1422319, -# mailed to upstream. -Patch1: %{name}-0.3.1-Fix-parsing-wmfrog-arguments.patch -# Fix building with GCC 10, mailed to an upstream -Patch2: %{name}-0.3.1-Define-global-variables-only-once.patch -BuildRequires: make -BuildRequires: gcc -BuildRequires: libX11-devel -BuildRequires: libXext-devel -BuildRequires: libXpm-devel -BuildRequires: perl-generators -BuildRequires: sed -Requires: wget - -%description -This is a weather application, it shows the weather in a graphical way. The -artwork looks like a kiddo did it, but that's part of the charm… Ok, I did it -when I was 25, I'm a programmer not a designer :) - -%prep -%setup -q -c -%patch -P0 -p1 -b .warning -%patch -P1 -p1 -%patch -P2 -p1 -sed -i -e 's|/lib/wmfrog|/libexec/wmfrog|' Src/Makefile -sed -i -e 's|/usr/lib/|%{_libexecdir}/|' Src/wmFrog.c -# Remove prebuilt binaries -make -C Src clean - -%build -cd Src -make CFLAGS="${RPM_OPT_FLAGS}" %{?_smp_mflags} - -%install -cd Src -make install DESTDIR=$RPM_BUILD_ROOT - -%files -%license COPYING -%doc CHANGES HINTS -%{_bindir}/%{name} -%{_libexecdir}/%{name} - -%changelog -* Sun Jan 19 2025 Fedora Release Engineering - 0.3.1-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 26 2024 Miroslav Suchý - 0.3.1-36 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 0.3.1-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 0.3.1-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 0.3.1-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 0.3.1-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 0.3.1-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 0.3.1-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.3.1-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.3.1-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Jan 21 2020 Petr Pisar - 0.3.1-25 -- Fix building with GCC 10 - -* Sat Jul 27 2019 Fedora Release Engineering - 0.3.1-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 0.3.1-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.3.1-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.3.1-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.3.1-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Feb 15 2017 Petr Pisar - 0.3.1-18 -- Fix a crash with overlong wmfrog -tmp argument (bug #1422319) - -* Sat Feb 11 2017 Fedora Release Engineering - 0.3.1-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sat May 14 2016 Jitka Plesnikova - 0.3.1-16 -- Perl 5.24 rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 0.3.1-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 0.3.1-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Jun 03 2015 Jitka Plesnikova - 0.3.1-13 -- Perl 5.22 rebuild - -* Wed Aug 27 2014 Jitka Plesnikova - 0.3.1-12 -- Perl 5.20 rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 0.3.1-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.3.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Jul 17 2013 Petr Pisar - 0.3.1-8 -- Perl 5.18 rebuild - -* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sun Jul 22 2012 Fedora Release Engineering - 0.3.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jun 08 2012 Petr Pisar - 0.3.1-5 -- Perl 5.16 rebuild - -* Thu May 17 2012 Petr Pisar - 0.3.1-4 -- Adjust to NOAA web page change (bug #822219) -- Depend on perl ABI -- Clean spec file - -* Sat Jan 14 2012 Fedora Release Engineering - 0.3.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 0.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Thu Dec 02 2010 Petr Pisar - 0.3.1-1 -- 0.3.1 bump -- Fixed clouds/wind parsing issues - -* Wed Sep 01 2010 Petr Pisar - 0.2.2-1 -- 0.2.2 bump - -* Mon Aug 09 2010 Petr Pisar - 0.2.1-2 -- Change RPM group to Amusements/Graphics - -* Thu Aug 05 2010 Petr Pisar - 0.2.1-1 -- 0.2.1 bump -- Fix METAR parser - -* Tue Aug 03 2010 Petr Pisar - 0.2.0-1 -- 0.2.0 import