Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 5d05d5141a
commit 8c212038d3
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/minidom-0.15.0.crate

@ -0,0 +1,70 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate minidom
Name: rust-minidom
Version: 0.15.0
Release: %autorelease
Summary: Small, simple DOM implementation on top of quick-xml, targeting the subset of XML useful for XMPP
License: MPL-2.0
URL: https://crates.io/crates/minidom
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Small, simple DOM implementation on top of quick-xml, targeting the subset of
XML useful for XMPP.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%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_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (minidom-0.15.0.crate) = 96a148321dd788c35a9047f6f3d2c46563343ca24fdee930771493cbe2e5154058bfa2035ead316b1edcd3ba45eb789a0438de7b97a4aba3d97297d820f02b55
Loading…
Cancel
Save