Initial package (closes: RHBZ#1983474)

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 4 years ago
parent 8652626bdb
commit cb201ac1d0
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

1
.gitignore vendored

@ -0,0 +1 @@
/unicode-linebreak-0.1.1.crate

@ -0,0 +1,74 @@
# Generated by rust2rpm 18
%bcond_without check
%global debug_package %{nil}
%global crate unicode-linebreak
Name: rust-%{crate}
Version: 0.1.1
Release: %autorelease
Summary: Implementation of the Unicode Line Breaking Algorithm
# Upstream license specification: Apache-2.0
# https://github.com/axelf4/unicode-linebreak/issues/3
License: ASL 2.0
URL: https://crates.io/crates/unicode-linebreak
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Implementation of the Unicode Line Breaking Algorithm.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%doc LineBreak.txt
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (unicode-linebreak-0.1.1.crate) = fe46428b27622eaf4763e1499b9f15f447ed60053b114d4f4d9cd2f952c62a8313be9f161625b6829b1d91ee1451016c2084c5854e64e32b6c1385857c60a970
Loading…
Cancel
Save