File gimp-plugin-bimp.spec of Package gimp-plugin-bimp

# spec file for package gimp-plugin-bimp
# Copyright (c) 2014 SUSE LINUX Products 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
Name:           gimp-plugin-bimp
Version:        1.16
Release:        0
License:        GPL-2.0+
Summary:        Batch Image Manipulation Plugin for GIMP
Group:          Productivity/Graphics/Bitmap Editors
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gimp
BuildRequires:  pkgconfig(gimp-2.0)
BuildRequires:  pkgconfig(libpcre)

With BIMP you can apply a set of GIMP manipulations on groups of images.

%setup -q

rm src/images/Thumbs.db

make %{?jobs:-j%jobs}

# make install-admin does not support DESTDIR
mkdir -p %{buildroot}%{_libdir}/gimp/2.0/plug-ins
cp ./bin/bimp %{buildroot}%{_libdir}/gimp/2.0/plug-ins
cp -Rf bimp-locale/ %{buildroot}%{_libdir}/gimp/2.0/plug-ins

%dir %{_libdir}/gimp/2.0/plug-ins
%attr(0755,root,root) %{_libdir}/gimp/2.0/plug-ins/bimp