Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
nitrokey-app
nitrokey-app.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nitrokey-app.spec of Package nitrokey-app
# # spec file for package nitrokey-app # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?suse_version} == 1315 %define force_gcc_version 7 %endif Name: nitrokey-app Version: 1.4.2 Release: 0 Summary: Nitrokey's Application License: GPL-3.0-or-later Group: Productivity/Networking/Security URL: https://www.nitrokey.com/ Source: https://github.com/Nitrokey/nitrokey-app/releases/download/v%{version}/%{name}-v%{version}.tar.gz Source1: https://github.com/Nitrokey/nitrokey-app/releases/download/v%{version}/%{name}-v%{version}.tar.gz.sig BuildRequires: cmake >= 3.1.0 BuildRequires: gcc%{?force_gcc_version}-c++ >= 5 %if 0%{?force_gcc_version} #!BuildIgnore: libgcc_s1 %endif BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(cppcodec-1) BuildRequires: pkgconfig(libnitrokey-1) >= 3.3 BuildRequires: ubuntu-mono-icon-theme %description The implementation is compatible to the Google Authenticator application which can be used for testing purposes. See google-authenticator Using the application under Linux also requires root privileges, or configuration of device privileges in udev (due to USB communication). %prep %autosetup -p1 -n %{name}-v%{version} perl -p -i -e 's|\r\n|\n|g' OTP_full_specification.txt %build %if 0%{?force_gcc_version} export CC="gcc-%{?force_gcc_version}" export CXX="g++-%{?force_gcc_version}" %endif %cmake make %{?_smp_mflags} %install %cmake_install %files %{_bindir}/nitrokey-app %{_datadir}/bash-completion/completions/nitrokey-app %{_datadir}/pixmaps/nitrokey-app.png %if 0%{?suse_version} == 1315 %dir %{_datadir}/metainfo/ %endif %{_datadir}/metainfo/com.nitrokey.nitrokey-app.appdata.xml %{_datadir}/applications/nitrokey-app.desktop %{_datadir}/icons/hicolor/*/apps/nitrokey-app.png %{_datadir}/icons/hicolor/scalable/apps/nitrokey-app.svg %{_datadir}/icons/ubuntu-mono-*/apps/*/nitrokey-app.svg %doc OTP_full_specification.txt README.md %license LICENSES/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor