You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-cmake/rust-cmake.spec

134 lines
3.6 KiB

6 years ago
# Generated by rust2rpm-9-1.fc30
%bcond_without check
%global debug_package %{nil}
%global crate cmake
Name: rust-%{crate}
6 years ago
Version: 0.1.40
Release: 1%{?dist}
Summary: Build dependency for running `cmake` to build a native library
6 years ago
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/cmake
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(cc/default) >= 1.0.32 with crate(cc/default) < 2.0.0)
BuildRequires: %{_bindir}/cmake
%global _description \
A build dependency for running `cmake` to build a native library.
%description %{_description}
%package devel
Summary: %{summary}
Requires: %{_bindir}/cmake
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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
6 years ago
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.1.40-1
- Update to 0.1.40
6 years ago
* Thu May 09 2019 Josh Stone <jistone@redhat.com> - 0.1.39-1
- Update to 0.1.39
6 years ago
* Mon Apr 08 2019 Josh Stone <jistone@redhat.com> - 0.1.38-1
- Update to 0.1.38
6 years ago
* Thu Mar 28 2019 Josh Stone <jistone@redhat.com> - 0.1.37-1
- Update to 0.1.37
* Tue Mar 26 2019 Josh Stone <jistone@redhat.com> - 0.1.36-1
- Update to 0.1.36
- Adapt to new packaging
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6 years ago
* Mon Oct 01 2018 Josh Stone <jistone@redhat.com> - 0.1.35-1
- Update to 0.1.35
6 years ago
* Mon Sep 17 2018 Josh Stone <jistone@redhat.com> - 0.1.34-1
- Update to 0.1.34
6 years ago
* Thu Aug 30 2018 Josh Stone <jistone@redhat.com> - 0.1.33-1
- Update to 0.1.33
7 years ago
* Sat Aug 04 2018 Josh Stone <jistone@redhat.com> - 0.1.32-1
- Update to 0.1.32
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7 years ago
* Fri May 04 2018 Josh Stone <jistone@redhat.com> - 0.1.31-1
- Update to 0.1.31
* Fri Apr 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.30-1
- Update to 0.1.30
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.29-2
- Rebuild for rust-packaging v5
* Sat Dec 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.29-1
- Update to 0.1.29
* Sat Nov 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.28-1
- Update to 0.1.28
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.24-1
- Update to 0.1.24
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.21-2
- Port to use rust-packaging
* Tue Feb 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.21-1
- Update to 0.1.21
* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.20-1
- Initial package