Группа :: Издательство
Пакет: diffpdf
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: diffpdf
Version: 2.1.3
Release: alt2
License: GPLv2
Summary: Visually compare two PDF files
Group: Publishing
Url: http://www.qtrac.eu/diffpdf.html
Source: %name-%version.tar.gz
Patch1: alt-qt5.patch
# Automatically added by buildreq on Tue Oct 11 2011
# optimized out: fontconfig libpoppler3-qt4 libqt4-core libqt4-devel libqt4-gui libqt4-xml libstdc++-devel
BuildRequires: qt5-base-devel libpoppler-qt5-devel qt5-tools
%description
By default the comparison is of the text on each pair of pages, but
comparing the appearance of pages is also supported (for example, if a
diagram is changed or a paragraph reformatted). It is also possible to
compare particular pages or page ranges. For example, if there are two
versions of a PDF file, one with pages 1-12 and the other with pages
1-13 because of an extra page having been added as page 4, they can be
compared by specifying two page ranges, 1-12 for the first and 1-3, 5-13
for the second. This will make DiffPDF compare pages in the pairs (1,
1), (2, 2), (3, 3), (4, 5), (5, 6), and so on, to (12, 13).
%prep
%setup
%patch1 -p1
cat >> README << at at at
Although %name is commandline utility, it uses Qt4 much,
so one need a \$DISPLAY set properly to operate.
You can use %name without real X server hardware via xvfb like this:
$ xvfb-run %name <parameters>
at at at
# XXX Hack out missing cz translation
# sed -i '/_cz/d' resources.qrc
%build
lrelease-qt5 diffpdf.pro
%qmake_qt5
%make
%install
install -D %name %buildroot%_bindir/%name
install -D %name.1 %buildroot%_man1dir/%name.1
%files
%doc README CHANGES
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.1.3
Release: alt2
License: GPLv2
Summary: Visually compare two PDF files
Group: Publishing
Url: http://www.qtrac.eu/diffpdf.html
Source: %name-%version.tar.gz
Patch1: alt-qt5.patch
# Automatically added by buildreq on Tue Oct 11 2011
# optimized out: fontconfig libpoppler3-qt4 libqt4-core libqt4-devel libqt4-gui libqt4-xml libstdc++-devel
BuildRequires: qt5-base-devel libpoppler-qt5-devel qt5-tools
%description
By default the comparison is of the text on each pair of pages, but
comparing the appearance of pages is also supported (for example, if a
diagram is changed or a paragraph reformatted). It is also possible to
compare particular pages or page ranges. For example, if there are two
versions of a PDF file, one with pages 1-12 and the other with pages
1-13 because of an extra page having been added as page 4, they can be
compared by specifying two page ranges, 1-12 for the first and 1-3, 5-13
for the second. This will make DiffPDF compare pages in the pairs (1,
1), (2, 2), (3, 3), (4, 5), (5, 6), and so on, to (12, 13).
%prep
%setup
%patch1 -p1
cat >> README << at at at
Although %name is commandline utility, it uses Qt4 much,
so one need a \$DISPLAY set properly to operate.
You can use %name without real X server hardware via xvfb like this:
$ xvfb-run %name <parameters>
at at at
# XXX Hack out missing cz translation
# sed -i '/_cz/d' resources.qrc
%build
lrelease-qt5 diffpdf.pro
%qmake_qt5
%make
%install
install -D %name %buildroot%_bindir/%name
install -D %name.1 %buildroot%_man1dir/%name.1
%files
%doc README CHANGES
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь