## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # SPDX-FileCopyrightText: (C) 2025 Siemens AG # only needed for sso-mib-tool %bcond libjwt %{undefined rhel} %define soversion 0 Name: sso-mib Version: 0.9.0 Release: %autorelease Summary: Tools and library for Single-Sign-On with CA for Entra via Himmelblau License: LGPL-2.1-only AND GPL-2.0-only AND MIT URL: https://github.com/siemens/sso-mib Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: https://sources.debian.org/data/main/s/sso-mib/0.9.0-1~bpo13%%2B1/debian/sso-mib-tool.bash-completion BuildRequires: gcc BuildRequires: meson >= 0.53 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(json-glib-1.0) %if %{with libjwt} BuildRequires: pkgconfig(libjwt) %endif BuildRequires: pkgconfig(uuid) %description Applications can link with this library to get Entra Conditional Access tokens for authentication and Single-Sign-On from the Himmelblau stack. %package libs Summary: Shared library for SSO with Entra via Himmelblau License: LGPL-2.1-only %description libs Applications can link with this library to get Entra Conditional Access tokens for authentication and Single-Sign-On from the Himmelblau stack. This package contains the shared library. %package devel Summary: Development files for %{name}-libs License: LGPL-2.1-only Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: pkgconfig(gio-2.0) Requires: pkgconfig(glib-2.0) Requires: pkgconfig(uuid) %description devel Applications can link with this library to get Entra Conditional Access tokens for authentication and Single-Sign-On from the Himmelblau stack. This package contains the development files for the shared library. %package tool Summary: Command line tool for SSO with Entra via Himmelblau Requires: %{name}-libs%{?_isa} = %{version}-%{release} License: GPL-2.0-only %description tool This package contains the command line tool to get Entra Conditional Access tokens for authentication and Single-Sign-On from the Himmelblau stack. %package gch-smtp-o365 Summary: Git credential helper for SMTP on O365 via Himmelblau License: MIT Enhances: git-core %description -n sso-mib-gch-smtp-o365 This package contains a git send-email credential helper to authenticate SMTP on O365. %prep %autosetup -p1 %conf %meson %{!?with_libjwt:-Dlibjwt=disabled} %build %meson_build %install %meson_install # Install bash completion for sso-mib-tool install -Dpm0644 %SOURCE1 \ %{buildroot}%{_datadir}/bash-completion/completions/sso-mib-tool %check %meson_test %files libs %license LICENSES/LGPL-2.1-only.txt %doc README.md %{_libdir}/libsso-mib.so.%{soversion} %{_libdir}/libsso-mib.so.%{version} %files devel %license LICENSES/LGPL-2.1-only.txt %{_includedir}/sso-mib/ %{_libdir}/libsso-mib.so %{_libdir}/pkgconfig/sso-mib.pc %files tool %license LICENSES/GPL-2.0-only.txt %{_bindir}/sso-mib-tool %{_datadir}/bash-completion/completions/sso-mib-tool %files gch-smtp-o365 %license LICENSES/MIT.txt %{_bindir}/sso-mib-gch-smtp-o365 %changelog ## START: Generated by rpmautospec * Fri Jul 17 2026 Fedora Release Engineering - 0.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Jun 19 2026 Zbigniew Jędrzejewski-Szmek - 0.9.0-2 - Restore the completion script * Fri Jun 19 2026 Michael Bauer - 0.9.0-1 - Version 0.9.0 - fix(git-cred-helper): ask for consent if needed when acquiring token by @fmoessbauer in #43 - chore(sso-mib-tool): fix build without libjwt by @yselkowitz in #41 - chore(doc): Added project's license information to meson.build by @fmoessbauer in #39 - chore: remove debian packaging as package is in official debian by @fmoessbauer in #38 * Tue Apr 28 2026 Yaakov Selkowitz - 0.8.0-2 - Disable libjwt in RHEL * Thu Mar 19 2026 Zbigniew Jędrzejewski-Szmek - 0.8.0-1 - Version 0.8.0 * Mon Mar 09 2026 Zbigniew Jędrzejewski-Szmek - 0.7.0-1 - Original version ## END: Generated by rpmautospec