commit babb197ec5ac3fb1d264374f076e296d9e3de702 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:38:11 2024 +0300 import rust-pkg-config-0.3.31-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a24ae2b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pkg-config-0.3.31.crate diff --git a/.rust-pkg-config.metadata b/.rust-pkg-config.metadata new file mode 100644 index 0000000..41d32c7 --- /dev/null +++ b/.rust-pkg-config.metadata @@ -0,0 +1 @@ +223c8b1e7a8fb4703ad7e3a6ee410a6fa1250d38 SOURCES/pkg-config-0.3.31.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..2faf459 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Library to run the pkg-config system tool" + +[requires] +build = ["/usr/bin/pkg-config"] +lib = ["/usr/bin/pkg-config"] + diff --git a/SPECS/rust-pkg-config.spec b/SPECS/rust-pkg-config.spec new file mode 100644 index 0000000..da13946 --- /dev/null +++ b/SPECS/rust-pkg-config.spec @@ -0,0 +1,214 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate pkg-config + +Name: rust-pkg-config +Version: 0.3.31 +Release: %autorelease +Summary: Library to run the pkg-config system tool + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/pkg-config +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: /usr/bin/pkg-config + +%global _description %{expand: +A library to run the pkg-config system tool at build time in order to be +used in Cargo build scripts.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch +Requires: /usr/bin/pkg-config + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.3.31-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Oct 07 2024 Fabio Valentini - 0.3.31-1 +- Update to version 0.3.31; Fixes RHBZ#2314180 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.30-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Feb 14 2024 Fabio Valentini - 0.3.30-1 +- Update to version 0.3.30; Fixes RHBZ#2264154 + +* Tue Jan 30 2024 Fabio Valentini - 0.3.29-1 +- Update to version 0.3.29; Fixes RHBZ#2258825 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.3.28-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 21 2023 Fabio Valentini - 0.3.28-1 +- Update to version 0.3.28; Fixes RHBZ#2255417 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.3.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu May 04 2023 Fabio Valentini - 0.3.27-1 +- Update to version 0.3.27; Fixes RHBZ#2192885 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 0.3.26-1 +- Update to version 0.3.26; Fixes RHBZ#2137771 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Mar 31 2022 Fabio Valentini - 0.3.25-1 +- Update to version 0.3.25; Fixes RHBZ#2070430 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Dec 21 2021 Fabio Valentini - 0.3.24-1 +- Update to version 0.3.24; Fixes RHBZ#2031354 + +* Thu Dec 09 2021 Fabio Valentini - 0.3.23-1 +- Update to version 0.3.23; Fixes RHBZ#2029553 + +* Fri Nov 05 2021 Fabio Valentini - 0.3.22-1 +- Update to version 0.3.22; Fixes RHBZ#2016704 + +* Mon Sep 27 2021 Fabio Valentini - 0.3.20-1 +- Update to version 0.3.20; Fixes RHBZ#2007872 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 09 2020 Fabio Valentini - 0.3.19-1 +- Update to version 0.3.19. +- Fixes RHBZ#1887781 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 Josh Stone - 0.3.18-1 +- Update to 0.3.18 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 19 2019 Josh Stone - 0.3.17-1 +- Update to 0.3.17 + +* Mon Sep 09 11:43:13 CEST 2019 Igor Gnatenko - 0.3.16-1 +- Update to 0.3.16 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.14-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 12:29:16 CEST 2019 Igor Gnatenko - 0.3.14-6 +- Regenerate + +* Sun Jun 09 11:21:52 CEST 2019 Igor Gnatenko - 0.3.14-5 +- Regenerate + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.14-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 26 2018 Igor Gnatenko - 0.3.14-3 +- Adapt to new packaging + +* Sun Oct 07 2018 Igor Gnatenko - 0.3.14-2 +- Run tests in infrastructure + +* Sat Sep 08 2018 Josh Stone - 0.3.14-1 +- Update to 0.3.14 + +* Tue Aug 07 2018 Josh Stone - 0.3.13-1 +- Update to 0.3.13 + +* Thu Jul 19 2018 Igor Gnatenko - 0.3.120.3.12-11 +- Update to 0.3.12 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Apr 24 2018 Igor Gnatenko - 0.3.11-1 +- Update to 0.3.11 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.9-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jan 25 2018 Josh Stone - 0.3.9-5 +- Fix unused_imports warning for AsciiExt (rust 1.23) + +* Mon Jan 08 2018 Igor Gnatenko - 0.3.9-4 +- Rebuild for rust-packaging v5 + +* Thu Nov 30 2017 Igor Gnatenko - 0.3.9-3 +- Bump lazy_static to 1 + +* Wed Jun 14 2017 Igor Gnatenko - 0.3.9-2 +- Port to use rust-packaging + +* Sun Feb 26 2017 Igor Gnatenko - 0.3.9-1 +- Initial package + +## END: Generated by rpmautospec