File perl-Gnome2.spec of Package perl-Gnome2

Summary: Gnome2 Perl module
Name: perl-Gnome2
Version: 1.042
Release: 1
Packager: gtk-perl-list@gnome.org
License: GPL
Group: Development/Libraries
URL: http://search.cpan.org/dist/Gnome2/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl 
BuildRequires: libgnomeui-devel 
BuildRequires: perl-ExtUtils-Depends 
BuildRequires: perl-ExtUtils-PkgConfig 
BuildRequires: perl-Glib 
BuildRequires: perl-Gtk2 
BuildRequires: perl-Gnome2-Canvas
BuildRequires: perl-Gnome2-VFS 
Requires: libgnomeui >= %(pkg-config --modversion libgnomeui-2.0)
Requires: perl-Glib 
Requires: perl-Gtk2 
 
Requires: perl-Gnome2-VFS 
Source0: Gnome2-%{version}.tar.gz

%description
Perl bindings to the 2.x series of the Gnome widget set.  This module allows
you to write graphical user interfaces in a perlish and object-oriented way,
freeing you from the casting and memory management in C, yet remaining very 
close in spirit to original API.

%prep
%setup -q -n Gnome2-%{version}

%build
perl Makefile.PL
make

%install
make DESTDIR=%buildroot install_vendor
%perl_process_packlist



# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist

%clean
rm -rf $RPM_BUILD_ROOT

%files -f filelist
%defattr(-,root,root)
%dir %{perl_vendorarch}/Gnome2/Bonobo
%dir %{perl_vendorarch}/Gnome2/Config
%dir %{perl_vendorarch}/Gnome2/Install

%changelog
* Wed Jul 07 2010 swyear@linux-fx2f.site
- test build for openSUSE
openSUSE Build Service is sponsored by