File perl-Gtk2-ImageView.spec of Package perl-Gtk2-ImageView

#
# spec file for package perl-Gtk2-ImageView
# 
# Copyright (c) 7/2011 - now  open-slx GmbH <Sascha.Manns@open-slx.de>
# Copyright (c) 2010 - 7/2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           perl-Gtk2-ImageView
# List of additional build dependencies
BuildRequires:  libgtkimageview-devel perl-Gtk2
BuildRequires:  perl-macros
Requires:       perl-Gtk2, libgtkimageview0
Version:        0.05
Release:        1
License:        Artistic license
Source:         Gtk2-ImageView-%{version}.tar.gz
Group:          Development/Libraries/Perl
Summary:        Perl bindings to the GtkImageView image viewer widget
URL:		http://search.cpan.org/~ratcliffe/Gtk2-ImageView-0.05/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%description
Perl bindings to the GtkImageView image viewer widget. Needs perl-GTK2


%prep
%setup -q -n Gtk2-ImageView-%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 %buildroot

%files -f filelist
%defattr(-,root,root)
%dir %{perl_vendorarch}/Gtk2/Gdk/Pixbuf
%dir %{perl_vendorarch}/Gtk2/Gdk/Pixbuf/Draw
%dir %{perl_vendorarch}/Gtk2/ImageView
%dir %{perl_vendorarch}/Gtk2/ImageView/Tool
%dir %{perl_vendorarch}/auto/Gtk2/ImageView
%dir %{perl_vendorarch}/Gtk2/ImageView/Install

%changelog
openSUSE Build Service is sponsored by