summaryrefslogtreecommitdiff
path: root/lychee.spec
diff options
context:
space:
mode:
Diffstat (limited to 'lychee.spec')
-rw-r--r--lychee.spec35
1 files changed, 35 insertions, 0 deletions
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