Initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 85006ede35
commit 48207fcf76
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/gif-0.10.1.crate

@ -0,0 +1,111 @@
# Generated by rust2rpm
# https://github.com/PistonDevelopers/image-gif/issues/51
%bcond_with check
%global debug_package %{nil}
%global crate gif
Name: rust-%{crate}
Version: 0.10.1
Release: 1%{?dist}
Summary: GIF de- and encoder
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/gif
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(color_quant/default) >= 1.0.0 with crate(color_quant/default) < 2.0.0)
BuildRequires: (crate(lzw/default) >= 0.10.0 with crate(lzw/default) < 0.11.0)
%if %{with check}
BuildRequires: (crate(glob/default) >= 0.2.10 with crate(glob/default) < 0.3.0)
%endif
%global _description \
GIF de- and encoder.
%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-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%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}/Cargo.toml
%package -n %{name}+c_api-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+c_api-devel %{_description}
This package contains library source intended for building other packages
which use "c_api" feature of "%{crate}" crate.
%files -n %{name}+c_api-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+libc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+libc-devel %{_description}
This package contains library source intended for building other packages
which use "libc" feature of "%{crate}" crate.
%files -n %{name}+libc-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+raii_no_panic-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+raii_no_panic-devel %{_description}
This package contains library source intended for building other packages
which use "raii_no_panic" feature of "%{crate}" crate.
%files -n %{name}+raii_no_panic-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Fri Mar 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (gif-0.10.1.crate) = 6a64d871f4430b2fa270c8a73031757a2ca9629362e7c3dff90e1ef2f785733c7dceb98fd93576b97b04b2d4cb920cb25deedf866a5e9e5ec902d4e72f39b82f

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-gif
Loading…
Cancel
Save