-
Notifications
You must be signed in to change notification settings - Fork 13
/
libansilove.spec
54 lines (42 loc) · 1.39 KB
/
libansilove.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
Name: libansilove
Version: 1.4.1
Release: 1%{?dist}
Summary: Library for converting ANSI, ASCII, and other formats to PNG
License: BSD-2-Clause
URL: https://github.com/ansilove/libansilove
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gd-devel
BuildRequires: cmake
BuildRequires: gcc
%description
Library for converting ANSI, ASCII, and other formats to PNG, allowing
to render ANSI and artscene-related file formats into PNG images, and
supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF),
iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats.
It creates size optimized 4-bit PNG files and supports SAUCE (Standard
Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts
(including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup
%build
%cmake .
%cmake_build
%install
%cmake_install
%check
%files
%license LICENSE
%doc README.md
%{_libdir}/%{name}.so.1*
%files devel
%{_libdir}/%{name}.so
%{_libdir}/%{name}-static.a
%{_includedir}/ansilove.h
%{_mandir}/man3/%{name}.3*
%{_mandir}/man3/ansilove_*.3*