diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-01 09:08:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-01 09:08:56 +0000 |
commit | 6f0ea0b326f5a478491c265096b6a2751d7b0136 (patch) | |
tree | ea906aacdd87c6d52ccb735db23d1b955033816d | |
parent | 4549efc7be9f5ce975af9c29a76773bbedb80bc0 (diff) |
automatic import of lycheeopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | lychee.spec | 35 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 37 insertions, 0 deletions
@@ -0,0 +1 @@ +/lychee-0.13.0.tar.gz diff --git a/lychee.spec b/lychee.spec new file mode 100644 index 0000000..177be0e --- /dev/null +++ b/lychee.spec @@ -0,0 +1,35 @@ +Name: lychee +Summary: A daemon that handles the userspace side of the LIO TCM-User backstore +License: Apache License, Version 2.0 or MIT license +Version: 0.13.0 +Release: 1 +URL: https://github.com/lycheeverse/lychee + +Source: %{name}-%{version}.tar.gz + +BuildRequires: make +BuildRequires: cargo +BuildRequires: openssl-devel + + +%description +Fast, async, stream-based link checker written in Rust. Finds broken URLs and mail addresses inside Markdown, HTML, reStructuredText, websites and more! + +%prep +%setup -n %{name}-%{version} + +%build +%{__make} build + +%install +%{__make} install +mkdir -p %{buildroot}/%{_bindir} +install -m 0755 target/release/%{name} %{buildroot}%{_bindir}/%{name} + +%files +%{_bindir}/%{name} + + +%changelog +* Tue Jun 01 2023 Tom_zc <tom_toworld@163.com> - 0.13.0-1 +- init package @@ -0,0 +1 @@ +d3ca1aa34b05d62b7e83f7135be242bc lychee-0.13.0.tar.gz |