Blame rust-wayland-protocols.spec

ad5a27c
# Generated by rust2rpm 16
1f88731
%bcond_without check
1f88731
%global debug_package %{nil}
1f88731
1f88731
%global crate wayland-protocols
1f88731
1f88731
Name:           rust-%{crate}
ad5a27c
Version:        0.28.3
f18c7c2
Release:        1%{?dist}
1f88731
Summary:        Generated API for the officials wayland protocol extensions
1f88731
1f88731
# Upstream license specification: MIT
1f88731
License:        MIT
1f88731
URL:            https://crates.io/crates/wayland-protocols
1f88731
Source:         %{crates_source}
1f88731
1f88731
ExclusiveArch:  %{rust_arches}
1f88731
%if %{__cargo_skip_build}
1f88731
BuildArch:      noarch
1f88731
%endif
1f88731
1f88731
BuildRequires:  rust-packaging
1f88731
1f88731
%global _description %{expand:
1f88731
Generated API for the officials wayland protocol extensions.}
1f88731
1f88731
%description %{_description}
1f88731
1f88731
%package        devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description    devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "%{crate}" crate.
1f88731
1f88731
%files          devel
1f88731
%license LICENSE.txt
1f88731
%doc README.md
1f88731
%{cargo_registry}/%{crate}-%{version_no_tilde}/
1f88731
1f88731
%package     -n %{name}+default-devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description -n %{name}+default-devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "default" feature of "%{crate}" crate.
1f88731
1f88731
%files       -n %{name}+default-devel
1f88731
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1f88731
1f88731
%package     -n %{name}+client-devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description -n %{name}+client-devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "client" feature of "%{crate}" crate.
1f88731
1f88731
%files       -n %{name}+client-devel
1f88731
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1f88731
1f88731
%package     -n %{name}+server-devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description -n %{name}+server-devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "server" feature of "%{crate}" crate.
1f88731
1f88731
%files       -n %{name}+server-devel
1f88731
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1f88731
1f88731
%package     -n %{name}+unstable_protocols-devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description -n %{name}+unstable_protocols-devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "unstable_protocols" feature of "%{crate}" crate.
1f88731
1f88731
%files       -n %{name}+unstable_protocols-devel
1f88731
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1f88731
1f88731
%package     -n %{name}+wayland-client-devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description -n %{name}+wayland-client-devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "wayland-client" feature of "%{crate}" crate.
1f88731
1f88731
%files       -n %{name}+wayland-client-devel
1f88731
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1f88731
1f88731
%package     -n %{name}+wayland-server-devel
1f88731
Summary:        %{summary}
1f88731
BuildArch:      noarch
1f88731
1f88731
%description -n %{name}+wayland-server-devel %{_description}
1f88731
1f88731
This package contains library source intended for building other packages
1f88731
which use "wayland-server" feature of "%{crate}" crate.
1f88731
1f88731
%files       -n %{name}+wayland-server-devel
1f88731
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1f88731
1f88731
%prep
1f88731
%autosetup -n %{crate}-%{version_no_tilde} -p1
1f88731
%cargo_prep
1f88731
1f88731
%generate_buildrequires
1f88731
%cargo_generate_buildrequires
1f88731
1f88731
%build
1f88731
%cargo_build
1f88731
1f88731
%install
1f88731
%cargo_install
1f88731
1f88731
%if %{with check}
1f88731
%check
1f88731
%cargo_test
1f88731
%endif
1f88731
1f88731
%changelog
ad5a27c
* Thu Dec 31 2020 Fabio Valentini <decathorpe@gmail.com> - 0.28.3-1
ad5a27c
- Update to version 0.28.3.
ad5a27c
adb59a5
* Mon Nov 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0.28.2-1
adb59a5
- Update to version 0.28.2.
adb59a5
- Fixes RHBZ#1895847
adb59a5
cd46e8a
* Thu Oct 15 2020 Fabio Valentini <decathorpe@gmail.com> - 0.28.1-1
cd46e8a
- Update to version 0.28.1.
cd46e8a
f18c7c2
* Sun Oct 04 2020 Fabio Valentini <decathorpe@gmail.com> - 0.28.0-1
f18c7c2
- Update to version 0.28.0.
f18c7c2
b27130f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.6-2
b27130f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b27130f
1f88731
* Fri Jun 26 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.26.6-1
1f88731
- Update to 0.26.6
1f88731
- Package license and docs
1f88731
1f88731
* Fri May 22 15:12:43 PDT 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.26.5-1
1f88731
- Initial package