This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
vale.spec
41 lines (35 loc) · 1.29 KB
/
vale.spec
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
36
37
38
39
40
41
Name: vale
Version: 2.28.2
Release: 1%{?dist}
Summary: A syntax-aware, command-line linter for prose
License: MIT
URL: https://github.com/errata-ai/vale
Source0: https://github.com/errata-ai/%{name}/releases/download/v%{version}/%{name}_%{version}_Linux_64-bit.tar.gz
# Workaround for Golang missing build IDs
# https://github.com/tpokorra/lbs-mono-fedora/issues/3#issuecomment-219857688
%undefine _missing_build_ids_terminate_build
�scription
Vale is a CLI linter for collaborative writing.
Vale enables you to parse a variety of
markup-formatted files, such as Markdown,
AsciiDoc, reStructuredText, HTML, or XML,
and impose proper spelling or style guide.
%prep
%setup -qc
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
install -m 0755 %{name} ${RPM_BUILD_ROOT}/%{_bindir}/%{name}
# Workaround for rpmlint issue script-without-shebang
# https://fedoraproject.org/wiki/Common_Rpmlint_issues#script-without-shebang
# Also fixing spurious-executable-perm on README.md
chmod -x LICENSE README.md
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog
* Fri Jul 15 2022 - [email protected] - 2.20.0-1
- Modify RPM specfile to prepare for Fedora packages submission
* Fri May 13 2022 Initial build
- Create an initial RPM spec