Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
oath-toolkit
> oath-toolkit.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File oath-toolkit.spec of Package oath-toolkit
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: oath-toolkit # >> macros # << macros %define sover 0 Summary: One-Time Password components Version: 2.6.9 Release: 0 Group: Applications License: GPLv3+ and LGPLv2+ URL: https://www.nongnu.org/oath-toolkit/ Source0: %{name}-%{version}.tar.gz Source100: oath-toolkit.yaml Source101: oath-toolkit-rpmlintrc BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libgcrypt) BuildRequires: pkgconfig BuildRequires: make BuildRequires: libtool BuildRequires: autoconf BuildRequires: automake BuildRequires: bison %description OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH Toolkit DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Library Custom: Repo: https://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package -n oathtool Summary: One-Time Password tool License: GPLv3+ Group: Applications %description -n oathtool This package provides the oathtool binary from OATH Toolkit. OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH Tool DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Utility Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package -n pskctool Summary: One-Time Password PSKC tool License: GPLv3+ Group: Applications %description -n pskctool This package provides the pskctool binary from OATH Toolkit. OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH PSKC Tool DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Utility Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package xml Summary: OATH XML files License: GPLv3+ and LGPLv2+ Group: Applications %description xml OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH XML Files DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Library Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package -n liboath%{sover} Summary: Libraries for %{name} License: LGPLv2+ Group: Development Requires: %{name}-xml >= %{version} Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description -n liboath%{sover} OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH Toolkit Libraries DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Library Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package -n libpskc%{sover} Summary: Libraries for %{name} License: LGPLv2+ Group: Development Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description -n libpskc%{sover} OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH Toolkit PSKC Libraries DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Library Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package -n liboath%{sover}-devel Summary: Development files for %{name} License: LGPLv2+ Group: Development Requires: liboath%{sover} = %{version}-%{release} %description -n liboath%{sover}-devel OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH Toolkit Development files DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Library Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %package -n libpskc%{sover}-devel Summary: Development files for %{name} License: LGPLv2+ Group: Development Requires: libpskc%{sover} = %{version}-%{release} %description -n libpskc%{sover}-devel OATH Toolkit provides components to build one-time password authentication systems. It contains shared C libraries, command line tools and a PAM module. Supported technologies include the event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm (RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to manage secret key data. OATH stands for Open AuTHentication, which is the organization that specify the algorithms. %if "%{?vendor}" == "chum" Title: OATH Toolkit PSKC Development files DeveloperLogin: oath-toolkit PackagedBy: nephros Categories: - Library Custom: Repo:://gitlab.com/oath-toolkit/oath-toolkit Links: Homepage: %{url} Bugtracker: https://gitlab.com/oath-toolkit/oath-toolkit/-/issues %endif %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre # position-independent executables/libraries. WARNING: may lead to segfaults # export CFLAGS="$CFLAGS -fPIC" # export LDFLAGS="$LDFLAGS -pie -shared" # << build pre %configure --disable-static \ --disable-pam \ --with-libgcrypt # >> build post %make_build # << build post %install rm -rf %{buildroot} # >> install pre %make_install # << install pre # >> install post # do not package documentation: rm -rf %{buildroot}%{_docdir} rm -rf %{buildroot}%{_datadir}/gtk-doc rm -rf %{buildroot}%{_mandir} # << install post %post -n liboath%{sover} -p /sbin/ldconfig %postun -n liboath%{sover} -p /sbin/ldconfig %post -n libpskc%{sover} -p /sbin/ldconfig %postun -n libpskc%{sover} -p /sbin/ldconfig %files -n oathtool %defattr(-,root,root,-) %{_bindir}/oathtool # >> files oathtool # << files oathtool %files -n pskctool %defattr(-,root,root,-) %{_bindir}/pskctool # >> files pskctool # << files pskctool %files xml %defattr(-,root,root,-) %{_datadir}/xml/pskc # >> files xml # << files xml %files -n liboath%{sover} %defattr(-,root,root,-) %license COPYING %{_libdir}/liboath*.so.* # >> files liboath%{sover} # << files liboath%{sover} %files -n libpskc%{sover} %defattr(-,root,root,-) %license COPYING %{_libdir}/libpskc*.so.* # >> files libpskc%{sover} # << files libpskc%{sover} %files -n liboath%{sover}-devel %defattr(-,root,root,-) %{_libdir}/liboath*.so %{_includedir}/liboath %{_prefix}/%{_lib}/pkgconfig/liboath.pc # >> files liboath%{sover}-devel # << files liboath%{sover}-devel %files -n libpskc%{sover}-devel %defattr(-,root,root,-) %{_libdir}/libpskc*.so %{_includedir}/pskc %{_prefix}/%{_lib}/pkgconfig/libpskc.pc # >> files libpskc%{sover}-devel # << files libpskc%{sover}-devel