]> git.pld-linux.org Git - packages/libgweather.git/blobdiff - libgweather.spec
Update to 3.14.3
[packages/libgweather.git] / libgweather.spec
index 21a41a110af15e67d1d4000dac49d5338f2a751a..f887bf70c8a69473938744f94d81f4a1a46dca03 100644 (file)
@@ -1,21 +1,23 @@
 #
 # Conditional build:
-%bcond_without vala            # do not build Vala API
+%bcond_without glade   # Glade catalog
+%bcond_without vala    # do not build Vala API
 #
 Summary:       Library to access weather information from online services for numerous locations
 Summary(pl.UTF-8):     Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
 Name:          libgweather
-Version:       3.14.1
+Version:       3.14.3
 Release:       1
 License:       GPL v2+
 Group:         X11/Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.14/%{name}-%{version}.tar.xz
-# Source0-md5: 15341d049e5b503ae91795f046b00e95
+# Source0-md5: 607f6801d7d3f538b545949a67647bc3
 URL:           http://www.gnome.org/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
-BuildRequires: gettext-devel >= 0.18
+BuildRequires: gettext-tools >= 0.18
 BuildRequires: geocode-glib-devel
+%{?with_glade:BuildRequires:   glade-devel >= 2.0}
 BuildRequires: glib2-devel >= 1:2.35.1
 BuildRequires: gnome-common >= 2.20.0
 BuildRequires: gobject-introspection-devel >= 0.10.0
@@ -86,6 +88,19 @@ libgweather API documentation.
 %description apidocs -l pl.UTF-8
 Dokumentacja API biblioteki libgweather.
 
+%package glade
+Summary:       libgweather catalog file for Glade
+Summary(pl.UTF-8):     Plik katalogu libgweather dla Glade
+Group:         X11/Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+Requires:      glade >= 2.0
+
+%description glade
+libgweather catalog file for Glade.
+
+%description glade -l pl.UTF-8
+Plik katalogu libgweather dla Glade.
+
 %package -n vala-libgweather
 Summary:       libgweather API for Vala language
 Summary(pl.UTF-8):     API biblioteki libgweather dla języka Vala
@@ -111,12 +126,13 @@ API biblioteki libgweather dla języka Vala.
 %{__autoheader}
 %{__automake}
 %configure \
-       %{__enable_disable vala vala} \
-       --with-zoneinfo-dir=%{_datadir}/zoneinfo \
+       %{!?with_glade:--disable-glade-catalog} \
        --enable-gtk-doc \
-       --with-html-dir=%{_gtkdocdir} \
        --disable-silent-rules \
-       --enable-static
+       --enable-static \
+       %{__enable_disable vala} \
+       --with-html-dir=%{_gtkdocdir} \
+       --with-zoneinfo-dir=%{_datadir}/zoneinfo
 
 %{__make} -j1 -C data
 %{__make}
@@ -170,6 +186,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_gtkdocdir}/libgweather-3.0
 
+%if %{with glade}
+%files glade
+%defattr(644,root,root,755)
+%{_datadir}/glade/catalogs/libgweather.xml
+%endif
+
 %if %{with vala}
 %files -n vala-libgweather
 %defattr(644,root,root,755)
This page took 0.051845 seconds and 4 git commands to generate.