2010-12-20 17:31:29 +01:00
|
|
|
#
|
2013-08-12 11:08:13 +02:00
|
|
|
# spec file for package gimp-lqr-plugin
|
2010-12-20 17:31:29 +01:00
|
|
|
#
|
2020-12-12 20:30:14 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2010-12-20 17:31:29 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-12-12 20:30:14 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-12-20 17:31:29 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gimp-lqr-plugin
|
2013-08-12 11:08:13 +02:00
|
|
|
Version: 0.7.2
|
|
|
|
Release: 0
|
2010-12-20 17:31:29 +01:00
|
|
|
Summary: Content-aware resizing plug-in for GIMP
|
2020-12-12 20:30:14 +01:00
|
|
|
License: GPL-2.0-or-later
|
2010-12-20 17:31:29 +01:00
|
|
|
Group: Productivity/Graphics/Bitmap Editors
|
2020-12-12 20:30:14 +01:00
|
|
|
URL: http://liquidrescale.wikidot.com/
|
|
|
|
Source0: https://github.com/carlobaldassi/gimp-lqr-plugin/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
# https://github.com/carlobaldassi/gimp-lqr-plugin/commit/22a274942434ae841b0b51a183979ddb560996f9
|
|
|
|
Patch0: upstream-Fix-compilation-errors.patch
|
2013-08-12 11:08:13 +02:00
|
|
|
BuildRequires: gimp-devel >= 2.8.0
|
2010-12-20 17:31:29 +01:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: liblqr-devel >= 0.4.0
|
2020-12-12 20:30:14 +01:00
|
|
|
Requires: gimp >= 2.8.0
|
2010-12-20 17:31:29 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This GIMP plug-in implements the content-aware resizing algorithm
|
|
|
|
described in the paper "Seam Carving for Content-Aware Image Resizing"
|
|
|
|
by Shai Avidan and Ariel Shamir.
|
|
|
|
|
|
|
|
%package -n gimp-plugin-lqr
|
|
|
|
Summary: Content-aware resizing plug-in for GIMP
|
|
|
|
Group: Productivity/Graphics/Bitmap Editors
|
|
|
|
Recommends: gimp-plugin-lqr-lang
|
2020-12-12 20:30:14 +01:00
|
|
|
Provides: %{name} = %{version}
|
2010-12-20 17:31:29 +01:00
|
|
|
|
|
|
|
%description -n gimp-plugin-lqr
|
|
|
|
This GIMP plug-in implements the content-aware resizing algorithm
|
|
|
|
described in the paper "Seam Carving for Content-Aware Image Resizing"
|
|
|
|
by Shai Avidan and Ariel Shamir.
|
|
|
|
|
|
|
|
%lang_package -n gimp-plugin-lqr
|
2020-12-12 20:30:14 +01:00
|
|
|
|
2010-12-20 17:31:29 +01:00
|
|
|
%prep
|
2020-12-12 20:30:14 +01:00
|
|
|
%autosetup -p1
|
2010-12-20 17:31:29 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2020-12-12 20:30:14 +01:00
|
|
|
%make_build
|
2010-12-20 17:31:29 +01:00
|
|
|
|
|
|
|
%install
|
2020-12-12 20:30:14 +01:00
|
|
|
%make_install
|
2010-12-20 17:31:29 +01:00
|
|
|
# ro_RO locale should simply be ro
|
|
|
|
test ! -e %{buildroot}%{_datadir}/locale/ro
|
|
|
|
mv %{buildroot}%{_datadir}/locale/ro_RO %{buildroot}%{_datadir}/locale/ro
|
|
|
|
|
2020-12-12 20:30:14 +01:00
|
|
|
%find_lang gimp20-lqr-plugin
|
2010-12-20 17:31:29 +01:00
|
|
|
|
|
|
|
%files -n gimp-plugin-lqr
|
2020-12-12 20:30:14 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README TODO
|
2010-12-20 17:31:29 +01:00
|
|
|
%{_libdir}/gimp/2.0/plug-ins/gimp-lqr-plugin
|
|
|
|
%{_libdir}/gimp/2.0/plug-ins/plug_in_lqr_iter
|
|
|
|
%{_datadir}/gimp-lqr-plugin/
|
2020-12-12 20:30:14 +01:00
|
|
|
%dir %{_datadir}/gimp/2.0/scripts/
|
2010-12-20 17:31:29 +01:00
|
|
|
%{_datadir}/gimp/2.0/scripts/batch-gimp-lqr.scm
|
|
|
|
|
|
|
|
%files -n gimp-plugin-lqr-lang -f gimp20-lqr-plugin.lang
|
|
|
|
|
|
|
|
%changelog
|