Initial import

Signed-off-by: Igor Raits <igor.raits@gmail.com>
epel9
Igor Raits 3 years ago
parent 451abab77b
commit bc1b4fa361
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

1
.gitignore vendored

@ -0,0 +1 @@
/paris-*.crate

@ -0,0 +1,119 @@
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate paris
Name: rust-%{crate}
Version: 1.5.11
Release: %autorelease
Summary: Simple logger for your CLI apps or other things you want in the terminal
# Upstream license specification: MPL-2.0
License: MPLv2.0
URL: https://crates.io/crates/paris
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Simple logger for your CLI apps or other things you want in the terminal.}
%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.
%files devel
%license LICENSE
%doc CONTRIBUTING.md 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.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+chrono-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+chrono-devel %{_description}
This package contains library source intended for building other packages which
use the "chrono" feature of the "%{crate}" crate.
%files -n %{name}+chrono-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+macros-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+macros-devel %{_description}
This package contains library source intended for building other packages which
use the "macros" feature of the "%{crate}" crate.
%files -n %{name}+macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+no_logger-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no_logger-devel %{_description}
This package contains library source intended for building other packages which
use the "no_logger" feature of the "%{crate}" crate.
%files -n %{name}+no_logger-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+timestamps-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+timestamps-devel %{_description}
This package contains library source intended for building other packages which
use the "timestamps" feature of the "%{crate}" crate.
%files -n %{name}+timestamps-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 (paris-1.5.11.crate) = f26cf1213a06e5886f114637ab677dddc7fbb140ffaa79e932125b0f1a60611cdd46e008a7a81c4cffa9e4d4b778849ec2e73ff9bcad217df0729e7e8308a26d
Loading…
Cancel
Save