Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37504612
en ru br
Репозитории ALT

Группа :: Разработка/C++
Пакет: libqxp

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

Name: libqxp
Version: 0.0.1
Release: alt2
Summary: Library for import of QuarkXPress documents
Group: Development/C++

License: MPLv2.0
Url: http://wiki.documentfoundation.org/DLP/Libraries/libqxp
Source: http://dev-www.libreoffice.org/src/%name/%name-%version.tar.xz

BuildRequires: cppunit-devel help2man
# Automatically added by buildreq on Mon Feb 19 2018
# optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 gnu-config libstdc++-devel pkg-config python-base python-modules python3 python3-base xz
BuildRequires: boost-devel-headers doxygen gcc-c++ libicu-devel librevenge-devel python3-dev

%description
libqxp is library providing ability to interpret and import QuarkXPress
document formats into various applications. Currently it only supports
QuarkXPress 3.1-4.1.

%package devel
Summary: Development files for %name
Requires: %name = %version-%release
Group: Development/C++

%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

%package doc
Summary: Documentation of %name API
BuildArch: noarch
Group: Development/C++

%description doc
The %name-doc package contains documentation files for %name.

%package tools
Summary: Tools to transform QuarkXPress documents into other formats
Requires: %name = %version-%release
Group: Office


%description tools
Tools to transform QuarkXPress documents into other formats.
Currently supported: SVG, plain text, raw.

%prep
%setup

%build
%configure --disable-silent-rules --disable-static
%make_build

# generate and install man pages

for tool in raw svg text; do
   LD_LIBRARY_PATH=`pwd`/src/lib/.libs/ \
   help2man -N -S '%name %version' -o qxp2${tool}.1 \
   src/conv/$tool/.libs/qxp2$tool
done

%install
make install DESTDIR=%buildroot
rm -f %buildroot/%_libdir/*.la
# we install API docs directly from build
rm -rf %buildroot/%_docdir/%name

install -m 0755 -d %buildroot/%_mandir/man1
install -m 0644 qxp2*.1 %buildroot/%_mandir/man1

%check
LD_LIBRARY_PATH=%buildroot/%_libdir${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} make check

%files
%doc AUTHORS NEWS README
%_libdir/%{name}*.so.*

%files devel
%doc ChangeLog
%_includedir/%{name}*
%_libdir/%{name}*.so
%_libdir/pkgconfig/%{name}*.pc

%files doc
%doc docs/doxygen/html

%files tools
%_bindir/qxp2raw
%_bindir/qxp2svg
%_bindir/qxp2text
%_mandir/man1/qxp2raw.1*
%_mandir/man1/qxp2svg.1*
%_mandir/man1/qxp2text.1*

%changelog

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

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