Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libgweather.296
libgweather.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgweather.spec of Package libgweather.296
# # spec file for package libgweather # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libgweather Version: 3.10.2 Release: 0 Summary: Library to get online weather information License: GPL-2.0+ Group: Development/Libraries/GNOME Url: http://developer.gnome.org/libgweather/ Source: http://download.gnome.org/sources/libgweather/3.10/%{name}-%{version}.tar.xz Source99: baselibs.conf # PATCH-FIX-UPSTREAM libgweather-soup-abort-in-disopse.patch mgorse@suse.com -- Abort soup session in dispose, not finalize. Patch0: libgweather-soup-abort-in-dispose.patch # PATCH-FIX-UPSTREAM libgweather-soup-no-abort-session.patch mgorse@suse.com -- Don't abort the entire soup session. Patch1: libgweather-soup-no-abort-session.patch # PATCH-FIX-UPSTREAM libgweather-location-search-i18n.patch bnc#895068 bgo#726897 mgorse@suse.com -- fix searching for locations in non-English locales. Patch2: libgweather-location-search-i18n.patch # PATCH-FIX-UPSTREAM libgweather-yrno19.patch bsc#910688 bgo#736334 fcrozat@suse.com -- Use yr.no 1.9 API Patch3: libgweather-yrno19.patch # For directory ownership BuildRequires: gnome-icon-theme BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: libsoup-devel >= 2.34.0 BuildRequires: libxml2-tools BuildRequires: libxslt BuildRequires: pkgconfig(vapigen) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a library to download weather information from online sources. %package data Summary: Library to get online weather information Group: Development/Libraries/GNOME # For directory ownership Requires: gnome-icon-theme Requires: libgweather-3-6 = %{version} Recommends: %{name}-lang Provides: %{name} = %{version} Obsoletes: %{name} < %{version} BuildArch: noarch %glib2_gsettings_schema_requires %description data This is a library to download weather information from online sources. This package provides the architecture independent files. %package devel Summary: Library to get online weather information Group: Development/Libraries/GNOME Requires: libgweather-3-6 = %{version} Requires: typelib-1_0-GWeather-3_0 = %{version} # prior to version 2.21.x, gnome-applets-devel only included files # now included in libgweather-devel, so we provide/obsolete # gnome-applets-devel here. Provides: gnome-applets-devel = 2.21.4 Obsoletes: gnome-applets-devel < 2.21.4 # gnome-applets-devel also provided and obsoleted gswitchit-devel, so # we need to do that here as well Provides: gswitchit-devel Obsoletes: gswitchit-devel %description devel This is a library to download weather information from online sources. %package -n libgweather-3-6 Summary: Library to get online weather information Group: Development/Libraries/GNOME Requires: %{name}-data >= %{version} %description -n libgweather-3-6 This is a library to download weather information from online sources. %package -n typelib-1_0-GWeather-3_0 Summary: Library to get online weather information -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-GWeather-3_0 This is a library to download weather information from online sources. This package provides the GObject Introspection bindings for the libgweather library. %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %configure \ --disable-static \ --enable-introspection %{__make} %{?_smp_mflags} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %find_lang libgweather-3.0 %{?no_lang_C} %find_lang libgweather-locations libgweather-3.0.lang %{?no_ang_C} %clean %{__rm} -rf %{buildroot} %post -n libgweather-3-6 -p /sbin/ldconfig %postun -n libgweather-3-6 -p /sbin/ldconfig %post data %glib2_gsettings_schema_post %icon_theme_cache_post gnome %postun data %glib2_gsettings_schema_postun %icon_theme_cache_postun gnome %files data %defattr(-,root,root) %doc AUTHORS README NEWS ChangeLog %{_datadir}/glib-2.0/schemas/org.gnome.GWeather.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml %{_datadir}/icons/gnome/*/status/weather-*.* %{_datadir}/libgweather/ %files -n libgweather-3-6 %defattr(-, root, root) %{_libdir}/*.so.* %files -n typelib-1_0-GWeather-3_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/GWeather-3.0.typelib %files devel %defattr(-,root,root) %{_includedir}/libgweather-3.0 %{_libdir}/*.so %{_libdir}/pkgconfig/gweather-3.0.pc %{_datadir}/gir-1.0/GWeather-3.0.gir %{_datadir}/vala/vapi/gweather-3.0.vapi %dir %{_datadir}/vala/vapi # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/libgweather-3.0 %files lang -f %{name}-3.0.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor