SHA256
1
0
forked from pool/diff-pdf
diff-pdf/diff-pdf.spec

40 lines
796 B
RPMSpec

Name: diff-pdf
Version: 0.2
Release: 0
Group: Productivity/Publishing/PDF
Summary: Simple PDF comparison tool
License: GPL-2.0
Url: https://github.com/vslavik/diff-pdf
Source0: v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Requires: wxWidgets
%if 0%{?suse_version}
BuildRequires: gcc-c++ automake wxWidgets-devel libpoppler-devel cairo-devel libpoppler-glib-devel
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: automake wxGTK-devel poppler-glib poppler-glib-devel
%endif
%description
diff-pdf is a simple tool for comparing two PDF files.
%prep
%setup -q
%build
./bootstrap
./configure --prefix=%{_prefix}
make
%install
%make_install
%files
%defattr(-,root,root,-)
%{_bindir}/diff-pdf
%changelog