[packages/libaccounts-glib] - new URLs, updated to 1.21 - removed obsolete types patch

qboosh qboosh at pld-linux.org
Thu Apr 21 20:38:05 CEST 2016


commit b0530fa1b9b57ae92edf9ee7919e6aa55b6fc829
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 21 20:38:23 2016 +0200

    - new URLs, updated to 1.21
    - removed obsolete types patch

 libaccounts-glib-types.patch | 11 -----------
 libaccounts-glib.spec        | 26 +++++++++++++++++---------
 2 files changed, 17 insertions(+), 20 deletions(-)
---
diff --git a/libaccounts-glib.spec b/libaccounts-glib.spec
index 9899faa..539d8fa 100644
--- a/libaccounts-glib.spec
+++ b/libaccounts-glib.spec
@@ -6,21 +6,23 @@
 Summary:	Accounts management library for GLib applications
 Summary(pl.UTF-8):	Biblioteka do zarządzania kontami dla aplikacji opartych na bibliotece GLib
 Name:		libaccounts-glib
-Version:	1.16
-Release:	5
+Version:	1.21
+Release:	1
 License:	LGPL v2.1
 Group:		Libraries
-#Source0Download: http://code.google.com/p/accounts-sso/downloads/list
-Source0:	http://accounts-sso.googlecode.com/files/%{name}-%{version}.tar.gz
-Patch0:		%{name}-types.patch
-# Source0-md5:	9cdb46354885a8973bccd05090360361
-URL:		http://code.google.com/p/accounts-sso/
+#Source0Download: https://gitlab.com/accounts-sso/libaccounts-glib/tags?page=6
+Source0:	https://gitlab.com/accounts-sso/libaccounts-glib/repository/archive.tar.bz2?ref=VERSION_%{version}
+# Source0-md5:	1289685160b463b1b227d2a8aa8e2077
+URL:		https://gitlab.com/accounts-sso/libaccounts-glib
+BuildRequires:	autoconf >= 2.64
+BuildRequires:	automake >= 1:1.11
 %{?with_tests:BuildRequires:	check-devel >= 0.9.4}
 BuildRequires:	docbook-dtd43-xml
 BuildRequires:	docbook-style-xsl
 BuildRequires:	glib2-devel >= 1:2.36
 BuildRequires:	gobject-introspection-devel >= 1.30.0
 BuildRequires:	gtk-doc >= 1.14
+BuildRequires:	libtool >= 2:2.2
 BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	libxslt-progs
 BuildRequires:	pkgconfig
@@ -111,11 +113,17 @@ Vala API for libaccounts-glib.
 API języka Vala do biblioteki libaccounts-glib.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-VERSION_%{version}-00254a604a7c7bd38c41794a80ad8930e90f21aa
 
 %build
+%{__gtkdocize} --flavour no-tmpl
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
+	--enable-gtk-doc \
 	--disable-silent-rules \
 	%{?with_static_libs:--enable-static} \
 	%{!?with_tests:--disable-tests} \
diff --git a/libaccounts-glib-types.patch b/libaccounts-glib-types.patch
deleted file mode 100644
index 760ba45..0000000
--- a/libaccounts-glib-types.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libaccounts-glib-1.16/libaccounts-glib/ag-provider.c.orig	2014-01-03 17:27:22.000000000 +0100
-+++ libaccounts-glib-1.16/libaccounts-glib/ag-provider.c	2014-01-19 13:38:23.814289097 +0100
-@@ -441,7 +441,7 @@
- gboolean
- ag_provider_get_single_account (AgProvider *provider)
- {
--    g_return_val_if_fail (provider != NULL, NULL);
-+    g_return_val_if_fail (provider != NULL, FALSE);
-     return provider->single_account;
- }
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libaccounts-glib.git/commitdiff/b0530fa1b9b57ae92edf9ee7919e6aa55b6fc829



More information about the pld-cvs-commit mailing list