-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtidy.spec
50 lines (34 loc) · 986 Bytes
/
tidy.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
47
48
49
50
Name: tidy
Summary: HTML Tidy with HTML5 support
Version: 5.2.0
Release: 0.1%{?dist}
Group: Applications/Text
License: W3C
URL: http://www.html-tidy.org/
BuildRoot: %{_tmppath}/%{name}-html5-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: https://github.com/htacg/%{name}-html5/archive/%{version}.tar.gz
%description
The granddaddy of HTML tools. Tidy is a console application. It corrects
and cleans up HTML and XML documents by fixing markup errors and
upgrading legacy code to modern standards.
%prep
%setup -qn %{name}-html5-%{version}
%build
%cmake .
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/tidy
%{_mandir}/man1/tidy.1.gz
%{_includedir}/*.h
%{_libdir}/*
%doc README/LICENSE.md
%doc README/README.md
%doc README/RELEASE.html
%changelog
* Fri Oct 05 2016 Hnr Kordewiner <hnr@eilbek.net> - 5.2.0-0.1
- Latest
* Fri May 22 2015 Hnr Kordewiner <hnr@eilbek.net> - 4.9.28-0.1
- First build.