3 %bcond_without static_libs # don't build static library
5 Summary: An ASCII art GFX library
6 Summary(fr.UTF-8): Bibliothèque AA (Ascii Art)
7 Summary(es.UTF-8): Biblioteca ASCII art
8 Summary(pl.UTF-8): Biblioteka graficzna ASCII Art
9 Summary(pt_BR.UTF-8): Uma biblioteca para ASCII art
10 Summary(ru.UTF-8): Библиотека консольной графики (ASCII Art)
11 Summary(uk.UTF-8): Бібліотека консольної графіки (ASCII Art)
16 Release: 0.%{_rc}.%{_rel}
20 Source0: http://dl.sourceforge.net/aa-project/%{name}-%{version}%{_rc}.tar.gz
21 # Source0-md5: 9801095c42bba12edebd1902bcf0a990
22 Source1: %{name}-config.1
23 Patch0: %{name}-info.patch
24 Patch1: %{name}-debian_man.patch
25 Patch2: %{name}-am18.patch
26 URL: http://aa-project.sourceforge.net/aalib/
27 BuildRequires: autoconf
28 BuildRequires: automake
29 BuildRequires: gpm-devel
30 BuildRequires: libtool
31 BuildRequires: slang-devel >= 2.0.0
32 BuildRequires: texinfo
33 BuildRequires: xorg-lib-libX11-devel
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 AA-lib is a low level gfx library just as many other libraries are.
38 The main difference is that AA-lib does not require graphics device.
39 In fact, there is no graphical output possible. AA-lib replaces those
40 old-fashioned output methods with powerful ascii-art renderer. Now my
41 linux boots with a nice penguin logo at secondary display (yes! Like
42 Win95 does:) AA-lib API is designed to be similar to other graphics
43 libraries. Learning a new API would be a piece of cake!
45 %description -l fr.UTF-8
46 La bibliothèque AA est nécessaire pour GIMP. Elle offre la possibilité
47 de travailler dans des contextes graphiques sans affichage.
49 %description -l pl.UTF-8
50 AA-lib jest niskopoziomową biblioteką graficzną podobnie jak wiele
51 innych bibliotek. Główna różnica pomiędzy nimi jest taka, że AA-lib
52 nie wymaga trybu graficznego. Właściwie nie ma możliwości wyświetlenia
53 czegoś w trybie graficznym. AA-lib zastępuje te staromodne metody
54 wysoko wydajnym narzędziem do renderowania ascii-art. Teraz mój Linux
55 startuje z ładnym logo pingwina na drugim monitorze. AA-lib API jest
56 zaprojektowane tak by być podobnym do innych graficznych bibliotek.
57 Nauka nowego API będzie bułką z masłem!
59 %description -l pt_BR.UTF-8
60 Uma biblioteca para trabalhar com ASCII art.
62 %description -l ru.UTF-8
63 AA-lib - это низкоуровневая графическая библиотека. Ее основное
64 отличие от других графических библиотек в том, что AA-lib не требует
65 графического устройства. На самом деле, графический (в обычном смысле
66 этого слова) вывод и невозможен. AA-lib переводит графику в так
69 %description -l uk.UTF-8
70 AA-lib - це низькорівнева графічна бібліотека. Головна відмінність її
71 від інших графічних бібліотек в тому, о AA-lib не потребує графічного
72 пристрою. Насправді, графічний (в звичному розумінні цього слова)
73 вивід і неможливий. AA-lib перетворює графіку в так званий ASCII-Art.
76 Summary: Header files and libraries for aalib
77 Summary(pl.UTF-8): Pliki nagłówkowe dla aalib
78 Summary(ru.UTF-8): Хедеры для построения программ с AAlib
79 Summary(uk.UTF-8): Хедери для побудови програм з AAlib
80 Group: Development/Libraries
81 Requires: %{name} = %{epoch}:%{version}-%{release}
84 Requires: xorg-lib-libX11-devel
87 The header files for development of programs using the AAlib.
89 %description devel -l pl.UTF-8
90 Pliki nagłówkowe do pisania programów używających AAlib.
92 %description devel -l ru.UTF-8
93 Хедеры для построения программ с AAlib.
95 %description devel -l uk.UTF-8
96 Хедери для побудови програм з AAlib.
99 Summary: Static aalib library
100 Summary(pl.UTF-8): Statyczna biblioteka aalib
101 Summary(ru.UTF-8): Статическая библиотека для построения программ с aalib
102 Summary(uk.UTF-8): Статична бібліотека для побудови програм з aalib
103 Group: Development/Libraries
104 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
107 Static aalib library.
109 %description static -l pl.UTF-8
110 Statyczna biblioteka aalib.
112 %description static -l ru.UTF-8
113 Статическая библиотека для программирования с aalib.
115 %description static -l uk.UTF-8
116 Статична бібліотека для програмування з aalib.
119 Summary: AA-lib tools
120 Summary(pl.UTF-8): Narzędzia AA-lib
121 Summary(ru.UTF-8): Утилиты для AA-lib
122 Summary(uk.UTF-8): Утиліти для AA-lib
123 Group: Applications/Terminal
124 Requires: %{name} = %{epoch}:%{version}-%{release}
129 %description progs -l pl.UTF-8
132 %description progs -l ru.UTF-8
135 %description progs -l uk.UTF-8
139 %setup -q -n %{name}-1.4.0
144 # don't include aclocal.m4 from configure.in
145 tail -n +2 configure.in > c.tmp
146 mv -f c.tmp configure.in
154 %{!?with_static_libs:--disable-static}
158 rm -rf $RPM_BUILD_ROOT
161 DESTDIR=$RPM_BUILD_ROOT
163 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/aalib-config.1
166 rm -rf $RPM_BUILD_ROOT
168 %post -p /sbin/ldconfig
169 %postun -p /sbin/ldconfig
171 %post devel -p /sbin/postshell
172 -/usr/sbin/fix-info-dir -c %{_infodir}
174 %postun devel -p /sbin/postshell
175 -/usr/sbin/fix-info-dir -c %{_infodir}
178 %defattr(644,root,root,755)
179 %doc README NEWS AUTHORS ANNOUNCE ChangeLog
180 %attr(755,root,root) %{_libdir}/lib*.so.*.*
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_bindir}/aalib-config
185 %attr(755,root,root) %{_libdir}/lib*.so
189 %{_mandir}/man1/aalib-config.1*
193 %if %{with static_libs}
195 %defattr(644,root,root,755)
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_bindir}/aafire
202 %attr(755,root,root) %{_bindir}/aainfo
203 %attr(755,root,root) %{_bindir}/aasavefont
204 %attr(755,root,root) %{_bindir}/aatest
205 %{_mandir}/man1/aafire.1*