update to 2.1.3.1 [release 2.1.3.1-1mamba;Thu Aug 02 2018]
This commit is contained in:
parent
efd0fbf14f
commit
312744d5a0
44
diffpdf.spec
44
diffpdf.spec
@ -1,50 +1,41 @@
|
|||||||
Name: diffpdf
|
Name: diffpdf
|
||||||
Version: 1.1.4
|
Version: 2.1.3.1
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: PDF files comparator
|
Summary: PDF files comparator
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.qtrac.eu/diffpdf.html
|
URL: http://www.qtrac.eu/diffpdf.html
|
||||||
Source: http://www.qtrac.eu/diffpdf-%{version}.tar.gz
|
Source: https://gitlab.com/eang/diffpdf.git/v%{version}/diffpdf-%{version}.tar.bz2
|
||||||
Source1: diffpdf.desktop
|
Source1: diffpdf.desktop
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libpoppler-qt4-devel
|
BuildRequires: libpoppler-devel
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libpoppler-qt5-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DiffPDF can compare two PDF files.
|
DiffPDF can compare two PDF files.
|
||||||
It offers two comparison modes: Text and Appearance.
|
It offers two comparison modes: Text and Appearance.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{_qt4_qmake}
|
%cmake
|
||||||
%make
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -D -m 755 diffpdf %{buildroot}%{_bindir}/diffpdf
|
%cmake_install
|
||||||
|
|
||||||
# generate and install icons
|
|
||||||
for f in 16 32; do
|
|
||||||
install -d %{buildroot}%{_datadir}/icons/hicolor/${f}x${f}/apps
|
|
||||||
convert images/icon.png -size ${f}x${f} \
|
|
||||||
%{buildroot}%{_datadir}/icons/hicolor/${f}x${f}/apps/diffpdf.png
|
|
||||||
done
|
|
||||||
|
|
||||||
# install desktop file
|
|
||||||
desktop-file-install \
|
|
||||||
--dir=%{buildroot}%{_datadir}/applications \
|
|
||||||
%{S:1}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -52,12 +43,17 @@ desktop-file-install \
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/diffpdf
|
%{_bindir}/diffpdf
|
||||||
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||||
|
%dir %{_docdir}/DiffPDF
|
||||||
|
%{_docdir}/DiffPDF/*
|
||||||
|
%{_mandir}/man1/diffpdf.1*
|
||||||
%doc gpl-2.0.txt
|
%doc gpl-2.0.txt
|
||||||
#%doc CHANGES README
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 02 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3.1-1mamba
|
||||||
|
- update to 2.1.3.1
|
||||||
|
|
||||||
* Thu Jun 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4-2mamba
|
* Thu Jun 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4-2mamba
|
||||||
- rebuilt with libpoppler 0.20.5
|
- rebuilt with libpoppler 0.20.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user