Blame rust-gspell-sys.spec

f4a3bbe
# Generated by rust2rpm 11
e4f3d6d
%bcond_with check
e4f3d6d
%global debug_package %{nil}
e4f3d6d
e4f3d6d
%global crate gspell-sys
e4f3d6d
e4f3d6d
Name:           rust-%{crate}
f4a3bbe
Version:        0.3.0
f4a3bbe
Release:        1%{?dist}
e4f3d6d
Summary:        Raw C-FFI bindings for the gspell library
e4f3d6d
e4f3d6d
# Upstream license specification: GPL-3.0-or-later
e4f3d6d
License:        GPLv3+
e4f3d6d
URL:            https://crates.io/crates/gspell-sys
e4f3d6d
Source:         %{crates_source}
e4f3d6d
e4f3d6d
ExclusiveArch:  %{rust_arches}
f4a3bbe
%if %{__cargo_skip_build}
f4a3bbe
BuildArch:      noarch
f4a3bbe
%endif
e4f3d6d
e4f3d6d
BuildRequires:  rust-packaging
e4f3d6d
f4a3bbe
%global _description %{expand:
f4a3bbe
Raw C-FFI bindings for the gspell library.}
e4f3d6d
e4f3d6d
%description %{_description}
e4f3d6d
e4f3d6d
%package        devel
e4f3d6d
Summary:        %{summary}
e4f3d6d
BuildArch:      noarch
e4f3d6d
Requires:       pkgconfig(gspell-1) >= 1.6
e4f3d6d
e4f3d6d
%description    devel %{_description}
e4f3d6d
e4f3d6d
This package contains library source intended for building other packages
e4f3d6d
which use "%{crate}" crate.
e4f3d6d
e4f3d6d
%files          devel
e4f3d6d
%license LICENSE
e4f3d6d
%{cargo_registry}/%{crate}-%{version}/
e4f3d6d
e4f3d6d
%package     -n %{name}+default-devel
e4f3d6d
Summary:        %{summary}
e4f3d6d
BuildArch:      noarch
e4f3d6d
e4f3d6d
%description -n %{name}+default-devel %{_description}
e4f3d6d
e4f3d6d
This package contains library source intended for building other packages
e4f3d6d
which use "default" feature of "%{crate}" crate.
e4f3d6d
e4f3d6d
%files       -n %{name}+default-devel
e4f3d6d
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
e4f3d6d
e4f3d6d
%package     -n %{name}+dox-devel
e4f3d6d
Summary:        %{summary}
e4f3d6d
BuildArch:      noarch
e4f3d6d
e4f3d6d
%description -n %{name}+dox-devel %{_description}
e4f3d6d
e4f3d6d
This package contains library source intended for building other packages
e4f3d6d
which use "dox" feature of "%{crate}" crate.
e4f3d6d
e4f3d6d
%files       -n %{name}+dox-devel
e4f3d6d
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
e4f3d6d
e4f3d6d
%prep
e4f3d6d
%autosetup -n %{crate}-%{version_no_tilde} -p1
e4f3d6d
%cargo_prep
e4f3d6d
f4a3bbe
%generate_buildrequires
f4a3bbe
%cargo_generate_buildrequires
f4a3bbe
echo 'pkgconfig(gspell-1) >= 1.6'
f4a3bbe
e4f3d6d
%build
e4f3d6d
%cargo_build
e4f3d6d
e4f3d6d
%install
e4f3d6d
%cargo_install
e4f3d6d
e4f3d6d
%if %{with check}
e4f3d6d
%check
e4f3d6d
%cargo_test
e4f3d6d
%endif
e4f3d6d
e4f3d6d
%changelog
f4a3bbe
* Tue Dec 10 2019 Josh Stone <jistone@redhat.com> - 0.3.0-1
f4a3bbe
- Update to 0.3.0
f4a3bbe
43bf604
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
43bf604
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
43bf604
e4f3d6d
* Sun May 05 14:53:44 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
e4f3d6d
- Initial package