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/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