Blame SPECS/compat-libgweather3.spec

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