-
Notifications
You must be signed in to change notification settings - Fork 7
/
hoedown.spec
68 lines (42 loc) · 1.32 KB
/
hoedown.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name: hoedown
Version: 3.0.3
Release: 1%{?dist}
Summary: Standards compliant, fast, secure markdown processing library in C
License: MIT
URL: https://github.com/hoedown/hoedown
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc
%description
Hoedown is a revived fork of Sundown, the Markdown parser based on the original code of the Upskirt library by Natacha Porté.
%package static
Summary: Static standards compliant, fast, secure markdown processing library in C
%description static
TBD
%package devel
Summary: Devel files
%description devel
TBD
%prep
%setup -q
%build
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" all
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} \
BINDIR=%{_bindir} LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}
%files
%license LICENSE
%doc README.md
%{_bindir}/hoedown
%{_bindir}/smartypants
%{_libdir}/libhoedown.so.3
%files static
%{_libdir}/libhoedown.a
%files devel
%{_libdir}/libhoedown.so
%{_includedir}/hoedown
%changelog
* Tue May 26 2015 Josh Stone <[email protected]> - 3.0.3-1
- Update to 3.0.3
* Tue Apr 28 2015 Fabian Deutsch <[email protected]> - 3.0.2-1
- Initial package