%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Gimp Version: 2.38 Release: 1mamba Summary: Gimp - Perl extension for writing Gimp Extensions/Plug-ins/Load & Save-Handlers Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: http://www.cpan.org/modules/by-module/Gimp/Gimp-%{version}.tar.gz Patch0: perl-Gimp-2.2pre1-glib-2.32.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libat-spi2-core-devel BuildRequires: libbabl-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libgegl-devel BuildRequires: libgimp-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libharfbuzz-devel BuildRequires: libjson-glib-devel BuildRequires: libpango-devel BuildRequires: libperl BuildRequires: perl-File-Slurp BuildRequires: perl-Gtk2 BuildRequires: perl-IO-All BuildRequires: perl-Parse-RecDescent BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl-Alien-Gimp BuildRequires: libgimp-devel BuildRequires: perl-Gtk2 BuildRequires: perl-Gtk2-Ex-PodViewer BuildRequires: perl-ExtUtils-Depends BuildRequires: perl-ExtUtils-PkgConfig BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-IO-All BuildRequires: perl-PDL BuildRequires: perl-Web-Scraper Requires: perl >= %perl_major_ver # FIXME: # Warning: prerequisite PDL 0 not found. %description Perl extension for writing Gimp Extensions/Plug-ins/Load & Save-Handlers. %prep %setup -q -n Gimp-%{version} %build #GIMPTOOL=/usr/bin/gimptool-2.0 \ perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %make CC="gcc %{optflags} `pkg-config --cflags gtk+-2.0 gimp-2.0`" #% make test %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Fri Sep 27 2024 Automatic Build System 2.38-1mamba - automatic version update by autodist * Sat Mar 11 2023 Automatic Build System 2.37-1mamba - automatic version update by autodist * Sat Feb 15 2014 Automatic Build System 2.3-1mamba - automatic update by autodist * Fri Nov 16 2012 Silvan Calarco 2.2pre1-3mamba - perl 5.16 mass rebuild * Sat Nov 08 2008 Silvan Calarco 2.2pre1-2mamba - automatic rebuild by autodist * Tue Nov 20 2007 Aleph0 2.2-1mamba - update to 2.2pre1 * Thu Nov 11 2004 Alessandro Ramazzina 2.0-2qilnx - package created by autospec * Thu Sep 09 2004 Matteo Bernasconi 2.0-1qilnx - first build