Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047305
en ru br
Репозитории ALT
S:1.1.3-alt3
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 _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%define origname libLASi

Name: liblasi
Version: 1.1.3
Release: alt3

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(pre): rpm-macros-cmake
BuildRequires: cmake doxygen gcc-c++ libpango-devel

BuildRequires: 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 = %EVR

%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_CXX_STANDARD=14 \
-DCMAKE_INSTALL_PREFIX=%_prefix \
-DCMAKE_INSTALL_LIBDIR=%_libdir \
%nil

%cmake_build

%install
%cmakeinstall_std

mkdir -p %buildroot%pkgdocdir
cp -a AUTHORS NEWS README %buildroot%pkgdocdir/
mv %buildroot%_datadir/lasi%version/examples/ %buildroot%pkgdocdir/

rm -rf %buildroot%_docdir/%origname-%version/html

%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