Summary: An ASCII art GFX library Summary(pl): Biblioteka GFX sztuki w ASCII Name: aalib Version: 1.2 Release: 11 Copyright: LGPL Group: Libraries Group(pl): Biblioteki Source: ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz Patch0: aalib-xref.patch Patch1: aalib-info.patch Patch2: aalib-autoconf.patch URL: http://horac.ta.jcu.cz/aa/aalib/ BuildRequires: gpm-devel BuildRequires: slang-devel BuildRequires: XFree86-devel BuildRoot: /tmp/%{name}-%{version}-root %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 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(pl): Biblioteki Requires: %{name} = %{version} Prereq: /usr/sbin/fix-info-dir %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(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 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files %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 %attr(644,root,root) %{_libdir}/lib*.a %files progs %attr(755,root,root) %{_bindir}/*