File rust-openssl-sys.spec of Package rust-openssl-sys
#
# spec file for package rust-openssl-sys
#
# Copyright (c) 2024 u <u>.
#
# 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 https://bugs.opensuse.org/
#
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate openssl-sys
Name: rust-openssl-sys
Version: 0.9.102
Release: 0
Summary: FFI bindings to OpenSSL
Group: Development/Libraries/Rust
License: MIT
URL: https://crates.io/crates/openssl-sys
Source: https://crates.io/api/v1/crates/%crate/%version/download#/%crate-%version.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
BuildRequires: (crate(cc/default) >= 1.0.61 with crate(cc/default) < 2.0.0~)
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~)
BuildRequires: (crate(pkg-config/default) >= 0.3.9 with crate(pkg-config/default) < 0.4.0~)
BuildRequires: (crate(vcpkg/default) >= 0.2.8 with crate(vcpkg/default) < 0.3.0~)
BuildRequires: pkgconfig(openssl)
%global _description %{expand:
FFI bindings to OpenSSL.}
%description %{_description}
%package devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bindgen-devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description -n %{name}+bindgen-devel %{_description}
This package contains library source intended for building other packages which
use the "bindgen" feature of the "%{crate}" crate.
%files -n %{name}+bindgen-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bssl-sys-devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description -n %{name}+bssl-sys-devel %{_description}
This package contains library source intended for building other packages which
use the "bssl-sys" feature of the "%{crate}" crate.
%files -n %{name}+bssl-sys-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+openssl-src-devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description -n %{name}+openssl-src-devel %{_description}
This package contains library source intended for building other packages which
use the "openssl-src" feature of the "%{crate}" crate.
%files -n %{name}+openssl-src-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable_boringssl-devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description -n %{name}+unstable_boringssl-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable_boringssl" feature of the "%{crate}" crate.
%files -n %{name}+unstable_boringssl-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+vendored-devel
Summary: %{summary}
Group: Development/Libraries/Rust
BuildArch: noarch
%description -n %{name}+vendored-devel %{_description}
This package contains library source intended for building other packages which
use the "vendored" feature of the "%{crate}" crate.
%files -n %{name}+vendored-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%endif
%changelog
* Tue Apr 09 19:46:09 MSK 2024 u <u>
- Version 0.9.102
- Initial package