forked from m-czernek/vale-spec
-
Notifications
You must be signed in to change notification settings - Fork 2
/
vale.spec
46 lines (39 loc) · 1.46 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
42
43
44
45
46
Name: vale
Version: 3.9.1
Release: 2%{?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
%description
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 preferred spelling or a style guide.
# Disable generation of debuginfo package
%global debug_package %{nil}
%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
* Mon Nov 18 2024 - [email protected] - 3.9.1-1
* Mon Aug 26 2024 - [email protected] - 3.7.1-1
* 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