eca13b1
%global gjs_version 1.39.91
eca13b1
%global gobject_introspection_version 1.35.9
eca13b1
%global gtk3_version 3.11.4
9cde2d7
%global libgweather_version 3.25.91
eca13b1
Cosimo Cecchi 07b2dfe
Name:		gnome-weather
db896ba
Version:	3.25.92
9cde2d7
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
9cde2d7
Source0:	https://download.gnome.org/sources/%{name}/3.25/%{name}-%{version}.tar.xz
Cosimo Cecchi 07b2dfe
4a79467
BuildArch:	noarch
4a79467
Cosimo Cecchi 07b2dfe
BuildRequires:	intltool
Cosimo Cecchi 07b2dfe
BuildRequires:	desktop-file-utils
eca13b1
BuildRequires:	gjs-devel >= %{gjs_version}
Cosimo Cecchi 07b2dfe
BuildRequires:	glib2-devel
eca13b1
BuildRequires:	gobject-introspection >= %{gobject_introspection_version}
eca13b1
BuildRequires:	gtk3-devel >= %{gtk3_version}
eca13b1
BuildRequires:	libgweather-devel >= %{libgweather_version}
f422325
BuildRequires:	pkgconfig(libgeoclue-2.0) >= 2.3.1
eca13b1
eca13b1
Requires:	gdk-pixbuf2
eca13b1
Requires:	gjs >= %{gjs_version}
eca13b1
Requires:	glib2
eca13b1
Requires:	gobject-introspection >= %{gobject_introspection_version}
eca13b1
Requires:	gtk3 >= %{gtk3_version}
eca13b1
Requires:	libgweather >= %{libgweather_version}
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%description
Cosimo Cecchi 07b2dfe
gnome-weather is a weather application for GNOME
Cosimo Cecchi 07b2dfe
2b77d48
%package tests
2b77d48
Summary: Tests for the gnome-weather package
4a79467
Requires: %{name} = %{version}-%{release}
2b77d48
2b77d48
%description tests
2b77d48
The gnome-weather-tests package contains tests that can be used to verify
2b77d48
the functionality of the installed gnome-weather package.
2b77d48
Cosimo Cecchi 07b2dfe
%prep
c9e6df3
%autosetup
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%build
2b77d48
%configure --disable-static --enable-installed-tests
c9e6df3
%make_build
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%install
31a1617
%make_install
c9e6df3
find %{buildroot} -name '*.la' -print -delete
fa9ff2f
077b5e7
# Fix appdata file name
077b5e7
mv %{buildroot}%{_datadir}/appdata/org.gnome.Weather.appdata.xml \
077b5e7
   %{buildroot}%{_datadir}/appdata/org.gnome.Weather.Application.appdata.xml
077b5e7
8e618b5
%find_lang org.gnome.Weather
fa9ff2f
fa9ff2f
%check
c9e6df3
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Weather.Application.desktop
Cosimo Cecchi 07b2dfe
662eff7
%post
662eff7
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
662eff7
Cosimo Cecchi 07b2dfe
%postun
Cosimo Cecchi 07b2dfe
if [ $1 -eq 0 ] ; then
662eff7
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
662eff7
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Cosimo Cecchi 07b2dfe
fi
Cosimo Cecchi 07b2dfe
Cosimo Cecchi 07b2dfe
%posttrans
662eff7
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Cosimo Cecchi 07b2dfe
8e618b5
%files -f org.gnome.Weather.lang
7164531
%license COPYING
Cosimo Cecchi 07b2dfe
%doc NEWS data/CREDITS
db60c2a
%{_bindir}/gnome-weather
9c13a83
%{_datadir}/appdata/org.gnome.Weather.Application.appdata.xml
fa9ff2f
%{_datadir}/applications/org.gnome.Weather.Application.desktop
fa9ff2f
%{_datadir}/dbus-1/services/org.gnome.Weather.Application.service
8e618b5
%{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
fa9ff2f
%{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
67a379a
%dir %{_datadir}/gnome-shell/
67a379a
%dir %{_datadir}/gnome-shell/search-providers/
67a379a
%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini
70920f3
%{_datadir}/icons/hicolor/*/apps/org.gnome.Weather.png
70920f3
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Weather-symbolic.svg
8e618b5
%{_datadir}/org.gnome.Weather/
Cosimo Cecchi 07b2dfe
2b77d48
%files tests
2b77d48
%{_libexecdir}/installed-tests/org.gnome.Weather/
2b77d48
%{_datadir}/installed-tests
2b77d48
Cosimo Cecchi 07b2dfe
%changelog
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