summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-01 09:08:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-01 09:08:56 +0000
commit6f0ea0b326f5a478491c265096b6a2751d7b0136 (patch)
treeea906aacdd87c6d52ccb735db23d1b955033816d
parent4549efc7be9f5ce975af9c29a76773bbedb80bc0 (diff)
automatic import of lycheeopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--lychee.spec35
-rw-r--r--sources1
3 files changed, 37 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..96ebb2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
new file mode 100644
index 0000000..2d29e10
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d3ca1aa34b05d62b7e83f7135be242bc lychee-0.13.0.tar.gz