libsignon-glib/libsignon-glib.spec

107 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libsignon-glib
Version: 2.1
Release: 1mamba
Summary: Glib binding for Single Sign-on library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.google.com/p/accounts-sso/
Source: https://gitlab.com/accounts-sso/libsignon-glib.git/VERSION_%{version}/libsignon-glib-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libpython-devel
BuildRequires: libsignon-devel
## AUTOBUILDREQ-END
Requires: signon
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Glib binding for Single Sign-on library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%meson \
-Ddocumentation=true
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libsignon-glib.so.*
%{_libdir}/girepository-1.0/Signon-2.0.typelib
%{python3_sitearch}/gi/overrides/Signon.py
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libsignon-glib
%{_includedir}/libsignon-glib/signon-*.h
%{_libdir}/libsignon-glib.so
%{_libdir}/pkgconfig/libsignon-glib.pc
%{_datadir}/gir-1.0/Signon-2.0.gir
%{_datadir}/vala/vapi/libsignon-glib.deps
%{_datadir}/vala/vapi/libsignon-glib.vapi
%doc NEWS
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/libsignon-glib
%{_datadir}/gtk-doc/html/libsignon-glib/*
%changelog
* Fri Aug 16 2019 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
- update to 1.14
* Sat Oct 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12-1mamba
- update to 1.12
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-2mamba
- python 2.7 mass rebuild
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic version update by autodist
* Thu Apr 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8-1mamba
- package created by silvan using the webbuild interface