forked from pool/diff-pdf
- Cleanup spec file and update dependencies
OBS-URL: https://build.opensuse.org/package/show/Publishing/diff-pdf?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
72bf9fb657
commit
93ec52d6c9
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 29 07:33:13 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file and update dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 25 12:39:19 UTC 2014 - wagner-thomas@gmx.at
|
||||
+ initial compilation
|
||||
|
@@ -1,22 +1,40 @@
|
||||
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
|
||||
#
|
||||
# spec file for package diff-pdf
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: diff-pdf
|
||||
Version: 0.2
|
||||
Release: 0
|
||||
Summary: Simple PDF comparison tool
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Publishing/PDF
|
||||
Url: https://github.com/vslavik/diff-pdf
|
||||
Source0: https://github.com/vslavik/diff-pdf/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: wxWidgets-3_0-devel
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(cairo-pdf)
|
||||
BuildRequires: pkgconfig(poppler)
|
||||
BuildRequires: pkgconfig(poppler-cairo)
|
||||
BuildRequires: pkgconfig(poppler-glib)
|
||||
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.
|
||||
@@ -26,14 +44,15 @@ diff-pdf is a simple tool for comparing two PDF files.
|
||||
|
||||
%build
|
||||
./bootstrap
|
||||
./configure --prefix=%{_prefix}
|
||||
make
|
||||
%configure
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING COPYING.icons README
|
||||
%{_bindir}/diff-pdf
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user