diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c5fe324 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/xfce4-weather-plugin-*.tar.bz2 +/xfce4-weather-plugin-*.tar.xz diff --git a/Makefile b/Makefile deleted file mode 100644 index 4dcc3e9..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xfce4-weather-plugin -# $Id$ -NAME := xfce4-weather-plugin -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/changelog b/changelog new file mode 100644 index 0000000..492060e --- /dev/null +++ b/changelog @@ -0,0 +1,251 @@ +* Sat Jan 21 2023 Fedora Release Engineering - 0.11.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.11.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.11.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Feb 11 2021 Mukundan Ragavan - 0.11.0-1 +- Update to 0.11.0 + +* Thu Jan 28 2021 Fedora Release Engineering - 0.10.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 09 2020 Mukundan Ragavan - 0.10.2-1 +- Update to 0.10.2 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.10.1-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.10.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 10 2020 Mukundan Ragavan - 0.10.1-2 +- Enable scrolling in details pane + +* Sun Feb 23 2020 Mukundan Ragavan - 0.10.1-1 +- Update to 0.10.1 + +* Fri Jan 31 2020 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Aug 12 2019 Mukundan Ragavan - 0.10.0-1 +- Update to 0.10.0 + +* Sat Jul 27 2019 Fedora Release Engineering - 0.8.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Mar 25 2019 Mukundan Ragavan - 0.8.11-1 +- Update to 0.8.11 + +* Sun Feb 03 2019 Fedora Release Engineering - 0.8.10-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Aug 11 2018 Mukundan Ragavan - 0.8.7.4-20 +- Rebuilt (xfce 4.13) + +* Sat Jul 14 2018 Fedora Release Engineering - 0.8.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Oct 11 2017 Mukundan Ragavan - 0.8.10-1 +- Update to 0.8.10 + +* Thu Aug 03 2017 Fedora Release Engineering - 0.8.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Feb 16 2017 Mukundan Ragavan - 0.8.9-1 +- Update to 0.8.9 +- spec clean up (old macros, upstreamed translation fixes) + +* Sat Feb 11 2017 Fedora Release Engineering - 0.8.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Sep 29 2016 Mukundan Ragavan - 0.8.8-2 +- Add a translation fix +- Fixes #1377672 + +* Thu Sep 01 2016 Mukundan Ragavan - 0.8.8-1 +- Update to 0.8.8 (uses new api) + +* Thu Apr 21 2016 Mukundan Ragavan - 0.8.7-1 +- Updated to v0.8.7 + +* Fri Apr 15 2016 Mukundan Ragavan - 0.8.6-3 +- Add EL conditional to xfce version logic +- Minor spec file clean up + +* Fri Feb 05 2016 Fedora Release Engineering - 0.8.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 23 2015 Kevin Fenzi 0.8.6-1 +- Update to 0.8.6 + +* Fri Jun 19 2015 Fedora Release Engineering - 0.8.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Feb 28 2015 Kevin Fenzi 0.8.5-2 +- Rebuild for Xfce 4.12 + +* Tue Dec 23 2014 Kevin Fenzi 0.8.5-1 +- Update to 0.8.5 + +* Tue Nov 04 2014 Kevin Fenzi 0.8.4-1 +- Update to 0.8.4 + +* Fri Oct 17 2014 Kevin Fenzi 0.8.3-8 +- Add patch to fix color typo that prevented colors from being saved. +- Fixes bug #983194 + +* Sat Oct 11 2014 Kevin Fenzi 0.8.3-7 +- Add upstream patches to switch to new v1.2 weather api. +- Upstream bug https://bugzilla.xfce.org/show_bug.cgi?id=10916 +- Fixes bugs #1150329 #1119857 + +* Mon Aug 18 2014 Kalev Lember - 0.8.3-6 +- Rebuilt for upower 0.99.1 soname bump + +* Mon Aug 18 2014 Fedora Release Engineering - 0.8.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.8.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Oct 30 2013 Kevin Fenzi 0.8.3-3 +- Rebuild for new upower + +* Sun Aug 04 2013 Fedora Release Engineering - 0.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Feb 18 2013 Christoph Wickert - 0.8.3-1 +- Update to 0.8.3 +- BuildRequire upower-devel and libsoup-devel + +* Fri Feb 15 2013 Fedora Release Engineering - 0.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Aug 15 2012 Christoph Wickert - 0.8.2-1 +- Update to 0.8.2 + +* Mon Aug 06 2012 Christoph Wickert - 0.8.1-1 +- Update to 0.8.1 + +* Mon Jul 23 2012 Kevin Fenzi - 0.8.0-1 +- Update to 0.8.0 + +* Sun Jul 22 2012 Fedora Release Engineering - 0.7.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Apr 15 2012 Kevin Fenzi - 0.7.4-6 +- Rebuild for Xfce 4.10(pre2) + +* Thu Apr 05 2012 Kevin Fenzi - 0.7.4-5 +- Rebuild for Xfce 4.10 + +* Sat Jan 14 2012 Fedora Release Engineering - 0.7.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 06 2011 Adam Jackson - 0.7.4-3 +- Rebuild for new libpng + +* Mon Feb 07 2011 Fedora Release Engineering - 0.7.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Feb 04 2011 Kevin Fenzi - 0.7.4-1 +- Update to 0.7.4 + +* Thu Jan 13 2011 Kevin Fenzi - 0.7.3-2 +- Rebuild for Xfce 4.8 + +* Sun Aug 09 2009 Christoph Wickert - 0.7.3-1 +- Update to 0.7.3, fixes cache directory creation + +* Tue Jul 28 2009 Christoph Wickert - 0.7.2-1 +- Update to 0.7.2 +- No longer contains weather.com logo, downloaded to cache at runtime (#513057) + +* Mon Jul 27 2009 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Jul 03 2009 Christoph Wickert - 0.7.0-1 +- Update to 0.7.0 + +* Wed Jun 17 2009 Christoph Wickert - 0.6.4-1 +- Update to 0.6.4 + +* Sat Jun 13 2009 Christoph Wickert - 0.6.3-1 +- Update to 0.6.3 + +* Thu Feb 26 2009 Fedora Release Engineering - 0.6.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Jan 18 2009 Christoph Wickert - 0.6.2-4 +- Rebuild for Xfce 4.6 (Beta 3) + +* Mon Feb 18 2008 Fedora Release Engineering - 0.6.2-3 +- Autorebuild for GCC 4.3 + +* Fri Dec 07 2007 Christoph Wickert - 0.6.2-2 +- Rebuild for Xfce 4.4.2 + +* Mon Nov 19 2007 Christoph Wickert - 0.6.2-1 +- Update to 0.6.0 on Xfce 4.4.1 + +* Mon Jan 22 2007 Christoph Wickert - 0.6.0-1 +- Update to 0.6.0 on Xfce 4.4. +- Update gtk-icon-cache scriptlets. + +* Thu Oct 05 2006 Christoph Wickert - 0.5.99.1-3 +- Bump release for devel checkin. + +* Wed Sep 13 2006 Christoph Wickert - 0.5.99.1-2 +- Rebuild for XFCE 4.3.99.1. +- BR perl(XML::Parser). + +* Wed Sep 13 2006 Christoph Wickert - 0.5.99.1-1 +- Update to 0.5.99.1. + +* Mon Sep 04 2006 Christoph Wickert - 0.5.90.2-1 +- Update to 0.5.90.2 on XFCE 4.3.90.2. + +* Mon Sep 04 2006 Christoph Wickert - 0.4.9-7 +- Mass rebuild for Fedora Core 6. + +* Sat Jul 29 2006 Christoph Wickert - 0.4.9-6 +- BuildRequire gettext (#193444) +- Require xfce4-panel. + +* Thu Feb 16 2006 Christoph Wickert - 0.4.9-5 +- Rebuild for Fedora Extras 5. + +* Thu Dec 01 2005 Christoph Wickert - 0.4.9-4 +- Add libxfcegui4-devel BuildReqs. +- Fix %%defattr. + +* Mon Nov 14 2005 Christoph Wickert - 0.4.9-3 +- Initial Fedora Extras version. +- Rebuild for XFCE 4.2.3. +- disable-static instead of removing .a files. + +* Fri Sep 23 2005 Christoph Wickert - 0.4.9-2.fc4.cw +- Add libxml2 BuildReqs. + +* Sat Jul 09 2005 Christoph Wickert - 0.4.9-1.fc4.cw +- Rebuild for Core 4. + +* Wed Apr 13 2005 Christoph Wickert - 0.4.9-1.fc3.cw +- Updated to version 0.4.9. + +* Wed Apr 13 2005 Christoph Wickert - 0.3.9.1-1.fc3.cw +- Initial RPM release. diff --git a/sources b/sources index e69de29..0725576 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (xfce4-weather-plugin-0.12.0.tar.xz) = ea09332974b1bffc66e964f9f7c0584e80cd54371d38c8407f7435bf33590727c2d0b62dd8b6b4deced14dc9e4fdf2e15d7faefbda64cbd48787a08db28756cf diff --git a/xfce4-weather-plugin.spec b/xfce4-weather-plugin.spec new file mode 100644 index 0000000..8621316 --- /dev/null +++ b/xfce4-weather-plugin.spec @@ -0,0 +1,72 @@ +# Review: https://bugzilla.redhat.com/show_bug.cgi?id=173105 +# VCS https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin + +%global minorversion 0.12 + +%global xfceversion 4.20 + +Name: xfce4-weather-plugin +Version: 0.12.0 +Release: %autorelease +Summary: Weather plugin for the Xfce panel +License: GPL-2.0-or-later +URL: https://docs.xfce.org/panel-plugins/xfce4-weather-plugin/start +Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: json-c-devel +BuildRequires: libsoup3-devel +BuildRequires: libxfce4ui-devel >= %{xfceversion} +BuildRequires: libxfce4util-devel >= %{xfceversion} +BuildRequires: libxml2-devel >= 2.4.0 +BuildRequires: meson +BuildRequires: upower-devel >= 0.9.0 +BuildRequires: xfce4-panel-devel >= %{xfceversion} +BuildRequires: xfconf-devel >= %{xfceversion} + +Requires: xfce4-panel >= %{xfceversion} + +%description +A weather plugin for the Xfce panel. It shows the current temperature and +weather condition, using weather data provided by xoap.weather.com. + + +%prep +%autosetup + + +%build +%meson +%meson_build + + +%install +%meson_install + +# Rename non-standard hye locale to hy +if [ -d %{buildroot}%{_datadir}/locale/hye ]; then + mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy +fi + +# make sure debuginfo is generated properly +chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so + +%find_lang %{name} + + +%check +%meson_test + + +%files -f %{name}.lang +%license COPYING +%doc AUTHORS NEWS README +%{_libdir}/xfce4/panel/plugins/*.so +%{_datadir}/xfce4/panel/plugins/*.desktop +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/xfce4/weather + + +%changelog +%autochangelog