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.
344 lines
10 KiB
344 lines
10 KiB
# Generated by rust2rpm 16
|
|
# * Missing testdata
|
|
%bcond_with check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate syntect
|
|
|
|
Name: rust-%{crate}
|
|
Version: 4.5.0
|
|
Release: 2%{?dist}
|
|
Summary: Library for high quality syntax highlighting and code intelligence
|
|
|
|
# Upstream license specification: MIT
|
|
License: MIT
|
|
URL: https://crates.io/crates/syntect
|
|
Source: %{crates_source}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Library for high quality syntax highlighting and code intelligence using
|
|
Sublime Text's grammars.}
|
|
|
|
%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 DESIGN.md
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%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_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+assets-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+assets-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "assets" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+assets-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+bincode-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+bincode-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "bincode" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+bincode-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+default-onig-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+default-onig-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "default-onig" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-onig-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+dump-create-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+dump-create-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "dump-create" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+dump-create-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+dump-create-rs-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+dump-create-rs-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "dump-create-rs" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+dump-create-rs-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+dump-load-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+dump-load-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "dump-load" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+dump-load-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+dump-load-rs-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+dump-load-rs-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "dump-load-rs" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+dump-load-rs-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+flate2-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+flate2-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "flate2" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+flate2-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+fnv-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+fnv-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "fnv" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+fnv-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+html-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+html-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "html" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+html-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+metadata-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+metadata-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "metadata" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+metadata-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+onig-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+onig-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "onig" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+onig-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+parsing-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+parsing-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "parsing" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+parsing-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+regex-onig-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+regex-onig-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "regex-onig" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+regex-onig-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+regex-syntax-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+regex-syntax-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "regex-syntax" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+regex-syntax-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+yaml-load-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+yaml-load-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "yaml-load" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+yaml-load-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+yaml-rust-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+yaml-rust-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "yaml-rust" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+yaml-rust-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Thu Dec 10 2020 Fabio Valentini <decathorpe@gmail.com> - 4.5.0-1
|
|
- Update to version 4.5.0.
|
|
- Fixes RHBZ#1906224
|
|
|
|
* Sat Nov 28 2020 Fabio Valentini <decathorpe@gmail.com> - 4.4.0-2
|
|
- Remove features with missing dependencies (fancy-regex).
|
|
|
|
* Wed Aug 26 2020 Josh Stone <jistone@redhat.com> - 4.4.0-1
|
|
- Update to 4.4.0
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Sat May 23 21:21:40 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 4.2.0-1
|
|
- Update to 4.2.0
|
|
|
|
* Sun May 17 12:48:48 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 4.1.1-2
|
|
- Update plist to 1
|
|
|
|
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 4.1.1-1
|
|
- Update to 4.1.1
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Thu Jan 16 2020 Josh Stone <jistone@redhat.com> - 3.3.0-2
|
|
- Upgrade to criterion 0.3 and plist 0.5
|
|
|
|
* Thu Sep 26 13:15:19 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.0-1
|
|
- Update to 3.3.0
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sat Jun 22 23:11:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2.0-2
|
|
- Regenerate
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2.0-1
|
|
- Update to 3.2.0
|
|
|
|
* Sun Feb 24 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.1.0-1
|
|
- Update to 3.1.0
|
|
|
|
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0.2-3
|
|
- Bump plist to 0.4
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 3.0.2-1
|
|
- Update to 3.0.2
|
|
|
|
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0.1-1
|
|
- Update to 3.0.1
|
|
|
|
* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.0-1
|
|
- Initial package
|