Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041360
en ru br
Репозитории ALT
S:0.99-alt23
5.1: 0.99-alt10.beta16
4.1: 0.99-alt10.beta13b
4.0: 0.99-alt6.beta11
3.0: 0.9-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libcaca

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: libcaca
Version: 0.99
Release: alt10.beta16

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

%ifarch x86_64
Provides: libcucul.so.0()(64bit)
Provides: libcucul++.so.0()(64bit)
%else
Provides: libcucul.so.0
Provides: libcucul++.so.0
%endif

# Automatically added by buildreq on Mon Jun 12 2006

BuildRequires: cm-super-fonts-pfb cm-super-fonts-tex-dvips doxygen imake
BuildRequires: imlib2-devel libfreetype-devel libncurses-devel libslang-devel
BuildRequires: libXt-devel pkg-config tetex-dvips tetex-latex xorg-cf-files
BuildRequires: gcc-c++ tetex-latex-unicode libruby-devel ruby tetex-latex-listings

%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.

%package -n ruby-libcaca
Summary: Ruby bindings for libcaca
Group: Graphics
Provides: ruby-module-libcaca = %version-%release
Obsoletes: ruby-module-libcaca

%description -n ruby-libcaca
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 Ruby bindings for libcaca.

%prep
%setup -q

%build

%autoreconf

%configure \
--enable-slang \
--enable-ncurses \
--enable-x11 \
--enable-imlib2 \
--enable-doc \
--x-libraries=%_x11libdir \
--disable-debug

%make_build

%install
cp -a doc/man/man3caca doc/man/man3
%make_install DESTDIR=%buildroot install
#rm -f %buildroot/%_docdir/%name-%version
#mv %buildroot/%_datadir/doc/libcucul-dev %buildroot/%_docdir/%name-%version

rm -f %buildroot%_man3dir/*

%add_strip_skiplist %_libdir/*

%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/img2txt
%_datadir/libcaca/*
%_man1dir/cacademo.1*
%_man1dir/cacafire.1*
%_man1dir/cacaview.1*
%_man1dir/cacaplay.1*
%_man1dir/cacaserver.1*
%_man1dir/img2txt.1*

%files -n ruby-libcaca
%ruby_sitelibdir/*
%ruby_sitearchdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin