Name: gimp-lensfun Version: 0.2.3 Release: 1%{?dist} Summary: Gimp plugin to correct lens distortion License: GPLv3+ URL: http://seebk.github.io/GIMP-Lensfun/ Source: https://github.com/seebk/GIMP-Lensfun/releases/download/%{version}/gimplensfun-%{version}.tar.gz BuildRequires: gimp-devel >= 2.0 BuildRequires: exiv2-devel BuildRequires: lensfun-devel # Backport upstream pre-release commit for lensfun > 3.0 compatibility # https://github.com/seebk/GIMP-Lensfun/commit/730e1280bb1968ec1e31f8c87949187b022a74bb Patch0: %{name}-remove-cci.patch %description GimpLensfun is a Gimp plugin to correct lens distortion using the lensfun library and database. %prep %setup -q -n gimplensfun-%{version} %patch0 -p1 %build make %{?_smp_mflags} CXXFLAGS="%{optflags}" %install mkdir -p $RPM_BUILD_ROOT%{_libdir}/gimp/2.0/plug-ins install -m 755 %{name} $RPM_BUILD_ROOT%{_libdir}/gimp/2.0/plug-ins %files %doc LICENSE.txt CHANGES.txt README.txt %{_libdir}/gimp/2.0/plug-ins/%{name} %changelog * Tue Jun 16 2015 Graham White - 0.2.3-1 - rebuild for F22 - include upstream commit for newer lensfun patch - clean up spec file for passing Fedora package review * Thu May 23 2013 Graham White - 0.2.3-1 - version bump to 0.2.3 - add optflags macro to the build - change URL and source to point to new web site * Fri Feb 08 2013 Graham White - 0.2.2-1 - update version and build for F18 * Sat May 26 2012 Graham White - 0.2.1-1 - first build, for F17