Blame SPECS/compat-libmediaart0.spec

aad2e4
Name:           compat-libmediaart0
aad2e4
Version:        0.7.0
aad2e4
Release:        1%{?dist}
aad2e4
Summary:        Compat package with libmediaart 0.7 libraries
aad2e4
aad2e4
License:        LGPLv2+
aad2e4
URL:            https://github.com/curlybeast/libmediaart
aad2e4
Source0:        https://download.gnome.org/sources/libmediaart/0.7/libmediaart-%{version}.tar.xz
aad2e4
aad2e4
BuildRequires:  pkgconfig(glib-2.0) pkgconfig(gio-2.0) pkgconfig(gio-unix-2.0)
aad2e4
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
aad2e4
BuildRequires:  vala-tools vala-devel
aad2e4
aad2e4
# Explicitly conflict with older libmediaart packages that ship libraries
aad2e4
# with the same soname as this compat package
aad2e4
Conflicts: libmediaart < 1.9
aad2e4
aad2e4
%description
aad2e4
Compatibility package with libmediaart 0.7 librarires.
aad2e4
aad2e4
aad2e4
%prep
aad2e4
%setup -q -n libmediaart-%{version}
aad2e4
aad2e4
aad2e4
%build
aad2e4
%configure --disable-static \
aad2e4
  --enable-gdkpixbuf \
aad2e4
  --disable-qt
aad2e4
make %{?_smp_mflags}
aad2e4
aad2e4
aad2e4
%install
aad2e4
%make_install
aad2e4
find $RPM_BUILD_ROOT -name '*.la' -delete -print
aad2e4
aad2e4
rm -rf $RPM_BUILD_ROOT%{_includedir}
aad2e4
rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/
aad2e4
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
aad2e4
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so
aad2e4
rm -rf $RPM_BUILD_ROOT%{_datadir}
aad2e4
aad2e4
aad2e4
%post -p /sbin/ldconfig
aad2e4
aad2e4
%postun -p /sbin/ldconfig
aad2e4
aad2e4
aad2e4
%files
aad2e4
%license COPYING.LESSER
aad2e4
%{_libdir}/libmediaart-1.0.so.*
aad2e4
aad2e4
aad2e4
%changelog
aad2e4
* Thu Oct 20 2016 Kalev Lember <klember@redhat.com> - 0.7.0-1
aad2e4
- Initial libmediaart 0.7 compat package