Dan Vrátil 7d15055
%global git_rev de17e67d46548a20710a42944f0dea748f1c59b9
Dan Vrátil 7d15055
Dan Vrátil 7d15055
Name:           signon-glib
Dan Vrátil 7d15055
Version:        1.9
0833f42
Release:        8%{?dist}
Dan Vrátil 7d15055
Summary:        Single signon authentication library for GLib applications
Dan Vrátil 7d15055
Dan Vrátil 7d15055
License:        LGPLv2+
Dan Vrátil 7d15055
URL:            https://gitlab.com/accounts-sso/libgsignon-glib
Dan Vrátil 7d15055
Dan Vrátil 7d15055
Source0:        https://gitlab.com/accounts-sso/libgsignon-glib/repository/archive.tar.gz?ref=%{version}#/%{name}-%{version}.tar.gz
Dan Vrátil 7d15055
Rex Dieter dc99c19
## upstreamable patches
Rex Dieter dc99c19
# prevent overlinking, where only headers are needed
Rex Dieter dc99c19
Patch1: gsignon-glib-1.9-pkgconfig_private.patch
Rex Dieter dc99c19
Dan Vrátil 7d15055
BuildRequires:  autoconf
Dan Vrátil 7d15055
BuildRequires:  automake
Dan Vrátil 7d15055
BuildRequires:  pkgconfig
Dan Vrátil 7d15055
BuildRequires:  libtool
Dan Vrátil 7d15055
BuildRequires:  glib2-devel
Dan Vrátil 7d15055
BuildRequires:  signon-devel
Dan Vrátil 7d15055
BuildRequires:  gtk-doc
Dan Vrátil 7d15055
BuildRequires:  gobject-introspection-devel
Dan Vrátil 7d15055
Dan Vrátil 7d15055
# Python support
Dan Vrátil 7d15055
#BuildRequires:  pygobject2-devel
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%description
Dan Vrátil 7d15055
This project is a library for managing single signon credentilas which can be
Dan Vrátil 7d15055
used from GLib applications. It is effectively a GLib binding for the D-Bus API
Dan Vrátil 7d15055
provided by signond. It is part of the accounts-sso project.
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%package devel
Dan Vrátil 7d15055
Summary:        Development files for %{name}
Dan Vrátil 7d15055
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%description devel
Dan Vrátil 7d15055
The %{name}-devel package contains libraries and header files for
Dan Vrátil 7d15055
developing applications that use %{name}.
Dan Vrátil 7d15055
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%prep
Dan Vrátil 7d15055
%setup -q -n libgsignon-glib-%{version}-%{git_rev}
Dan Vrátil 7d15055
Rex Dieter dc99c19
%patch1 -p1 -b .pkgconfig_private
Rex Dieter dc99c19
Dan Vrátil 7d15055
%build
Rex Dieter dc99c19
NOCONFIGURE=1 ./autogen.sh
Dan Vrátil 7d15055
%configure
Dan Vrátil 7d15055
# parallel build can break due to generated files
Dan Vrátil 7d15055
make -j1
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%install
Dan Vrátil 7d15055
make install DESTDIR=%{buildroot}
Dan Vrátil 7d15055
Dan Vrátil 7d15055
# Remove static library
Dan Vrátil 7d15055
rm -fv %{buildroot}%{_libdir}/libsignon-glib.la
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%post -p /sbin/ldconfig
Dan Vrátil 7d15055
%postun -p /sbin/ldconfig
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%files
Dan Vrátil 7d15055
%doc README NEWS
Dan Vrátil 7d15055
%license COPYING
Rex Dieter dc99c19
%{_libdir}/libsignon-glib.so.1*
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%files devel
Dan Vrátil 7d15055
%{_includedir}/libsignon-glib/
Dan Vrátil 7d15055
%{_libdir}/libsignon-glib.so
Dan Vrátil 7d15055
%{_libdir}/pkgconfig/libsignon-glib.pc
Dan Vrátil 7d15055
%{_libdir}/girepository-1.0/Signon-1.0.typelib
Dan Vrátil 7d15055
%{_datadir}/gir-1.0/Signon-1.0.gir
Dan Vrátil 7d15055
%{_datadir}/vala/vapi/signon.vapi
Dan Vrátil 7d15055
Dan Vrátil 7d15055
%changelog
0833f42
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-8
0833f42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0833f42
721516b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-7
721516b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
721516b
365ec66
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-6
365ec66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
365ec66
e63d0f7
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-5
e63d0f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e63d0f7
Rex Dieter dc99c19
* Wed Oct 14 2015 Rex Dieter <rdieter@fedoraproject.org> - 1.9-4
Rex Dieter dc99c19
- NOCONFIGURE=1 autogen.sh, track lib soname
Rex Dieter dc99c19
- pkgconfig_private.patch: avoid overlinking
Rex Dieter dc99c19
Dan Vrátil 7d15055
* Wed Oct 14 2015 Daniel Vrátil <dvratil@redhat.com> - 1.9-3
Dan Vrátil 7d15055
- fix license
Dan Vrátil 7d15055
- fix versions in changelog
Dan Vrátil 7d15055
Dan Vrátil 7d15055
* Tue Oct 13 2015 Daniel Vrátil <dvratil@redhat.com> - 1.9-2
Dan Vrátil 7d15055
- Fix dependencies
Dan Vrátil 7d15055
Dan Vrátil 7d15055
* Thu Aug 27 2015 Daniel Vrátil <dvratil@redhat.com> - 1.9-1
Dan Vrátil 7d15055
- Initial version