libaccounts-glib/libaccounts-glib.spec

152 lines
4.7 KiB
RPMSpec

Name: libaccounts-glib
Version: 1.26
Release: 1mamba
Summary: Glib client library for the accounts and SSO (Single Sign-On) framework
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.google.com/archive/p/accounts-sso
Source: https://gitlab.com/accounts-sso/libaccounts-glib.git/%{version}/libaccounts-glib-%{version}.tar.bz2
Patch0: libaccounts-glib-1.8-gcc-4.8.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libsqlite-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
%description
Glib client library for the accounts and SSO (Single Sign-On) framework for Linux and POSIX based platforms.
%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 tools
Group: Applications/Security
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{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
%patch0 -p1
%build
%meson
%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}/libaccounts-glib.so.*
%{_libdir}/girepository-1.0/Accounts-1.0.typelib
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
%{_datadir}/xml/accounts/schema/dtd/accounts-application.dtd
%{_datadir}/xml/accounts/schema/dtd/accounts-provider.dtd
%{_datadir}/xml/accounts/schema/dtd/accounts-service-type.dtd
%{_datadir}/xml/accounts/schema/dtd/accounts-service.dtd
%{_datadir}/gettext/its/accounts-*
%{python3_sitearch}/gi/overrides/Accounts.py
#%{_datadir}/backup-framework/applications/accounts.conf
#%{python_sitearch}/gi/overrides/Accounts.py
#%{python_sitearch}/gi/overrides/Accounts.pyc
#%{python_sitearch}/gi/overrides/Accounts.pyo
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libaccounts-glib
%{_includedir}/libaccounts-glib/*.h
#%{_libdir}/libaccounts-glib.la
%{_libdir}/libaccounts-glib.so
%{_libdir}/pkgconfig/libaccounts-glib.pc
%{_datadir}/gir-1.0/Accounts-1.0.gir
#%dir %{_libdir}/libaccounts-glib
#%{_libdir}/libaccounts-glib/*
#%dir %{_datadir}/libaccounts-glib
#%dir %{_datadir}/libaccounts-glib/testdata/
#%{_datadir}/libaccounts-glib/testdata/*
%{_datadir}/vala/vapi/libaccounts-glib.deps
%{_datadir}/vala/vapi/libaccounts-glib.vapi
%doc NEWS
%files tools
%defattr(-,root,root)
%{_bindir}/ag-backup
%{_bindir}/ag-tool
#%{_mandir}/man1/ag-backup.1*
#%{_mandir}/man1/ag-tool.1*
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/libaccounts-glib
%{_datadir}/gtk-doc/html/libaccounts-glib/*
%changelog
* Sun Sep 04 2022 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
- automatic version update by autodist
* Wed Apr 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-2mamba
- depend on python 3.7; clone source with tag, not master
* Thu Apr 16 2020 Automatic Build System <autodist@mambasoft.it> 1.25-1mamba
- automatic version update by autodist
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
- automatic version update by autodist
* Thu Sep 29 2016 Automatic Build System <autodist@mambasoft.it> 1.23-1mamba
- automatic version update by autodist
* Wed Jul 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.20160727git-1mamba
- update to 1.22.20160727git
* Sat Oct 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18-1mamba
- update to 1.18
* Sat Mar 01 2014 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
- automatic version update by autodist
* Wed Jan 01 2014 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
- automatic version update by autodist
* Tue Jun 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8-2mamba
- python 2.7 rebuild
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8-1mamba
- package created by silvan using the webbuild interface