Пакет perl-Gnome2: Specfile

%define dist Gnome2

Name: perl-%dist
Version: 1.042
Release: alt2

Summary: Gnome2 Perl module
License: LGPLv2.1+
Group: Development/Perl

Url: %CPAN %dist
Source: http://www.cpan.org/modules/by-module/Gnome2/Gnome2-%version.tar.gz

# Automatically added by buildreq on Fri Oct 26 2007
BuildRequires: libpng-devel libSM-devel libgnomeui-devel perl-Cairo-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Gnome2-Canvas-devel perl-Gnome2-VFS-devel perl-Gtk2-devel perl-Log-Agent

%package devel
Summary: Gnome2 Perl module (development files)
License: LGPLv2.1+
Group: Development/Perl
Requires: %name = %version-%release

%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.

%description devel
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.

This package contains Gnome2 development files and documentation
for developers (overview of internals and internal API reference).

%prep
%setup -n %dist-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc AUTHORS NEWS README
%perl_vendor_autolib/Gnome2
%perl_vendor_archlib/Gnome2.pm
%exclude /.perl.req

%files devel
%doc ChangeLog TODO examples
%dir %perl_vendor_archlib/Gnome2
%perl_vendor_archlib/Gnome2/*.pod
%perl_vendor_archlib/Gnome2/Bonobo
%perl_vendor_archlib/Gnome2/Config
%perl_vendor_archlib/Gnome2/Install

%changelog
* Wed Mar 09 2011 Vladimir Lettiev <crux@altlinux.ru> 1.042-alt2
- Updated BuildRequires
- Enabled tests

* Tue Nov 09 2010 Vladimir Lettiev <crux@altlinux.ru> 1.042-alt1.1
- rebuilt with perl 5.12

* Fri Oct 26 2007 Victor Forsyuk <force@altlinux.org> 1.042-alt1
- 1.042

* Wed Jul 04 2007 Victor Forsyuk <force@altlinux.org> 1.041-alt2
- Update build requirements (libSM-devel now have to be listed explicitly).

* Sat Jan 20 2007 Victor Forsyuk <force@altlinux.org> 1.041-alt1
- 1.041
- Spec simplification.
- Updated BuildRequires.

* Tue Aug 16 2005 LAKostis <lakostis at altlinux.ru> 1.023-alt1
- 1.023.

* Wed Mar 16 2005 LAKostis <lakostis at altlinux.ru> 1.021-alt1.1
- cleanup buildreq/requires.
- fix URL entry.
- add missing requries to -devel package.

* Sun Mar 07 2005 LAKostis <lakostis at altlinux.ru> 1.021-alt1
- manual pages not packaged (use perldoc)
- first build for Sisyphus.