A new user interface for you!

File perl-Gnome2-VFS-openSUSE_Factory.spec of Package perl-Gnome2-VFS

# $Id: perl-Gnome2-VFS.spec 5690 2007-08-05 21:57:34Z dag $
# Authority: dag
# Upstream: Torsten Schönfeld <kaffeetisch$gmx,de>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Gnome2-VFS

Summary: Perl interface to the 2.x series of the GNOME VFS library
Name: perl-Gnome2-VFS
Version: 1.061
%define releasesuffix opensusefactory
Release: 2
License: Artistic/GPL
Group: Applications/CPAN
#URL: http://gtk2-perl.sourceforge.net/
URL: http://search.cpan.org/dist/Gnome2-VFS/

Packager: Dries Verachtert <dries@ulyssis.org>
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
Source: http://www.cpan.org/modules/by-module/Gnome2/Gnome2-VFS-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl >= 2:5.8.0, perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig),
BuildRequires: perl(Glib), perl(Gtk2)
BuildRequires: libgnomeui-devel >= 2.0.0
Requires: perl >= 2:5.8.0

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.

%setup -n %{real_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}" 
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

### Clean up docs
find examples/ -type f -exec %{__chmod} a-x {} \;

%{__rm} -rf %{buildroot}

%defattr(-, root, root, 0755)
%doc ChangeLog LICENSE MANIFEST MANIFEST.SKIP META.yml NEWS README copyright.pod examples/
%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorarch}/Gnome2/
%dir %{perl_vendorarch}/auto/Gnome2/

* Sun Aug 05 2007 Dag Wieers <dag@wieers.com> - 1.061-2
- Cosmetic cleanup.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 1.061-1
- Updated to release 1.061.

* Tue Sep 19 2006 Dries Verachtert <dries@ulyssis.org> - 1.060-1
- Updated to release 1.060.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 1.041-1
- Updated to release 1.041.

* Tue Mar 30 2004 Dag Wieers <dag@wieers.com> - 1.001-1
- Updated to release 1.001.

* Thu Mar 18 2004 Dag Wieers <dag@wieers.com> - 0.10-1
- Initial package. (using DAR)