perl-Gnome2/perl-Gnome2.spec

Name: perl-Gnome2
Summary: Perl interface to the 2.x series of the GNOME libraries
Version: 1.042
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Gnome2/
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.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# 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

Summary: Perl interface to the 2.x series of the GNOME libraries
Name: perl-Gnome2
Version: 1.042
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Gnome2/

Source: http://www.cpan.org/modules/by-module/Gnome2/Gnome2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl >= 2:5.8.0
BuildRequires: perl(Cairo::Install::Files)
BuildRequires: perl(ExtUtils::Depends)
BuildRequires: perl(ExtUtils::PkgConfig)
BuildRequires: perl(Glib)
BuildRequires: perl(Gnome2::Canvas)
BuildRequires: perl(Gnome2::VFS)
BuildRequires: perl(Gtk2)
BuildRequires: libgnomeui-devel >= 2.0.0
Requires: perl >= 2:5.8.0

%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 -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__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 {} \;

%clean
%{__rm} -rf %{buildroot}

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

%changelog
* Sat Nov 10 2007 Dag Wieers <dag@wieers.com> - 1.042-1
- Updated to release 1.042.

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

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

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

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.023-1.2
- Rebuild for Fedora Core 5.

* Sat Oct 15 2005 Dries Verachtert <dries@ulyssis.org> - 1.023-1
- Updated to release 1.023.

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

* Thu Mar 18 2004 Dag Wieers <dag@wieers.com> - 0.90-1
- Updated to release 0.90.

* Sat Oct 11 2003 Dag Wieers <dag@wieers.com> - 0.38-0
- Updated to release 0.38.

* Sun Sep 07 2003 Dag Wieers <dag@wieers.com> - 0.34-0
- Updated to release 0.34.

* Mon Aug 25 2003 Dag Wieers <dag@wieers.com> - 0.30-0
- Updated to release 0.30.

* Sun Jul 20 2003 Dag Wieers <dag@wieers.com> - 0.28-0
- Initial package. (using DAR)