Name: perl-Gtk2-Sexy
Version: 0.02
Release: 8%{?dist}
Summary: Perl interface to the sexy widget collection
Group: Development/Libraries
License: LGPLv2+
URL: http://search.cpan.org/dist/Gtk2-Sexy
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-Sexy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Gtk2), perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
BuildRequires: libsexy-devel, libxml2-devel
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Gtk2)
%description
This module allows a perl developer to access the widgets of the sexy widget
collection.
%prep
%setup -q -n Gtk2-Sexy-%{version}
# keep rpmlint happy...
chmod -x examples/*
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
# make -debuginfo whole....
cp xs/* .
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog examples
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Gtk2
%{_mandir}/man3/*.3*
%changelog
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-8
Rebuild for new perl
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.02-7
- Autorebuild for GCC 4.3
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.02-6
- bump
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-5
- bump for mass rebuild
* Mon Jul 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-4
- bump for build
* Mon Jul 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-3
- add an explicit dep on perl(Gtk2)
- add additional br, plus fix -debuginfo package
* Fri Jul 28 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-2
- add missing br
* Thu Jul 27 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
- Initial spec file for F-E