|
|
eca13b1 |
%global gjs_version 1.39.91
|
|
|
eca13b1 |
%global gobject_introspection_version 1.35.9
|
|
|
eca13b1 |
%global gtk3_version 3.11.4
|
|
|
eca13b1 |
%global libgweather_version 3.9.5
|
|
|
eca13b1 |
|
|
Cosimo Cecchi |
07b2dfe |
Name: gnome-weather
|
|
|
93247ed |
Version: 3.14.1
|
|
|
6982b61 |
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
|
|
Cosimo Cecchi |
07b2dfe |
URL: https://live.gnome.org/Design/Apps/Weather
|
|
|
569c0fc |
Source0: http://download.gnome.org/sources/%{name}/3.14/%{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
|
|
Cosimo Cecchi |
07b2dfe |
BuildRequires: gnome-common
|
|
|
eca13b1 |
BuildRequires: gobject-introspection >= %{gobject_introspection_version}
|
|
|
eca13b1 |
BuildRequires: gtk3-devel >= %{gtk3_version}
|
|
|
eca13b1 |
BuildRequires: libgweather-devel >= %{libgweather_version}
|
|
|
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
|
|
|
2b77d48 |
Group: Development/Libraries
|
|
|
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 |
|
|
|
2b77d48 |
|
|
Cosimo Cecchi |
07b2dfe |
%prep
|
|
Cosimo Cecchi |
07b2dfe |
%setup -q
|
|
Cosimo Cecchi |
07b2dfe |
|
|
Cosimo Cecchi |
07b2dfe |
%build
|
|
|
2b77d48 |
%configure --disable-static --enable-installed-tests
|
|
Cosimo Cecchi |
07b2dfe |
make %{?_smp_mflags}
|
|
Cosimo Cecchi |
07b2dfe |
|
|
Cosimo Cecchi |
07b2dfe |
%install
|
|
Cosimo Cecchi |
07b2dfe |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
Cosimo Cecchi |
07b2dfe |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
fa9ff2f |
|
|
|
8e618b5 |
%find_lang org.gnome.Weather
|
|
|
fa9ff2f |
|
|
|
fa9ff2f |
%check
|
|
|
fa9ff2f |
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.Weather.Application.desktop
|
|
Cosimo Cecchi |
07b2dfe |
|
|
|
662eff7 |
%post
|
|
|
662eff7 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
1087637 |
touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
|
|
|
662eff7 |
|
|
Cosimo Cecchi |
07b2dfe |
%postun
|
|
Cosimo Cecchi |
07b2dfe |
if [ $1 -eq 0 ] ; then
|
|
|
662eff7 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
662eff7 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
1087637 |
touch --no-create %{_datadir}/icons/HighContrast &>/dev/null
|
|
|
662eff7 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
1087637 |
gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
|
|
Cosimo Cecchi |
07b2dfe |
fi
|
|
Cosimo Cecchi |
07b2dfe |
|
|
Cosimo Cecchi |
07b2dfe |
%posttrans
|
|
|
662eff7 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
662eff7 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
1087637 |
gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
|
|
Cosimo Cecchi |
07b2dfe |
|
|
|
8e618b5 |
%files -f org.gnome.Weather.lang
|
|
Cosimo Cecchi |
07b2dfe |
%doc NEWS data/CREDITS
|
|
|
fa9ff2f |
%{_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
|
|
|
fa9ff2f |
%{_datadir}/icons/hicolor/*/apps/org.gnome.Weather.Application.png
|
|
|
1087637 |
%{_datadir}/icons/HighContrast/*/apps/org.gnome.Weather.Application.png
|
|
|
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
|
|
|
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 |
|