initial import (#1879716)

epel9
Fabio Valentini 4 years ago
parent 7e89157d0a
commit 5dd0d00e17
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/pure-rust-locales-0.5.2.crate

@ -1,3 +0,0 @@
# rust-pure-rust-locales
The rust-pure-rust-locales package

@ -0,0 +1,76 @@
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate pure-rust-locales
Name: rust-%{crate}
Version: 0.5.2
Release: 1%{?dist}
Summary: Pure Rust locales imported directly from the GNU C Library
# Upstream license specification: MIT
# https://github.com/cecton/pure-rust-locales/issues/1
License: MIT
URL: https://crates.io/crates/pure-rust-locales
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Pure Rust locales imported directly from the GNU C Library. `LC_COLLATE` and
`LC_CTYPE` are not yet supported.}
%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 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 "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
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.5.2-1
- Initial package

@ -0,0 +1 @@
SHA512 (pure-rust-locales-0.5.2.crate) = 98b18ff45eb6b77bf8c590b59a2f0afd40aac045e2a3732ca2372e1876e6d3209e57d02c18f167ac969df3c4905c81de01a7c4f73594e7b0fcf6fc22b1f0536d
Loading…
Cancel
Save