File perl-Gnome2-GConf.spec of Package perl-Gnome2-GConf

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

Source0: Gnome2-GConf-%{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-GConf-%{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
%dir %{perl_vendorarch}/Gnome2/GConf
%dir %{perl_vendorarch}/Gnome2/GConf/Install
%dir %{perl_vendorarch}/auto/Gnome2
%dir %{perl_vendorarch}/auto/Gnome2/GConf

%changelog
* Tue Jul 06 2010 swyear@linux-fx2f.site
- test build for openSUSE

openSUSE Build Service is sponsored by