summaryrefslogtreecommitdiff
path: root/lychee.spec
blob: 177be0e399e29ae5aba56048552c4cf6ce7fa167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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