|
|
|
# Generated by rust2rpm-9-1.fc31
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate clang-sys
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.28.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Rust bindings for libclang
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://crates.io/crates/clang-sys
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Exclude unneeded files
|
|
|
|
# * Update glob to 0.3, https://github.com/KyleMayes/clang-sys/pull/90
|
|
|
|
Patch0: clang-sys-fix-metadata.diff
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(glob/default) >= 0.3.0 with crate(glob/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.39 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: clang-devel >= 3.5
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
Rust bindings for libclang.
|
|
|
|
|
|
|
|
%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.txt
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 3.5
|
|
|
|
|
|
|
|
%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}+clang_3_5-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 3.5
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_5-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_3_5" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_3_5-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_3_6-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_6-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_3_6" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_3_6-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_3_7-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_7-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_3_7" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_3_7-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_3_8-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_8-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_3_8" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_3_8-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_3_9-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_9-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_3_9" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_3_9-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_4_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_4_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_4_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_4_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_5_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_5_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_5_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_5_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_6_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_6_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_6_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_6_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_7_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_7_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_7_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_7_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+clang_8_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+clang_8_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "clang_8_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+clang_8_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_6-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 3.6
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_6-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_3_6" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_6-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_7-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 3.7
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_7-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_3_7" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_7-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_8-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 3.8
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_8-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_3_8" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_8-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_9-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 3.9
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_9-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_3_9" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_9-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_4_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 4.0
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_4_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_4_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_4_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_5_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 5.0
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_5_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_5_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_5_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_6_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 6.0
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_6_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_6_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_6_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_7_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 7.0
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_7_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_7_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_7_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_8_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: clang-devel >= 8.0
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_8_0-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "gte_clang_8_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_8_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+libloading-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+libloading-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "libloading" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+libloading-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+runtime-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+runtime-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "runtime" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+runtime-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+static-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+static-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "static" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+static-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
|
|
|
|
* Tue May 07 14:21:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.0-2
|
|
|
|
- Update glob to 0.3
|
|
|
|
|
|
|
|
* Sat Mar 16 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.28.0-1
|
|
|
|
- Update to 0.28.0 (#1678018)
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 22 2019 Josh Stone <jistone@redhat.com> - 0.27.0-1
|
|
|
|
- Update to 0.27.0
|
|
|
|
|
|
|
|
* Mon Jan 07 2019 Josh Stone <jistone@redhat.com> - 0.26.4-1
|
|
|
|
- Update to 0.26.4
|
|
|
|
|
|
|
|
* Wed Nov 14 2018 Josh Stone <jistone@redhat.com> - 0.26.3-1
|
|
|
|
- Update to 0.26.3
|
|
|
|
|
|
|
|
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26.2-1
|
|
|
|
- Update to 0.26.2
|
|
|
|
|
|
|
|
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.26.1-1
|
|
|
|
- Update to 0.26.1
|
|
|
|
|
|
|
|
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.26.0-1
|
|
|
|
- Update to 0.26.0
|
|
|
|
|
|
|
|
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.24.0-1
|
|
|
|
- Initial package
|