File pdfchain.spec of Package pdfchain

#
# spec file for package pdfchain
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012-2013 B1 Systems GmbH, Vohburg, 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:		pdfchain
Summary:	A GUI for pdftk
Version:	0.4.4
Release:	1
URL:		http://sourceforge.net/projects/pdfchain/
Source0:	pdfchain-%{version}.tar.gz
Patch0:		pdfchain-desktop.patch
License:	GPL-3.0
Group:		Productivity/Publishing/PDF
Requires:	pdftk >= 2.0
BuildRequires:	gtkmm3-devel
BuildRequires:	gcc-c++
BuildRequires:	intltool >= 0.35.0
BuildRequires:	update-desktop-files
BuildRequires:	fdupes
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
PDF Chain is a Graphical User Interface for the PDF Tool Kit.
It includes features designed to handle PDF files in a easy way.
Basicaly it can merge, split, add backgrounds or stamps and add attachments.
There are some tools for extended needs, too.

The GUI is written using GTKmm, a C++ library for GTK.
PDF Chain is released under the terms of the GNU Public License verion 3.
PDF Chain comes without any warranty.

%prep
%setup -q
%patch0

%build
%configure
%__make %{?jobs:-j %jobs}

%install
%makeinstall
rm -rf %{buildroot}%{_datadir}/doc/pdfchain

%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/pdfchain
%{_datadir}/applications/pdfchain.desktop
%{_datadir}/icons/hicolor/*/apps/pdfchain.png
%{_datadir}/pixmaps/pdfchain.png
%doc AUTHORS ChangeLog COPYING README


%changelog
openSUSE Build Service is sponsored by