2024-01-06 09:03:47 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Gimp
|
2024-10-05 19:42:03 +02:00
|
|
|
Version: 2.38
|
2024-01-06 09:03:47 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Gimp - Perl extension for writing Gimp Extensions/Plug-ins/Load & Save-Handlers
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 09:03:48 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:03:47 +01:00
|
|
|
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
|
2024-10-05 19:42:03 +02:00
|
|
|
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
|
2024-01-06 09:03:48 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 09:03:47 +01:00
|
|
|
BuildRequires: perl-File-Slurp
|
2024-01-06 09:03:48 +01:00
|
|
|
BuildRequires: perl-Gtk2
|
|
|
|
BuildRequires: perl-IO-All
|
|
|
|
BuildRequires: perl-Parse-RecDescent
|
|
|
|
BuildRequires: perl-Scalar-List-Utils
|
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:03:47 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:03:48 +01:00
|
|
|
BuildRequires: perl-Alien-Gimp
|
|
|
|
BuildRequires: libgimp-devel
|
2024-01-06 09:03:47 +01:00
|
|
|
BuildRequires: perl-Gtk2
|
2024-01-06 09:03:48 +01:00
|
|
|
BuildRequires: perl-Gtk2-Ex-PodViewer
|
2024-01-06 09:03:47 +01:00
|
|
|
BuildRequires: perl-ExtUtils-Depends
|
|
|
|
BuildRequires: perl-ExtUtils-PkgConfig
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
2024-01-06 09:03:48 +01:00
|
|
|
BuildRequires: perl-IO-All
|
2024-10-05 19:42:03 +02:00
|
|
|
BuildRequires: perl-PDL
|
2024-01-06 09:03:48 +01:00
|
|
|
BuildRequires: perl-Web-Scraper
|
2024-01-06 09:03:47 +01:00
|
|
|
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
|
2024-10-05 19:42:03 +02:00
|
|
|
%make CC="gcc %{optflags} `pkg-config --cflags gtk+-2.0 gimp-2.0`"
|
2024-01-06 09:03:48 +01:00
|
|
|
#% make test
|
2024-01-06 09:03:47 +01:00
|
|
|
|
|
|
|
%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
|
2024-10-05 19:42:03 +02:00
|
|
|
* Fri Sep 27 2024 Automatic Build System <autodist@openmamba.org> 2.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:03:48 +01:00
|
|
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 2.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:03:47 +01:00
|
|
|
* Sat Feb 15 2014 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2pre1-3mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Sat Nov 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2pre1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Nov 20 2007 Aleph0 <aleph0@openmamba.org> 2.2-1mamba
|
|
|
|
- update to 2.2pre1
|
|
|
|
|
|
|
|
* Thu Nov 11 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.0-2qilnx
|
|
|
|
- package created by autospec
|
|
|
|
|
|
|
|
* Thu Sep 09 2004 Matteo Bernasconi <voyagernm@virgilio.it> 2.0-1qilnx
|
|
|
|
- first build
|