|
@@ -1,15 +1,20 @@
|
|
|
+%define major_ver 1.18
|
|
|
+%define ver %{major_ver}.0
|
|
|
+%define rel 1
|
|
|
+
|
|
|
Summary: Provides access to weather information from the net
|
|
|
Name: libmateweather
|
|
|
-Version: 1.16.1
|
|
|
-Release: 1%{?_dist_release}
|
|
|
-Source0: http://pub.mate-desktop.org/releases/1.16/%{name}-%{version}.tar.xz
|
|
|
+Version: %{ver}
|
|
|
+Release: %{rel}%{?_dist_release}
|
|
|
+Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
|
|
|
+Source1: libmateweather-locations.ja.po
|
|
|
License: LGPLv2.1
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://mate-desktop.org/
|
|
|
|
|
|
BuildRequires: mate-common
|
|
|
BuildRequires: libxml2-devel
|
|
|
-BuildRequires: gtk2-devel
|
|
|
+BuildRequires: gtk3-devel >= 3.14
|
|
|
BuildRequires: libsoup-devel
|
|
|
BuildRequires: gtk-doc
|
|
|
BuildRequires: autoconf
|
|
@@ -64,7 +69,7 @@ This package contains documentation for libmateweather.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-
|
|
|
+%__cp %{SOURCE1} po-locations/ja.po
|
|
|
|
|
|
%build
|
|
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
|
|
@@ -126,6 +131,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
|
|
|
+- update to 1.18.0
|
|
|
+- move to GTK3+
|
|
|
+- add libmateweather-locations.ja.po (Source1)
|
|
|
+
|
|
|
* Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
|
|
|
- new upstream release
|
|
|
- fix License
|