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-askama_derive/rust-askama_derive.spec

180 lines
4.8 KiB

# Generated by rust2rpm 20
5 years ago
%bcond_without check
%global debug_package %{nil}
%global crate askama_derive
Name: rust-%{crate}
Version: 0.11.0
Release: %autorelease
5 years ago
Summary: Procedural macro package for Askama
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/askama_derive
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Procedural macro package for Askama.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
5 years ago
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{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.
5 years ago
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+actix-web-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+actix-web-devel %{_description}
This package contains library source intended for building other packages which
use the "actix-web" feature of the "%{crate}" crate.
5 years ago
%files -n %{name}+actix-web-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+axum-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+axum-devel %{_description}
This package contains library source intended for building other packages which
use the "axum" feature of the "%{crate}" crate.
%files -n %{name}+axum-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+config-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+config-devel %{_description}
This package contains library source intended for building other packages which
use the "config" feature of the "%{crate}" crate.
%files -n %{name}+config-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5 years ago
%package -n %{name}+gotham-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gotham-devel %{_description}
This package contains library source intended for building other packages which
use the "gotham" feature of the "%{crate}" crate.
5 years ago
%files -n %{name}+gotham-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+iron-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+iron-devel %{_description}
This package contains library source intended for building other packages which
use the "iron" feature of the "%{crate}" crate.
5 years ago
%files -n %{name}+iron-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
4 years ago
%package -n %{name}+mendes-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mendes-devel %{_description}
This package contains library source intended for building other packages which
use the "mendes" feature of the "%{crate}" crate.
4 years ago
%files -n %{name}+mendes-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5 years ago
%package -n %{name}+rocket-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rocket-devel %{_description}
This package contains library source intended for building other packages which
use the "rocket" feature of the "%{crate}" crate.
5 years ago
%files -n %{name}+rocket-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
4 years ago
%package -n %{name}+tide-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tide-devel %{_description}
This package contains library source intended for building other packages which
use the "tide" feature of the "%{crate}" crate.
4 years ago
%files -n %{name}+tide-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5 years ago
%package -n %{name}+warp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+warp-devel %{_description}
This package contains library source intended for building other packages which
use the "warp" feature of the "%{crate}" crate.
5 years ago
%files -n %{name}+warp-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