From 0791b0bdc66590281cefce4d4ee664d80d58697a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:45:02 +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/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet 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