diff options
-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 |