b95311d
Name:           perl-Gtk2-ImageView
b95311d
Version:        0.04
90c2f38
Release:        7%{?dist}
b95311d
Summary:        Perl bindings to the GtkImageView image viewer widget
b95311d
b95311d
Group:          Development/Libraries
b95311d
License:        LGPLv3+
b95311d
URL:            http://search.cpan.org/dist/Gtk2-ImageView/
b95311d
Source0:        http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Gtk2-ImageView-%{version}.tar.gz
b95311d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b95311d
b95311d
BuildRequires:  gtk2-devel
b95311d
BuildRequires:  gtkimageview-devel >= 1.6.0
b95311d
BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
b95311d
BuildRequires:  perl(Glib) >= 1.163
a5e06ff
BuildRequires:  perl(Glib::MakeHelper)
b95311d
BuildRequires:  perl(Cairo) >= 1.00
b95311d
BuildRequires:  perl(ExtUtils::Depends) >= 0.2
b95311d
BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.03
b95311d
BuildRequires:  perl(Gtk2)
b95311d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
b95311d
Requires:       perl(Glib) >= 1.163
b95311d
Requires:       perl(Cairo) >= 1.00
b95311d
b95311d
%description
b95311d
Perl bindings to the GtkImageView image viewer widget. Find out more about 
b95311d
GtkImageView at http://trac.bjourne.webfactional.com/. The Perl bindings follow 
b95311d
the C API very closely, and the C reference should be considered the canonical 
b95311d
documentation.
b95311d
b95311d
%package devel
b95311d
Summary:        Development headers for %{name}
b95311d
Group:          Development/Libraries
b95311d
Requires:       %{name} = %{version}-%{release}
b95311d
b95311d
%description devel
b95311d
Development headers for %{name}.
b95311d
b95311d
%prep
b95311d
%setup -q -n Gtk2-ImageView-%{version}
b95311d
b95311d
%build
b95311d
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
b95311d
make %{?_smp_mflags}
b95311d
b95311d
%install
b95311d
rm -rf $RPM_BUILD_ROOT
b95311d
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
b95311d
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
b95311d
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
b95311d
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
b95311d
chmod -R u+w $RPM_BUILD_ROOT/*
b95311d
b95311d
%check
b95311d
# There are tests, but they need an X DISPLAY to run. Not worth it.
b95311d
# make test
b95311d
b95311d
%clean
b95311d
rm -rf $RPM_BUILD_ROOT
b95311d
b95311d
%files
b95311d
%defattr(-,root,root,-)
b95311d
%doc AUTHORS COPYING.LESSER README
b95311d
%{perl_vendorarch}/auto/Gtk2/ImageView/
b95311d
%{perl_vendorarch}/Gtk2*
b95311d
%exclude %{perl_vendorarch}/Gtk2/ImageView/Install/*.h
b95311d
%{_mandir}/man3/*.3pm*
b95311d
b95311d
%files devel
b95311d
%defattr(-,root,root,-)
b95311d
%{perl_vendorarch}/Gtk2/ImageView/Install/*.h
b95311d
b95311d
%changelog
90c2f38
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-7
90c2f38
- Mass rebuild with perl-5.12.0
90c2f38
71b0b82
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-6
71b0b82
- rebuild against perl 5.10.1
71b0b82
a5e06ff
* Thu Jul 30 2009 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.04-5
a5e06ff
- Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
a5e06ff
6209ac6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-4
6209ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6209ac6
f019aa0
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
f019aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f019aa0
b95311d
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-2
b95311d
- missing BuildRequires: perl(GTK2)
b95311d
b95311d
* Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-1
b95311d
- initial package for Fedora