ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libcaca
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libcaca
Version: 0.99
Release: alt6.beta11
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Summary: Text mode graphics library
Group: System/Libraries
License: DWTFYWTPL
Url: http://sam.zoy.org/projects/libcaca/
Source: http://sam.zoy.org/projects/libcaca/%name-%version.tar.bz2
# Automatically added by buildreq on Mon Jun 12 2006
BuildRequires: cm-super-fonts-pfb cm-super-fonts-tex-dvips doxygen imake imlib2-devel libfreetype-devel libncurses-devel libslang-devel libXt-devel pkg-config tetex-dvips tetex-latex xorg-cf-files gcc-c++
%description
libcaca is the Colour AsCii Art library. It provides high level functions
for colour text drawing, simple primitives for line, polygon and ellipse
drawing, as well as powerful image to text conversion routines.
%package devel
Summary: Development files for libcaca
Group: Development/C
Requires: %name = %version-%release
%description devel
libcaca is the Colour AsCii Art library. It provides high level functions
for colour text drawing, simple primitives for line, polygon and ellipse
drawing, as well as powerful image to text conversion routines.
This package contains the header files and static libraries needed to
compile applications or shared objects that use libcaca.
%package -n caca-utils
Summary: Text mode graphics utilities
Group: Graphics
%description -n caca-utils
This package contains utilities and demonstration programs for libcaca, the
Colour AsCii Art library.
cacaview is a simple image viewer for the terminal. It opens most image
formats such as JPEG, PNG, GIF etc. and renders them on the terminal using
ASCII art. The user can zoom and scroll the image, set the dithering method
or enable anti-aliasing.
cacaball is a tiny graphic program that renders animated ASCII metaballs on
the screen, cacafire is a port of AALib's aafire and displays burning ASCII
art flames, cacamoir animates colourful moire circles and cacaplas displays
an old school plasma effect.
cacademo is a simple application that shows the libcaca rendering features
such as line and ellipses drawing, triangle filling and sprite blitting.
%prep
%setup -q
%build
%configure \
--enable-slang \
--enable-ncurses \
--enable-x11 \
--enable-imlib2 \
--enable-doc \
--x-libraries=%_x11libdir
%make_build
%install
cp -a doc/man/man3caca doc/man/man3
%make_install DESTDIR=%buildroot install
mv %buildroot/%_datadir/doc/libcucul-dev %buildroot/%_docdir/%name-%version
rm -f %buildroot%_man3dir/*
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_bindir/caca-config
%_includedir/*
%_docdir/%name-%version
%_man1dir/caca-config.1*
%_pkgconfigdir/*
%files -n caca-utils
%_bindir/cacademo
%_bindir/cacafire
%_bindir/cacaview
%_bindir/cacaplay
%_bindir/cacaserver
%_bindir/img2irc
%_datadir/libcaca/*
%_man1dir/cacademo.1*
%_man1dir/cacafire.1*
%_man1dir/cacaview.1*
%_man1dir/cacaplay.1*
%_man1dir/cacaserver.1*
%_man1dir/img2irc.1*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.99
Release: alt6.beta11
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Summary: Text mode graphics library
Group: System/Libraries
License: DWTFYWTPL
Url: http://sam.zoy.org/projects/libcaca/
Source: http://sam.zoy.org/projects/libcaca/%name-%version.tar.bz2
# Automatically added by buildreq on Mon Jun 12 2006
BuildRequires: cm-super-fonts-pfb cm-super-fonts-tex-dvips doxygen imake imlib2-devel libfreetype-devel libncurses-devel libslang-devel libXt-devel pkg-config tetex-dvips tetex-latex xorg-cf-files gcc-c++
%description
libcaca is the Colour AsCii Art library. It provides high level functions
for colour text drawing, simple primitives for line, polygon and ellipse
drawing, as well as powerful image to text conversion routines.
%package devel
Summary: Development files for libcaca
Group: Development/C
Requires: %name = %version-%release
%description devel
libcaca is the Colour AsCii Art library. It provides high level functions
for colour text drawing, simple primitives for line, polygon and ellipse
drawing, as well as powerful image to text conversion routines.
This package contains the header files and static libraries needed to
compile applications or shared objects that use libcaca.
%package -n caca-utils
Summary: Text mode graphics utilities
Group: Graphics
%description -n caca-utils
This package contains utilities and demonstration programs for libcaca, the
Colour AsCii Art library.
cacaview is a simple image viewer for the terminal. It opens most image
formats such as JPEG, PNG, GIF etc. and renders them on the terminal using
ASCII art. The user can zoom and scroll the image, set the dithering method
or enable anti-aliasing.
cacaball is a tiny graphic program that renders animated ASCII metaballs on
the screen, cacafire is a port of AALib's aafire and displays burning ASCII
art flames, cacamoir animates colourful moire circles and cacaplas displays
an old school plasma effect.
cacademo is a simple application that shows the libcaca rendering features
such as line and ellipses drawing, triangle filling and sprite blitting.
%prep
%setup -q
%build
%configure \
--enable-slang \
--enable-ncurses \
--enable-x11 \
--enable-imlib2 \
--enable-doc \
--x-libraries=%_x11libdir
%make_build
%install
cp -a doc/man/man3caca doc/man/man3
%make_install DESTDIR=%buildroot install
mv %buildroot/%_datadir/doc/libcucul-dev %buildroot/%_docdir/%name-%version
rm -f %buildroot%_man3dir/*
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_bindir/caca-config
%_includedir/*
%_docdir/%name-%version
%_man1dir/caca-config.1*
%_pkgconfigdir/*
%files -n caca-utils
%_bindir/cacademo
%_bindir/cacafire
%_bindir/cacaview
%_bindir/cacaplay
%_bindir/cacaserver
%_bindir/img2irc
%_datadir/libcaca/*
%_man1dir/cacademo.1*
%_man1dir/cacafire.1*
%_man1dir/cacaview.1*
%_man1dir/cacaplay.1*
%_man1dir/cacaserver.1*
%_man1dir/img2irc.1*
%changelog
…
Todas as alterações você pod ver aqui