From 5a526c528c7253c59f605aea4f2f8ea8a0f9894e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 15:39:47 +0000 Subject: import compat-libgdata013-0.13.3-1.el7 --- diff --git a/.compat-libgdata013.metadata b/.compat-libgdata013.metadata new file mode 100644 index 0000000..ecc2f54 --- /dev/null +++ b/.compat-libgdata013.metadata @@ -0,0 +1 @@ +b8b46b21d04ea78bf734b9ac42bfe757fa08287e SOURCES/libgdata-0.13.3.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..29f1da1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libgdata-0.13.3.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-libgdata013.spec b/SPECS/compat-libgdata013.spec new file mode 100644 index 0000000..a2dc7da --- /dev/null +++ b/SPECS/compat-libgdata013.spec @@ -0,0 +1,58 @@ +Name: compat-libgdata013 +Version: 0.13.3 +Release: 1%{?dist} +Summary: Compat package with libgdata 0.13 libraries + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://live.gnome.org/libgdata +Source0: http://download.gnome.org/sources/libgdata/0.13/libgdata-%{version}.tar.xz + +BuildRequires: glib2-devel libsoup-devel libxml2-devel gtk-doc intltool +BuildRequires: gcr-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: gnome-online-accounts-devel +BuildRequires: gobject-introspection-devel liboauth-devel +BuildRequires: vala-devel +BuildRequires: vala-tools + +%description +Compatibility package with libgdata 0.13 libraries. + +%package -n compat-libgdata13 +Summary: Compat package with libgdata 0.13 libraries +# Explicitly conflict with older libgdata packages that ship libraries +# with the same soname as this compat package +Conflicts: libgdata < 0.15 + +%description -n compat-libgdata13 +Compatibility package with libgdata 0.13 libraries. + +%prep +%setup -q -n libgdata-%{version} + +%build +%configure --disable-static +make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" + +%install +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +rm -rf $RPM_BUILD_ROOT%{_includedir} +rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so +rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +rm -rf $RPM_BUILD_ROOT%{_datadir} + +%post -n compat-libgdata13 -p /sbin/ldconfig + +%postun -n compat-libgdata13 -p /sbin/ldconfig + +%files -n compat-libgdata13 +%doc COPYING +%{_libdir}/*.so.* + +%changelog +* Tue Mar 17 2015 Kalev Lember - 0.13.3-1 +- libgdata compat package for el7-gnome-3-14