/
aalib.spec
112 lines (92 loc) · 3.03 KB
/
aalib.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
%define fname %{name}-1.4rc5
%define major 1
%define libname %mklibname aa %{major}
%define devname %mklibname aa -d
Summary: AA (Ascii Art) library
Name: aalib
Version: 1.4.0
Release: 0.rc5.31
License: LGPLv2+
Group: System/Libraries
Url: http://aa-project.sourceforge.net/aalib/
Source0: http://prdownloads.sourceforge.net/aa-project/%{fname}.tar.bz2
Patch0: aalib-info.patch
Patch1: aalib-rpath.patch
Patch2: aalib-1.4-automake18.patch
Patch3: aalib-1.4.0-automake-1.13.patch
Patch4: aalib-1.4.0-texinfo-5.x.patch
BuildRequires: texinfo
BuildRequires: gpm-devel
BuildRequires: pkgconfig(slang)
BuildRequires: pkgconfig(x11)
%description
AA-lib is a low level gfx library just as many other libraries are.
The main difference is that AA-lib does not require graphics device. In
fact, there is no graphical output possible. AA-lib replaces those
old-fashioned output methods with powerful ascii-art renderer. Now my
linux boots with a nice penguin logo at secondary display (yes! Like
Win95 does:) AA-lib API is designed to be similar to other graphics
libraries. Learning a new API would be a piece of cake!
The AA library is needed for GIMP
#----------------------------------------------------------------------------
%package -n %{libname}
Summary: AA (Ascii Art) library
Group: System/Libraries
%description -n %{libname}
AA-lib is a low level gfx library just as many other libraries are.
The main difference is that AA-lib does not require graphics device. In
fact, there is no graphical output possible. AA-lib replaces those
old-fashioned output methods with powerful ascii-art renderer. Now my
linux boots with a nice penguin logo at secondary display (yes! Like
Win95 does:) AA-lib API is designed to be similar to other graphics
libraries. Learning a new API would be a piece of cake!
The AA library is needed for GIMP
%files -n %{libname}
%doc NEWS README
%{_libdir}/libaa.so.%{major}*
#----------------------------------------------------------------------------
%package -n %{devname}
Summary: Header files and libraries for developing apps which will use %{name}
Group: Development/C
Requires: %{libname} = %{EVRD}
Requires: slang-devel
Requires: gpm-devel
Provides: libaa-devel = %{EVRD}
Provides: %{name}-devel = %{EVRD}
Obsoletes: %{_lib}aa-static-devel < 1.4.0-0.rc5.27
%description -n %{devname}
Install this package if you want to develop applications that
will use the %{name} library.
%files -n %{devname}
%doc README ChangeLog
%{_bindir}/aalib-config
%{_libdir}/*.so
%{_infodir}/*.*
%{_includedir}/*
%{_datadir}/aclocal/*
%{_mandir}/man3/*
#----------------------------------------------------------------------------
%package progs
Summary: Tools to %{name}
Group: Development/C
%description progs
AA-lib tools.
%files progs
%doc README
%{_bindir}/aafire
%{_bindir}/aainfo
%{_bindir}/aasavefont
%{_bindir}/aatest
%{_mandir}/man1/*
#----------------------------------------------------------------------------
%prep
%setup -q
%autopatch -p1
%build
export CC=gcc
autoreconf -fi
%configure \
--disable-static
%make_build
%install
%make_install