Репозиторий Sisyphus
Последнее обновление: 12 ноября 2019 | Пакетов: 17528 | Посещений: 15704580
en ru br
Репозитории ALT
S:1.1.3-alt2
5.1: 1.1.0-alt3
4.1: 1.1.0-alt2
4.0: 1.0.6-alt1
www.altlinux.org/Changes

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

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

%define origname libLASi

Name: liblasi
Version: 1.1.3
Release: alt2

Summary: C++ stream output interface for creating Unicode PostScript documents
License: LGPL
Group: System/Libraries

Url: http://www.unifont.org/lasi
Source: %origname-%version.tar.gz
Source100: %name.watch
Patch0: libLASi-link_gobject2.patch
Patch1: libLASi-do_not_build_examples.patch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Mon Apr 28 2014

# optimized out: cmake-modules fontconfig fontconfig-devel glib2-devel libcloog-isl4 libfreetype-devel libstdc++-devel pkg-config
BuildRequires: cmake doxygen gcc-c++ libpango-devel

BuildRequires: chrpath libharfbuzz-devel libexpat-devel

%define pkgdocdir %_docdir/%name-%version

%description
libLASi is a library written by Larry Siden  that provides
a C++ stream output interface (with operator <<) for creating
Postscript documents that can contain characters from any of the
scripts and symbol blocks supported in Unicode  and by Owen
Taylor's Pango layout engine.

The library accomodates right-to-left scripts such as Arabic
and Hebrew as easily as left-to-right scripts. Indic and
Indic-derived Complex Text Layout (CTL) scripts, such as
Devanagari, Thai, Lao, and Tibetan are supported to the extent
provided by Pango and by the OpenType fonts installed on your
system. All of this is provided without need for any special
configuration or layout calculation on the programmer's part.

Although the capability to produce Unicode-based multilingual
Postscript documents exists in large Open Source application
framework libraries such as GTK+, QT, and KDE, libLASi was
designed for projects which require the ability to produce
Postscript independent of any one application framework.

%package devel
Summary: Development part of libLASi
License: GPL
Group: Development/C++
Requires: %name = %version-%release

%description devel
libLASi is a library that provides a C++ stream output interface
for creating Postscript documents.

This is the development environment to compile libLASi apps.

%package doc
Summary: Documentation for libLASi
License: GPL
Group: Documentation
BuildArch: noarch

%description doc
libLASi is a library that provides a C++ stream output interface
for creating Postscript documents.

This is user and developer documentation for libLASi.

%prep
%setup -n %origname-%version
%patch0 -p1
%patch1 -p1

%build
cmake \
-DCMAKE_INSTALL_PREFIX=%_prefix \
-DCMAKE_INSTALL_LIBDIR=%_libdir
%make_build

%install
%makeinstall_std
chrpath -d %buildroot%_libdir/*.so.*
mkdir -p %buildroot%pkgdocdir
cp -a AUTHORS NEWS README %buildroot%pkgdocdir/
mv %buildroot%_datadir/lasi%version/examples/ %buildroot%pkgdocdir/

%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/NEWS
%pkgdocdir/README

%files devel
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%_includedir/*
%pkgdocdir/examples/

%files doc
%doc doc/*

%changelog

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

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