Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > ad3ef91f0fb6371bf74bff885444b8d7 > files > 2

perl-Gnome2-VFS-0.90-1mdk.src.rpm

%define module Gnome2-VFS
%define fmodule Gnome2/VFS

Summary: Perl module for the gnome2-2.x VFS libraries
Name:    perl-%module
Version: 0.90
Release: 1mdk
License: GPL or Artistic
Group:   Development/GNOME and GTK+
Source:  %module-%version.tar.bz2
URL: http://gtk2-perl.sf.net/
BuildRequires: libgnome-vfs2-devel => 2.4.1, perl-Glib => 1.00, perl-Gtk2
BuildRequires: perl-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig 
Requires: perl-Glib >= 1.00
Conflicts: drakxtools < 9.1-15mdk
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This module provides perl access to GNOME-2.x VFS libraries.

The GNOME Virtual File System provides an abstraction to common file
system operations like reading, writing and copying files, listing
directories and so on.

%prep
%setup -q -n %module-%version
find -type d -name CVS | rm -rf 

%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Os -s"
export GTK2_PERL_CFLAGS="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS"
#%make test || :

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root)
%doc LICENSE examples/*
%{_mandir}/*/*
%{perl_vendorarch}/%fmodule
%{perl_vendorarch}/%fmodule.pm
%{perl_vendorarch}/auto/%fmodule

%changelog
* Fri Jan 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.90-1mdk
- new release

* Sat Jan 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.05-2mdk
- add example

* Sat Jan 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.05-1mdk
- initial release