File fc-ota-tools.spec of Package fc-ota-tools

#
# spec file for package fc-ota-tools
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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/
#

%define freecalypso_dir /opt/freecalypso/

Name:           fc-ota-tools
Version:        0~hg9
Release:        0
Summary:        Tools for OTA SIM programming
License:        SUSE-Public-Domain
Group:          Productivity/Telephony/Utilities
URL:            https://www.freecalypso.org/software.html
#Hg-Clone:      https://www.freecalypso.org/hg/fc-ota-tools/
Source:         %{name}-%{version}.tar.xz
Source1:        fc-ota-tools-rpmlintrc
BuildRequires:  gcc13
BuildRequires:  libopenssl-devel

%description
Tools for OTA SIM programming.

%prep
%autosetup

%build
make CC=gcc-13 CFLAGS='%{optflags} -Wno-return-type -Wno-implicit' %{?_smp_mflags}

%install
make install INSTBIN=%{buildroot}/%{freecalypso_dir}/bin

%files
%license LICENSE
%doc README
%dir %{freecalypso_dir}
%dir %{freecalypso_dir}/bin
%{freecalypso_dir}/bin/ota-set-msisdn
%{freecalypso_dir}/bin/ota-smspp-envelope
%{freecalypso_dir}/bin/ota-smswrap-sjs1

%changelog
openSUSE Build Service is sponsored by