Group :: Sistema/Bibliotecas
RPM: liblasi
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define origname libLASi
Name: liblasi
Version: 1.1.0
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
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Sat Mar 29 2008
BuildRequires: chrpath cmake gcc-c++ libpango-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++
%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.
%prep
%setup -q -n %origname-%version
%build
cmake \
-DCMAKE_INSTALL_PREFIX=%buildroot%_prefix \
-DCMAKE_INSTALL_LIBDIR=%buildroot%_libdir
%make_build
%install
%makeinstall
chrpath -d %buildroot%_libdir/*.so.*
mkdir -p %buildroot%pkgdocdir
cp -a AUTHORS ChangeLog NEWS README %buildroot%pkgdocdir/
mv %buildroot%_datadir/lasi%version/examples/ %buildroot%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/ChangeLog
%pkgdocdir/NEWS
%pkgdocdir/README
%files devel
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%_includedir/*
%pkgdocdir/examples/
%changelog
…
Todas as alterações você pod ver aqui
Name: liblasi
Version: 1.1.0
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
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Sat Mar 29 2008
BuildRequires: chrpath cmake gcc-c++ libpango-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++
%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.
%prep
%setup -q -n %origname-%version
%build
cmake \
-DCMAKE_INSTALL_PREFIX=%buildroot%_prefix \
-DCMAKE_INSTALL_LIBDIR=%buildroot%_libdir
%make_build
%install
%makeinstall
chrpath -d %buildroot%_libdir/*.so.*
mkdir -p %buildroot%pkgdocdir
cp -a AUTHORS ChangeLog NEWS README %buildroot%pkgdocdir/
mv %buildroot%_datadir/lasi%version/examples/ %buildroot%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/ChangeLog
%pkgdocdir/NEWS
%pkgdocdir/README
%files devel
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%_includedir/*
%pkgdocdir/examples/
%changelog
…
Todas as alterações você pod ver aqui