|
|
822bfe |
Name: compat-libgweather3
|
|
|
822bfe |
Version: 3.8.2
|
|
|
822bfe |
Release: 1%{?dist}
|
|
|
822bfe |
Summary: Compat package with libgweather 3.8 libraries
|
|
|
822bfe |
|
|
|
822bfe |
Group: System Environment/Libraries
|
|
|
822bfe |
License: GPLv2+
|
|
|
822bfe |
URL: http://www.gnome.org
|
|
|
822bfe |
#VCS: git:git://git.gnome.org/libgweather
|
|
|
822bfe |
Source0: http://download.gnome.org/sources/libgweather/3.8/libgweather-%{version}.tar.xz
|
|
|
822bfe |
|
|
|
822bfe |
BuildRequires: dbus-devel
|
|
|
822bfe |
BuildRequires: gtk3-devel >= 2.90.0
|
|
|
822bfe |
BuildRequires: gtk-doc
|
|
|
822bfe |
BuildRequires: libsoup-devel >= 2.4
|
|
|
822bfe |
BuildRequires: libxml2-devel >= 2.6
|
|
|
822bfe |
BuildRequires: gettext
|
|
|
822bfe |
BuildRequires: intltool
|
|
|
822bfe |
BuildRequires: autoconf automake libtool
|
|
|
822bfe |
BuildRequires: gobject-introspection-devel >= 0.10
|
|
|
822bfe |
BuildRequires: gnome-common
|
|
|
822bfe |
|
|
|
822bfe |
# Explicitly conflict with older libgweather packages that ship libraries
|
|
|
822bfe |
# with the same soname as this compat package
|
|
|
822bfe |
Conflicts: libgweather < 3.10
|
|
|
822bfe |
|
|
|
822bfe |
# https://bugzilla.gnome.org/show_bug.cgi?id=1030365
|
|
|
822bfe |
# [libgweather] Translations incomplete
|
|
|
822bfe |
Patch0: complete-l10n.patch
|
|
|
822bfe |
|
|
|
822bfe |
# https://bugzilla.redhat.com/show_bug.cgi?id=1139747
|
|
|
822bfe |
# yr.no API changes
|
|
|
822bfe |
Patch1: yr.no-update-to-version-1.9-of-the-online-API.patch
|
|
|
822bfe |
|
|
|
822bfe |
%description
|
|
|
822bfe |
Compatibility package with libgweather 3.8 libraries.
|
|
|
822bfe |
|
|
|
822bfe |
|
|
|
822bfe |
%prep
|
|
|
822bfe |
%setup -q -n libgweather-%{version}
|
|
|
822bfe |
%patch0 -p2 -b .complete-l10n
|
|
|
822bfe |
%patch1 -p1 -b .yr.no-update-to-version-1.9-of-the-online-API
|
|
|
822bfe |
|
|
|
822bfe |
%build
|
|
|
822bfe |
%configure --disable-static --disable-gtk-doc
|
|
|
822bfe |
make %{?_smp_mflags}
|
|
|
822bfe |
|
|
|
822bfe |
%install
|
|
|
822bfe |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
822bfe |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
822bfe |
|
|
|
822bfe |
rm -rf $RPM_BUILD_ROOT%{_includedir}
|
|
|
822bfe |
rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/
|
|
|
822bfe |
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so
|
|
|
822bfe |
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
|
|
|
822bfe |
rm -rf $RPM_BUILD_ROOT%{_datadir}
|
|
|
822bfe |
|
|
|
822bfe |
%post
|
|
|
822bfe |
/sbin/ldconfig
|
|
|
822bfe |
|
|
|
822bfe |
%postun
|
|
|
822bfe |
/sbin/ldconfig
|
|
|
822bfe |
|
|
|
822bfe |
%files
|
|
|
822bfe |
%doc COPYING
|
|
|
822bfe |
%{_libdir}/libgweather-3.so.*
|
|
|
822bfe |
|
|
|
822bfe |
|
|
|
822bfe |
%changelog
|
|
|
822bfe |
* Fri Apr 17 2015 Kalev Lember <kalevlember@gmail.com> - 3.8.2-1
|
|
|
822bfe |
- libgweather compat package for el7-gnome-3-14
|