[packages/libzapojit] New

megabajt megabajt at pld-linux.org
Fri Oct 19 17:39:56 CEST 2012


commit aca6e70a67244650ddeca0e3e67124cdc1f682d8
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Fri Oct 19 17:38:57 2012 +0200

    New

 libzapojit.spec | 138 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 138 insertions(+)
---
diff --git a/libzapojit.spec b/libzapojit.spec
new file mode 100644
index 0000000..5ccfc1c
--- /dev/null
+++ b/libzapojit.spec
@@ -0,0 +1,138 @@
+#
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs
+Name:		libzapojit
+Version:	0.0.2
+Release:	1
+License:	LGPL v2.1
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/libzapojit/0.0/%{name}-%{version}.tar.xz
+# Source0-md5:	2cdb9f15f2860ed4efff4d35a7e5929f
+URL:		http://live.gnome.org/Zapojit
+BuildRequires:	autoconf >= 2.63
+BuildRequires:	automake
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.28.0
+BuildRequires:	gnome-common >= 3.6.0
+BuildRequires:	gnome-online-accounts-devel
+BuildRequires:	gobject-introspection-devel >= 1.30.0
+BuildRequires:	gtk-doc >= 1.11
+BuildRequires:	intltool >= 0.40.0
+BuildRequires:	json-glib-devel
+BuildRequires:	libsoup-devel >= 2.38.0
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	rest-devel
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libzapojit is a GLib/GObject wrapper for the SkyDrive and Hotmail REST
+APIs. It supports SkyDrive file and folder objects, and the following
+SkyDrive operations:
+- Deleting a file, folder or photo.
+- Listing the contents of a folder.
+- Reading the properties of a file, folder or photo.
+- Uploading files and photos.
+
+%package devel
+Summary:	Header files for libzapojit library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libzapojit
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.28.0
+Requires:	gnome-online-accounts-devel
+Requires:	json-glib-devel
+Requires:	libsoup-devel >= 2.38.0
+Requires:	rest-devel
+
+%description devel
+Header files for libzapojit library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libzapojit.
+
+%package static
+Summary:	Static libzapojit library
+Summary(pl.UTF-8):	Statyczna biblioteka libzapojit
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libzapojit library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libzapojit.
+
+%package apidocs
+Summary:	libzapojit API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki libzapojit
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+API documentation for libzapojit library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki libzapojit.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-silent-rules \
+	%{__enable_disable apidocs gtk-doc} \
+	%{__enable_disable static_libs static} \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libzapojit-0.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libzapojit-0.0.so.0
+%{_libdir}/girepository-1.0/Zpj-0.0.typelib
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libzapojit-0.0.so
+%{_libdir}/libzapojit-0.0.la
+%{_includedir}/libzapojit-0.0
+%{_pkgconfigdir}/zapojit-0.0.pc
+%{_datadir}/gir-1.0/Zpj-0.0.gir
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libzapojit-0.0.a
+%endif
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libzapojit-0.0
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libzapojit.git/commitdiff/aca6e70a67244650ddeca0e3e67124cdc1f682d8



More information about the pld-cvs-commit mailing list