You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-regex/rust-regex.spec

304 lines
8.9 KiB

# Generated by rust2rpm 19
%bcond_with check
%global debug_package %{nil}
%global crate regex
Name: rust-%{crate}
Version: 1.5.4
Release: %autorelease
Summary: Implementation of regular expressions for Rust
5 years ago
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/regex
6 years ago
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Implementation of regular expressions for Rust. This implementation uses finite
automata and guarantees linear time matching on all inputs.}
%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
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md HACKING.md PERFORMANCE.md README.md UNICODE.md
5 years ago
%{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 "the default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+aho-corasick-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+aho-corasick-devel %{_description}
This package contains library source intended for building other packages which
use "the aho-corasick" feature of the "%{crate}" crate.
%files -n %{name}+aho-corasick-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+memchr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+memchr-devel %{_description}
This package contains library source intended for building other packages which
use "the memchr" feature of the "%{crate}" crate.
%files -n %{name}+memchr-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+pattern-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+pattern-devel %{_description}
This package contains library source intended for building other packages which
use "the pattern" feature of the "%{crate}" crate.
%files -n %{name}+pattern-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+perf-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+perf-devel %{_description}
This package contains library source intended for building other packages which
use "the perf" feature of the "%{crate}" crate.
%files -n %{name}+perf-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+perf-cache-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+perf-cache-devel %{_description}
This package contains library source intended for building other packages which
use "the perf-cache" feature of the "%{crate}" crate.
%files -n %{name}+perf-cache-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+perf-dfa-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+perf-dfa-devel %{_description}
This package contains library source intended for building other packages which
use "the perf-dfa" feature of the "%{crate}" crate.
%files -n %{name}+perf-dfa-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+perf-inline-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+perf-inline-devel %{_description}
This package contains library source intended for building other packages which
use "the perf-inline" feature of the "%{crate}" crate.
%files -n %{name}+perf-inline-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+perf-literal-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+perf-literal-devel %{_description}
This package contains library source intended for building other packages which
use "the perf-literal" feature of the "%{crate}" crate.
%files -n %{name}+perf-literal-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use "the std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode" feature of the "%{crate}" crate.
%files -n %{name}+unicode-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-age-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-age-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-age" feature of the "%{crate}" crate.
%files -n %{name}+unicode-age-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-bool-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-bool-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-bool" feature of the "%{crate}" crate.
%files -n %{name}+unicode-bool-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-case-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-case-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-case" feature of the "%{crate}" crate.
%files -n %{name}+unicode-case-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-gencat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-gencat-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-gencat" feature of the "%{crate}" crate.
%files -n %{name}+unicode-gencat-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-perl-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-perl-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-perl" feature of the "%{crate}" crate.
%files -n %{name}+unicode-perl-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-script-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-script-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-script" feature of the "%{crate}" crate.
%files -n %{name}+unicode-script-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unicode-segment-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-segment-devel %{_description}
This package contains library source intended for building other packages which
use "the unicode-segment" feature of the "%{crate}" crate.
%files -n %{name}+unicode-segment-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages which
use "the unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+use_std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+use_std-devel %{_description}
This package contains library source intended for building other packages which
use "the use_std" feature of the "%{crate}" crate.
%files -n %{name}+use_std-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
6 years ago
%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