Blame rust-atk-sys.spec

a4ff5c4
# Generated by rust2rpm 20
9d8a028
# * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64
df77240
%bcond_with check
568909f
%global debug_package %{nil}
568909f
568909f
%global crate atk-sys
568909f
568909f
Name:           rust-%{crate}
a4ff5c4
Version:        0.15.1
6bd4bcd
Release:        %autorelease
568909f
Summary:        FFI bindings to libatk-1
568909f
02b6994
# Upstream license specification: MIT
568909f
License:        MIT
568909f
URL:            https://crates.io/crates/atk-sys
df77240
Source:         %{crates_source}
568909f
568909f
ExclusiveArch:  %{rust_arches}
568909f
568909f
BuildRequires:  rust-packaging
df77240
02b6994
%global _description %{expand:
02b6994
FFI bindings to libatk-1.}
df77240
df77240
%description %{_description}
568909f
568909f
%package        devel
568909f
Summary:        %{summary}
568909f
BuildArch:      noarch
9d8a028
Requires:       pkgconfig(atk) >= 2.18
568909f
df77240
%description    devel %{_description}
df77240
a4ff5c4
This package contains library source intended for building other packages which
a4ff5c4
use the "%{crate}" crate.
df77240
df77240
%files          devel
a4ff5c4
%license LICENSE
7b7f555
%{cargo_registry}/%{crate}-%{version_no_tilde}/
df77240
df77240
%package     -n %{name}+default-devel
df77240
Summary:        %{summary}
df77240
BuildArch:      noarch
df77240
df77240
%description -n %{name}+default-devel %{_description}
568909f
a4ff5c4
This package contains library source intended for building other packages which
a4ff5c4
use the "default" feature of the "%{crate}" crate.
df77240
df77240
%files       -n %{name}+default-devel
7b7f555
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
df77240
df77240
%package     -n %{name}+dox-devel
df77240
Summary:        %{summary}
df77240
BuildArch:      noarch
df77240
df77240
%description -n %{name}+dox-devel %{_description}
df77240
a4ff5c4
This package contains library source intended for building other packages which
a4ff5c4
use the "dox" feature of the "%{crate}" crate.
df77240
df77240
%files       -n %{name}+dox-devel
7b7f555
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
df77240
99b93d3
%package     -n %{name}+v2_30-devel
df77240
Summary:        %{summary}
df77240
BuildArch:      noarch
99b93d3
Requires:       pkgconfig(atk) >= 2.30
df77240
99b93d3
%description -n %{name}+v2_30-devel %{_description}
df77240
a4ff5c4
This package contains library source intended for building other packages which
a4ff5c4
use the "v2_30" feature of the "%{crate}" crate.
df77240
99b93d3
%files       -n %{name}+v2_30-devel
7b7f555
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
7b7f555
7b7f555
%package     -n %{name}+v2_32-devel
7b7f555
Summary:        %{summary}
7b7f555
BuildArch:      noarch
e0d845b
Requires:       pkgconfig(atk) >= 2.32
7b7f555
7b7f555
%description -n %{name}+v2_32-devel %{_description}
7b7f555
a4ff5c4
This package contains library source intended for building other packages which
a4ff5c4
use the "v2_32" feature of the "%{crate}" crate.
7b7f555
7b7f555
%files       -n %{name}+v2_32-devel
7b7f555
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
7b7f555
7b7f555
%package     -n %{name}+v2_34-devel
7b7f555
Summary:        %{summary}
7b7f555
BuildArch:      noarch
e0d845b
Requires:       pkgconfig(atk) >= 2.34
7b7f555
7b7f555
%description -n %{name}+v2_34-devel %{_description}
7b7f555
a4ff5c4
This package contains library source intended for building other packages which
a4ff5c4
use the "v2_34" feature of the "%{crate}" crate.
7b7f555
7b7f555
%files       -n %{name}+v2_34-devel
7b7f555
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
568909f
568909f
%prep
df77240
%autosetup -n %{crate}-%{version_no_tilde} -p1
568909f
%cargo_prep
568909f
02b6994
%generate_buildrequires
02b6994
%cargo_generate_buildrequires
9d8a028
echo 'pkgconfig(atk) >= 2.18'
02b6994
568909f
%build
568909f
%cargo_build
568909f
568909f
%install
568909f
%cargo_install
568909f
568909f
%if %{with check}
568909f
%check
568909f
%cargo_test
568909f
%endif
568909f
568909f
%changelog
6bd4bcd
%autochangelog