auto-import changelog data from perl-Image-Info-1.16-0.fdr.3.rh90.src.rpm

1.16-0.fdr.3
- Reverted Image::Xbm and Image::Xpm patches.
- Patched Image::Info::XBM.pm and Image::Info::XPM.pm instead.
1.16-0.fdr.2
- Patched Image::Xbm and Image::Xpm to avoid test failures in this module.
1.16-0.fdr.1
- Update to version 1.16.
- Bring up to date with current fedora.us perl spec template.
1.15-0.fdr.1
- First build.
epel9
cvsextras 21 years ago
parent dc2e791e38
commit 3d96613ca6

@ -0,0 +1 @@
Image-Info-1.16.tar.gz

@ -0,0 +1,13 @@
diff -ruN Image-Info-1.16/lib/Image/Info/XBM.pm Image-Info-1.16-patched/lib/Image/Info/XBM.pm
--- Image-Info-1.16/lib/Image/Info/XBM.pm 2004-01-07 12:16:51.000000000 +0000
+++ Image-Info-1.16-patched/lib/Image/Info/XBM.pm 2004-06-08 22:30:10.000000000 +0100
@@ -10,7 +10,8 @@
$info->push_info(0, "Warn", shift);
};
- my $i = Image::Xbm->new(-file, $source);
+ my $i = Image::Xbm->new(-width => 1, -height => 1);
+ $i->load($source);
$info->push_info(0, "color_type" => "Grey");
$info->push_info(0, "file_ext" => "xbm");

@ -0,0 +1,12 @@
--- Image-Info-1.16/lib/Image/Info/XPM.pm 2004-01-07 12:20:40.000000000 +0000
+++ Image-Info-1.16-patched/lib/Image/Info/XPM.pm 2004-07-01 01:25:55.000000000 +0100
@@ -13,7 +13,8 @@
$info->push_info(0, "Warn", shift);
};
- my $i = Image::Xpm->new(-file, $source);
+ my $i = Image::Xpm->new(-width => 1, -height => 1);
+ $i->load($source);
$info->push_info(0, "color_type" => "Indexed-RGB");
$info->push_info(0, "file_ext" => "xpm");

@ -0,0 +1,14 @@
diff -ruN Image-Info-1.16/t/string.t Image-Info-1.16-patched/t/string.t
--- Image-Info-1.16/t/string.t 2003-10-06 18:13:30.000000000 +0100
+++ Image-Info-1.16-patched/t/string.t 2004-06-08 22:17:41.000000000 +0100
@@ -30,6 +30,10 @@
my $img = cat($file);
my $h2 = image_info(\$img);
+ if (my $err = $h2->{error}) {
+ print "# - $err\n";
+ }
+
print "not " unless hash_equal($h1, $h2);
print "ok $testno\n";
$testno++;

@ -0,0 +1,76 @@
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
Name: perl-Image-Info
Version: 1.16
Release: 0.fdr.3.rh90
Epoch: 0
Summary: Image meta information extraction module for Perl
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Image-Info/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Image-Info-1.16.tar.gz
Patch0: Image-Info-1.16-string.t.patch
Patch1: Image-Info-1.16-XBM.pm.patch
Patch2: Image-Info-1.16-XPM.pm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This Perl extension allows you to extract meta information from
various types of image files.
%prep
%setup -q -n Image-Info-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
chmod 644 Changes README exifdump imgdump
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README exifdump imgdump
%{perl_vendorlib}/Image/
%{_mandir}/man3/*.3*
%changelog
* Thu Jul 1 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.3
- Reverted Image::Xbm and Image::Xpm patches.
- Patched Image::Info::XBM.pm and Image::Info::XPM.pm instead.
* Tue Jun 8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.2
- Patched Image::Xbm and Image::Xpm to avoid test failures in this module.
* Thu Jun 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.1
- Update to version 1.16.
- Bring up to date with current fedora.us perl spec template.
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.15-0.fdr.1
- First build.

@ -0,0 +1 @@
502b6299ef2d41f67bca4e1f7d9335ab Image-Info-1.16.tar.gz
Loading…
Cancel
Save