Summary: An ASCII art GFX library Summary(fr): Bibliothčque AA (Ascii Art) Summary(pl): Biblioteka GFX sztuki w ASCII Name: aalib Version: 1.2 Release: 14 License: LGPL Group: Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz Patch0: %{name}-xref.patch Patch1: %{name}-info.patch Patch2: %{name}-autoconf.patch URL: http://horac.ta.jcu.cz/aa/aalib/ BuildRequires: gpm-devel BuildRequires: slang-devel BuildRequires: XFree86-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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! %description -l fr La bibliothčque AA est nécessaire pour GIMP. Elle offre la possibilité de travailler dans des contextes graphiques sans affichage. %description -l pl AA-lib jest niskopoziomową biblioteką gfx podobnie jak wiele innych bibliotek. Główna różnica pomiędzy nimi jest taka, że AA-lib nie wymaga trybu graficznego. Właściwie nie ma możliwości wyświetlenia czegoś w trybie graficznym. AA-lib zastępuje te staromodne metody wysoko wydajnym narzędziem do renderowania ascii-art. Teraz mój linux startuje z ładnym logo pingwina na drugim monitorze. AA-lib API jest zaprojektowane tak by być podobnym do innych graficznych bibliotek. Nauka nowego API będzie bułką z masłem! %package devel Summary: Header files libraries for aalib Summary(pl): Pliki nagłówkowe dla aalib Group: Libraries Group(fr): Librairies Group(pl): Biblioteki Requires: %{name} = %{version} %description devel The header files for development of programs using the AAlib. %description -l pl devel Pliki nagłówkowe do pisania programów używających AAlib. %package static Summary: Static aalib library Summary(pl): Statyczna biblioteka aalib Group: Libraries Group(fr): Librairies Group(pl): Biblioteki Requires: %{name}-devel = %{version} %description static Static aalib library. %description -l pl static Statyczna biblioteka aalib. %package progs Summary: AA-lib tools Summary(pl): Narzędzia AA-lib Group: Utilities/Terminal Group(pl): Narzędzia/Terminal Requires: %{name} = %{version} %description progs AA-lib tools. %description -l pl progs Narzędzia AA-lib. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build LDFLAGS="-s"; export LDFLAGS automake autoconf %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \ README NEWS AUTHORS ANNOUNCE ChangeLog %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc {README,NEWS,AUTHORS,ANNOUNCE,ChangeLog}.gz %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %{_includedir}/*.h %{_infodir}/*.info.gz %files static %defattr(644,root,root,755) %{_libdir}/lib*.a %files progs %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/*