File perl-Goo-Canvas.spec of Package perl-Goo-Canvas

Name:           perl-Goo-Canvas
# List of additional build dependencies
Version:        0.06
Release:        1
License:        other
Source:         Goo-Canvas-%{version}.tar.gz
Group:          Development/Libraries/Perl
Summary:        Perl bindings to the goocanvas-0.9+
Requires:       perl = %{perl_version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl-Gtk2 perl-Glib perl-Cairo 
BuildRequires:  pkg-config goocanvas-devel cairo-devel gtk2-devel glib2-devel
BuildRequires: -post-build-checks
%description
Perl bindings to the goocanvas-0.9+


%prep
%setup -q -n Goo-Canvas-%version

%build

perl Makefile.PL
make CFLAG=-w

    

%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 %buildroot

%files -f filelist
%defattr(-,root,root)
%dir %{perl_vendorarch}

%changelog
* Wed Jul 07 2010 swyear@linux-fx2f
- test build for openSUSE

openSUSE Build Service is sponsored by