bde0b4f
%global debug_package %{nil}
bde0b4f
eca13b1
%global gobject_introspection_version 1.35.9
0e54b52
%global gtk3_version 3.20
0e54b52
%global gjs_version 1.50.0
0e54b52
%global libgweather_version 3.28
9932b5d
%global libhandy_version 1.5.0
869defb
869defb
%global tarball_version %%(echo %{version} | tr '~' '.')
eca13b1
Cosimo Cecchi 07b2dfe
Name:		gnome-weather
9932b5d
Version:	42~alpha
9932b5d
Release:	1%{?dist}
Cosimo Cecchi 07b2dfe
Summary:	A weather application for GNOME
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
License:	GPLv2+ and LGPLv2+ and MIT and CC-BY and CC-BY-SA
dd5516e
URL:		https://wiki.gnome.org/Apps/Weather
9932b5d
Source0:	https://download.gnome.org/sources/%{name}/42/%{name}-%{tarball_version}.tar.xz
e6ed1aa
Cosimo Cecchi 07b2dfe
BuildRequires:	desktop-file-utils
0e54b52
BuildRequires:	gettext
0e54b52
BuildRequires:	pkgconfig(geoclue-2.0)
9932b5d
BuildRequires:	pkgconfig(gjs-1.0) >= %{gjs_version}
9932b5d
BuildRequires:	pkgconfig(glib-2.0)
9932b5d
BuildRequires:	pkgconfig(gobject-introspection-1.0) >= %{gobject_introspection_version}
9932b5d
BuildRequires:	pkgconfig(gtk+-3.0) >= %{gtk3_version}
9932b5d
BuildRequires:	pkgconfig(gweather-3.0) >= %{libgweather_version}
9932b5d
BuildRequires:	pkgconfig(libhandy-1) >= %{libhandy_version}
9932b5d
BuildRequires:	meson
c7ebff0
BuildRequires:	python3-devel
eca13b1
eca13b1
Requires:	gdk-pixbuf2
5c11a28
Requires:	geoclue2-libs
eca13b1
Requires:	gjs >= %{gjs_version}
eca13b1
Requires:	glib2
5c11a28
Requires:	gnome-desktop3
eca13b1
Requires:	gobject-introspection >= %{gobject_introspection_version}
5c11a28
Requires:	gsettings-desktop-schemas
eca13b1
Requires:	gtk3 >= %{gtk3_version}
eca13b1
Requires:	libgweather >= %{libgweather_version}
869defb
Requires:	libhandy1 >= %{libhandy_version}
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%description
Cosimo Cecchi 07b2dfe
gnome-weather is a weather application for GNOME
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%prep
869defb
%autosetup -p1 -n %{name}-%{tarball_version}
c7ebff0
pathfix.py -i %{__python3} .
c7ebff0
Cosimo Cecchi 07b2dfe
%build
0e54b52
%meson
0e54b52
%meson_build
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%install
0e54b52
%meson_install
077b5e7
94523bf
%find_lang org.gnome.Weather
fa9ff2f
fa9ff2f
%check
0e54b52
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Weather.desktop
Cosimo Cecchi 07b2dfe
94523bf
%files -f org.gnome.Weather.lang
b19ca3d
%license COPYING.md
Cosimo Cecchi 07b2dfe
%doc NEWS data/CREDITS
b19ca3d
%{_bindir}/gnome-weather
0e54b52
%{_datadir}/applications/org.gnome.Weather.desktop
0e54b52
%{_datadir}/dbus-1/services/org.gnome.Weather.service
8e618b5
%{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
0e54b52
%{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml
67a379a
%dir %{_datadir}/gnome-shell/
67a379a
%dir %{_datadir}/gnome-shell/search-providers/
0e54b52
%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini
Phil Wyett 7905cf0
%{_datadir}/icons/hicolor/*/apps/org.gnome.Weather*
869defb
%{_datadir}/icons/hicolor/scalable/status/*.svg
0e54b52
%{_datadir}/metainfo/org.gnome.Weather.appdata.xml
8e618b5
%{_datadir}/org.gnome.Weather/
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%changelog
9932b5d
* Wed Jan 12 2022 David King <amigadave@amigadave.com> - 42~alpha-1
9932b5d
- Update to 42.alpha
9932b5d
bde0b4f
* Tue Oct 05 2021 Kalev Lember <klember@redhat.com> - 41.0-2
bde0b4f
- Make the package archful again
bde0b4f
c3f4335
* Tue Sep 21 2021 Kalev Lember <klember@redhat.com> - 41.0-1
c3f4335
- Update to 41.0
c3f4335
35e09d2
* Wed Aug 18 2021 Kalev Lember <klember@redhat.com> - 40.1-1
35e09d2
- Update to 40.1
35e09d2
fa3ec41
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-2
fa3ec41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
fa3ec41
1a9c384
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
1a9c384
- Update to 40.0
1a9c384
869defb
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
869defb
- Update to 40.beta
075d69e
- Drop old obsoletes
869defb
1b5a40f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.1-3
1b5a40f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1b5a40f
22f5fb7
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.1-2
22f5fb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
22f5fb7
add60c4
* Fri Apr 10 2020 Kalev Lember <klember@redhat.com> - 3.36.1-1
add60c4
- Update to 3.36.1
add60c4
fba1935
* Mon Apr 06 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1
fba1935
- Update to 3.36.0
fba1935
6bc7c60
* Fri Apr 03 2020 Kalev Lember <klember@redhat.com> - 3.34.1-1
6bc7c60
- Update to 3.34.1
6bc7c60
e6ed1aa
* Wed Mar 25 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 3.34.0-3
e6ed1aa
- Fix weather selecting the wrong cites. Also: deduplicate recent cities.
e6ed1aa
f204a26
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-2
f204a26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f204a26
0dcbb3e
* Wed Sep 25 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
0dcbb3e
- Update to 3.34.0
0dcbb3e
fae2aa2
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
fae2aa2
- Update to 3.33.90
fae2aa2
51e5b23
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.2-3
51e5b23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
51e5b23
5c11a28
* Tue Jun 11 2019 Kalev Lember <klember@redhat.com> - 3.32.2-2
5c11a28
- Add a few missing requires
5c11a28
c039e0d
* Mon May 06 2019 Kalev Lember <klember@redhat.com> - 3.32.2-1
c039e0d
- Update to 3.32.2
c039e0d
e01d834
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 3.32.1-2
e01d834
- Rebuild with Meson fix for #1699099
e01d834
94523bf
* Sat Apr 06 2019 Kalev Lember <klember@redhat.com> - 3.32.1-1
94523bf
- Update to 3.32.1
94523bf
2ed837a
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
2ed837a
- Update to 3.32.0
2ed837a
b19ca3d
* Tue Mar 05 2019 Kalev Lember <klember@redhat.com> - 3.31.92-1
b19ca3d
- Update to 3.31.92
b19ca3d
0e54b52
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 3.31.90-1
0e54b52
- Update to 3.31.90
0e54b52
- Switch to the meson build system
0e54b52
- Drop -tests subpackage as the installed tests are gone upstream
0e54b52
7a0db9f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.3-2
7a0db9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7a0db9f
Phil Wyett 7905cf0
* Sun Dec 16 2018 Phil Wyett <philwyett@kathenas.org> - 3.31.3-1
Phil Wyett 7905cf0
- Update to 3.31.3
Phil Wyett 7905cf0
c7ebff0
* Tue Aug 07 2018 Merlin Mathesius <mmathesi@redhat.com> - 3.26.0-6
c7ebff0
- Fix unversioned python shebang lines
c7ebff0
d28f4bc
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.0-5
d28f4bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d28f4bc
671e1e7
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.0-4
671e1e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
671e1e7
537b5fd
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-3
537b5fd
- Remove obsolete scriptlets
537b5fd
a04b48e
* Thu Sep 21 2017 Kalev Lember <klember@redhat.com> - 3.26.0-2
a04b48e
- Update gjs minimum required version (#1490432)
a04b48e
8adc272
* Mon Sep 11 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
8adc272
- Update to 3.26.0
8adc272
db896ba
* Thu Sep 07 2017 Kalev Lember <klember@redhat.com> - 3.25.92-1
db896ba
- Update to 3.25.92
db896ba
9cde2d7
* Mon Aug 28 2017 Kalev Lember <klember@redhat.com> - 3.25.91-1
9cde2d7
- Update to 3.25.91
9cde2d7
d07ca44
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.0-2
d07ca44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d07ca44
077b5e7
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 3.24.0-1
077b5e7
- Update to 3.24.0
077b5e7
a80eb5f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.2-2
a80eb5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a80eb5f
f9dc062
* Wed Aug 17 2016 Kalev Lember <klember@redhat.com> - 3.20.2-1
f9dc062
- Update to 3.20.2
f9dc062
147ee10
* Mon May 09 2016 Kalev Lember <klember@redhat.com> - 3.20.1-1
147ee10
- Update to 3.20.1
147ee10
d9da39f
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
d9da39f
- Update to 3.20.0
d9da39f
Richard Hughes 065c435
* Tue Mar 15 2016 Richard Hughes <rhughes@redhat.com> - 3.19.92-1
Richard Hughes 065c435
- Update to 3.19.92
Richard Hughes 065c435
Richard Hughes eea5a9d
* Tue Feb 16 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
Richard Hughes eea5a9d
- Update to 3.19.90
Richard Hughes eea5a9d
f422325
* Sat Feb 13 2016 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 3.19.1-3
f422325
- Add BR: pkgconfig(libgeoclue-2.0) (Fix F24FTBFS).
f422325
9665c9d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.1-2
9665c9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9665c9d
Richard Hughes 74a476f
* Tue Jan 26 2016 Richard Hughes <rhughes@redhat.com> - 3.19.1-1
Richard Hughes 74a476f
- Update to 3.19.1
Richard Hughes 74a476f
b603f07
* Mon Oct 12 2015 Kalev Lember <klember@redhat.com> - 3.18.1-1
b603f07
- Update to 3.18.1
b603f07
3ae4cde
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
3ae4cde
- Update to 3.18.0
3ae4cde
bdb0979
* Fri Sep 11 2015 Kalev Lember <klember@redhat.com> - 3.17.92-1
bdb0979
- Update to 3.17.92
31a1617
- Use make_install macro
bdb0979
afac31b
* Tue Jul 28 2015 Kalev Lember <klember@redhat.com> - 3.17.1-1
afac31b
- Update to 3.17.1
afac31b
910abc8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.2.1-2
910abc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
910abc8
cc72e50
* Tue Apr 28 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2.1-1
cc72e50
- Update to 3.16.2.1
cc72e50
- Include new symbolic icon
cc72e50
7d1745d
* Mon Apr 27 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2-1
7d1745d
- Update to 3.16.2
7d1745d
94d239d
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
94d239d
- Update to 3.16.1
94d239d
2b48754
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
2b48754
- Update to 3.16.0
2b48754
db60c2a
* Tue Mar 17 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
db60c2a
- Update to 3.15.92
7164531
- Ship the COPYING file
db60c2a
f88b965
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
f88b965
- Update to 3.15.91
f88b965
Richard Hughes 3f6d87b
* Mon Feb 16 2015 Richard Hughes <rhughes@redhat.com> - 3.15.90-1
Richard Hughes 3f6d87b
- Update to 3.15.90
Richard Hughes 3f6d87b
Richard Hughes dca3d0b
* Tue Jan 20 2015 Richard Hughes <rhughes@redhat.com> - 3.15.1-1
Richard Hughes dca3d0b
- Update to 3.15.1
Richard Hughes dca3d0b
93247ed
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
93247ed
- Update to 3.14.1
93247ed
569c0fc
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
569c0fc
- Update to 3.14.0
4a79467
- Build as noarch (#1139049)
569c0fc
6982b61
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
6982b61
- Update to 3.13.92
6982b61
2b77d48
* Fri Sep  5 2014 Vadim Rutkovsky <vrutkovs@redhat.com> - 3.13.91-2
2b77d48
- Build installed tests
2b77d48
f6e8e3c
* Mon Sep 01 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-1
f6e8e3c
- Update to 3.13.91
1087637
- Include HighContrast icons
eca13b1
- Add missing requires now that it's a pure gjs app
f6e8e3c
afa34fe
* Tue Aug 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
afa34fe
- Update to 3.13.90
afa34fe
8458f5b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.4-2
8458f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8458f5b
6a5a7e2
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.4-1
6a5a7e2
- Update to 3.13.4
6a5a7e2
Richard Hughes d8a7b04
* Tue Jun 24 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-1
Richard Hughes d8a7b04
- Update to 3.13.3
Richard Hughes d8a7b04
f5bf83f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.2-2
f5bf83f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f5bf83f
8e618b5
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
8e618b5
- Update to 3.13.2
8e618b5
e9ca5e3
* Thu May 01 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.1-1
e9ca5e3
- Update to 3.13.1
6f9b6c3
- Adjust rpm provides filtering for renamed private libs directory
e9ca5e3
Richard Hughes de9fae2
* Tue Mar 25 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
Richard Hughes de9fae2
- Update to 3.12.0
Richard Hughes de9fae2
Richard Hughes fd326e6
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
Richard Hughes fd326e6
- Update to 3.11.92
Richard Hughes fd326e6
Richard Hughes 5937fcd
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
Richard Hughes 5937fcd
- Update to 3.11.91
Richard Hughes 5937fcd
Richard Hughes c955c25
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
Richard Hughes c955c25
- Update to 3.11.90
Richard Hughes c955c25
Richard Hughes 4827c60
* Mon Feb 03 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-1
Richard Hughes 4827c60
- Update to 3.11.5
Richard Hughes 4827c60
Richard Hughes 63a2f50
* Tue Jan 14 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-1
Richard Hughes 63a2f50
- Update to 3.11.4
Richard Hughes 63a2f50
Richard Hughes ac9ec2f
* Wed Jan 08 2014 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
Richard Hughes ac9ec2f
- Update to 3.11.3
Richard Hughes ac9ec2f
Richard Hughes 66e4818
* Tue Oct 29 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
Richard Hughes 66e4818
- Update to 3.10.1
Richard Hughes 66e4818
1735989
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
1735989
- Update to 3.10.0
1735989
c933fe8
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.92-1
c933fe8
- Update to 3.9.92
c933fe8
67a379a
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1
67a379a
- Update to 3.9.91
67a379a
f97c98b
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
f97c98b
- Update to 3.9.90
f97c98b
a493cac
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.5-1
a493cac
- Update to 3.9.5
a493cac
8356703
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.3-2
8356703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8356703
3234824
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.3-1
3234824
- Update to 3.9.3
662eff7
- Include new icons and add icon cache scriptlets
3234824
4eb5795
* Sun Jun 02 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.2-1
4eb5795
- Update to 3.9.2
4eb5795
Richard Hughes 10fed06
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
Richard Hughes 10fed06
- Update to 3.8.2
Richard Hughes 10fed06
3f6b326
* Wed Apr 17 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
3f6b326
- Update to 3.8.1
3f6b326
Cosimo Cecchi 1209414
* Thu Mar 28 2013 Cosimo Cecchi <cosimoc@gnome.org> - 3.8.0-1
Cosimo Cecchi 1209414
- Update to 3.8.0
Cosimo Cecchi 1209414
Cosimo Cecchi 07b2dfe
* Tue Mar 19 2013 Cosimo Cecchi <cosimoc@gnome.org> - 3.7.92-1
Cosimo Cecchi 07b2dfe
- Initial packaging
Cosimo Cecchi 07b2dfe