packages: libgdata/libgdata.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Thu May 28 14:17:07 CEST 2009


Author: patrys                       Date: Thu May 28 12:17:06 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/libgdata:
   libgdata.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libgdata/libgdata.spec
diff -u /dev/null packages/libgdata/libgdata.spec:1.1
--- /dev/null	Thu May 28 14:17:07 2009
+++ packages/libgdata/libgdata.spec	Thu May 28 14:16:58 2009
@@ -0,0 +1,113 @@
+# $Revision$, $Date$
+Summary:	GData access library
+Name:		libgdata
+Version:	0.3.0
+Release:	1
+License:	LGPL v2+
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.3/%{name}-%{version}.tar.bz2
+# Source0-md5:	54c4de90fd00cd6685cbdd8c5054abb7
+URL:		http://www.gnumeric.org/
+BuildRequires:	autoconf >= 2.54
+BuildRequires:	automake >= 1:1.7.1
+BuildRequires:	gettext
+BuildRequires:	glib2-devel >= 1:2.16.0
+BuildRequires:	gtk-doc
+BuildRequires:	intltool
+BuildRequires:	libsoup-devel
+BuildRequires:	libtool
+BuildRequires:	libxml2-devel >= 1:2.6.26
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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:	Support files necessary to compile applications with libgdata
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libsoup-devel
+Requires:	libxml2-devel >= 1:2.6.26
+
+%description devel
+Headers, and support files necessary to compile applications using
+libgdata.
+
+%package static
+Summary:	libgdata static libraries
+Summary(pl.UTF-8):	Statyczne biblioteki libgsf
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Package contains static libraries.
+
+%package apidocs
+Summary:	libgdata API documentation
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+libgdata API documentation.
+
+%prep
+%setup -q
+
+%build
+%{__gtkdocize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang gdata
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f gdata.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README NEWS
+%attr(755,root,root) %{_libdir}/libgdata.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgdata.so.4
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgdata.so
+%{_libdir}/libgdata.la
+%{_includedir}/libgdata
+%{_pkgconfigdir}/libgdata.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgdata.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/gdata
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/05/28 12:16:58  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list