From aad2e41ed8e5a269730c1de065fea3718bd363a0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 22 2019 05:53:51 +0000 Subject: import compat-libmediaart0-0.7.0-1.el7 --- diff --git a/.compat-libmediaart0.metadata b/.compat-libmediaart0.metadata new file mode 100644 index 0000000..892eb95 --- /dev/null +++ b/.compat-libmediaart0.metadata @@ -0,0 +1 @@ +6c106c68e6332238c748d56ed1c01bd7c67d6993 SOURCES/libmediaart-0.7.0.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0b03667 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libmediaart-0.7.0.tar.xz diff --git a/SPECS/compat-libmediaart0.spec b/SPECS/compat-libmediaart0.spec new file mode 100644 index 0000000..6fbe875 --- /dev/null +++ b/SPECS/compat-libmediaart0.spec @@ -0,0 +1,56 @@ +Name: compat-libmediaart0 +Version: 0.7.0 +Release: 1%{?dist} +Summary: Compat package with libmediaart 0.7 libraries + +License: LGPLv2+ +URL: https://github.com/curlybeast/libmediaart +Source0: https://download.gnome.org/sources/libmediaart/0.7/libmediaart-%{version}.tar.xz + +BuildRequires: pkgconfig(glib-2.0) pkgconfig(gio-2.0) pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: vala-tools vala-devel + +# Explicitly conflict with older libmediaart packages that ship libraries +# with the same soname as this compat package +Conflicts: libmediaart < 1.9 + +%description +Compatibility package with libmediaart 0.7 librarires. + + +%prep +%setup -q -n libmediaart-%{version} + + +%build +%configure --disable-static \ + --enable-gdkpixbuf \ + --disable-qt +make %{?_smp_mflags} + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -delete -print + +rm -rf $RPM_BUILD_ROOT%{_includedir} +rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so +rm -rf $RPM_BUILD_ROOT%{_datadir} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%license COPYING.LESSER +%{_libdir}/libmediaart-1.0.so.* + + +%changelog +* Thu Oct 20 2016 Kalev Lember - 0.7.0-1 +- Initial libmediaart 0.7 compat package