From c10ca282529fb92dfbc94b7d680cfd514737763f Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 6 Apr 2009 13:31:29 +0000 Subject: [PATCH] First commit --- .cvsignore | 1 + import.log | 1 + libgdata.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 81 insertions(+) create mode 100644 import.log create mode 100644 libgdata.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b6fc6eb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libgdata-0.1.1.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..4c4092d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libgdata-0_1_1-2_fc10:HEAD:libgdata-0.1.1-2.fc10.src.rpm:1239024663 diff --git a/libgdata.spec b/libgdata.spec new file mode 100644 index 0000000..f9b88a8 --- /dev/null +++ b/libgdata.spec @@ -0,0 +1,78 @@ +Name: libgdata +Version: 0.1.1 +Release: 2%{?dist} +Summary: Library for the GData protocol + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://live.gnome.org/libgdata +Source0: http://tecnocode.co.uk/downloads/libgdata-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: glib2-devel libsoup-devel libxml2-devel gtk-doc intltool + +%description +libgdata is a GLib-based library for accessing online service APIs using the +GData protocol --- most notably, Google's services. It provides APIs to access +the common Google services, and has full asynchronous support. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +Requires: gtk-doc + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + +%check +# Only the general test can be run without network access +cd gdata/tests +./general + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB NEWS README AUTHORS +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/gtk-doc/html/gdata/ + +%changelog +* Mon Apr 06 2009 - Bastien Nocera - 0.1.1-2 +- Add check, snippet from Jason Tibbitts + +* Wed Apr 01 2009 - Bastien Nocera - 0.1.1-1 +- Update to 0.1.1 + +* Wed Apr 01 2009 - Bastien Nocera - 0.1.0-1 +- First package + diff --git a/sources b/sources index e69de29..3efd735 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b1bde0dfa104c6457c97d7e09b4d0e86 libgdata-0.1.1.tar.bz2