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 http://bugs.opensuse.org/
#
Name: gimp-plugin-bimp
Version: 2.5
Release: 0
License: GPL-2.0+
Summary: Batch Image Manipulation Plugin for GIMP
Url: http://www.alessandrofrancesconi.it/projects/bimp/
Group: Productivity/Graphics/Bitmap Editors
Source: https://github.com/alessandrofrancesconi/gimp-plugin-bimp/archive/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gimp
BuildRequires: pkgconfig(gimp-2.0)
BuildRequires: pkgconfig(libpcre)
%description
With BIMP you can apply a set of GIMP manipulations on groups of images.
%prep
%autosetup
# https://github.com/alessandrofrancesconi/gimp-plugin-bimp/pull/262
rm src/images/Thumbs.db
%build
%make_build
%install
# 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
%files
%defattr(-,root,root)
%attr(0755,root,root) %{_libdir}/gimp/2.0/plug-ins/bimp
%{_libdir}/gimp/2.0/plug-ins/bimp-locale
%changelog