Group :: Gráficos
RPM: gimp-plugin-lensfun
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _name gimplensfun
%define gimpplugindir %(gimptool-2.0 --gimpplugindir)
Name: gimp-plugin-lensfun
Version: 0.2.5
Release: alt0.2
Summary: lens distortion correction plugin for Gimp
License: GPLv3
Group: Graphics
Url: http://seebk.github.io/GIMP-Lensfun/
Source: %url%_name-%version.tar
Patch: %_name-0.2.3-alt-makefile.patch
Requires: gimp >= 2.6
BuildRequires: gcc-c++ libexiv2-devel libgimp-devel libgomp-devel liblensfun-devel
%description
GimpLensfun is a Gimp plugin to correct lens distortion using the
lensfun library and database.
%prep
%setup -n %_name-%version
rm -rf bin
%patch -p1 -b .makefile
%build
%make
%install
install -pD gimp-lensfun %buildroot%gimpplugindir/plug-ins/gimp-lensfun
#export DESTDIR=%buildroot
#gimptool-2.0 --install-admin-bin %_name
%files
%gimpplugindir/plug-ins/gimp-lensfun
%doc README.txt CHANGES.txt
%changelog
…
Todas as alterações você pod ver aqui
%define gimpplugindir %(gimptool-2.0 --gimpplugindir)
Name: gimp-plugin-lensfun
Version: 0.2.5
Release: alt0.2
Summary: lens distortion correction plugin for Gimp
License: GPLv3
Group: Graphics
Url: http://seebk.github.io/GIMP-Lensfun/
Source: %url%_name-%version.tar
Patch: %_name-0.2.3-alt-makefile.patch
Requires: gimp >= 2.6
BuildRequires: gcc-c++ libexiv2-devel libgimp-devel libgomp-devel liblensfun-devel
%description
GimpLensfun is a Gimp plugin to correct lens distortion using the
lensfun library and database.
%prep
%setup -n %_name-%version
rm -rf bin
%patch -p1 -b .makefile
%build
%make
%install
install -pD gimp-lensfun %buildroot%gimpplugindir/plug-ins/gimp-lensfun
#export DESTDIR=%buildroot
#gimptool-2.0 --install-admin-bin %_name
%files
%gimpplugindir/plug-ins/gimp-lensfun
%doc README.txt CHANGES.txt
%changelog
…
Todas as alterações você pod ver aqui