Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37858463
en ru br
Репозитории ALT
S:1.006-alt1
5.1: 1.002-alt3
4.1: 1.002-alt3
4.0: 1.002-alt3
3.0: 1.002-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Gnome2-Canvas

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define dist Gnome2-Canvas
Name: perl-%dist
Version: 1.002
Release: alt1.1

Summary: Gnome2-Canvas Perl module
License: LGPL
Group: Development/Perl
Url:   http://search.cpan.org/dist/Gnome2-Canvas/
Source: %dist-%version.tar.gz

BuildRequires: libgnomecanvas-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib-devel perl-Gtk2-devel perl-devel pkgconfig xorg-x11-Xvfb xorg-x11-devel xorg-x11-libs xvfb-run

%package devel
Summary: Gnome2-Canvas Perl module (development files)
License: LGPL
Group: Development/Perl
Requires: %name = %version-%release

%description
The Gnome2::Canvas module allows a perl developer to use the GnomeCanvas
widget with Gtk2-Perl.  Find out more about Gnome+ at http://www.gnome.org.

%description devel
The Gnome2::Canvas module allows a perl developer to use the GnomeCanvas
widget with Gtk2-Perl.  Find out more about Gnome+ at http://www.gnome.org.

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

%prep
%setup -q -n %dist-%version

%build
%ifndef _build_display
%def_without test
%endif

EXTRA_BLIBS="%perl_vendor_autolib/Glib/Glib.so %perl_vendor_autolib/Gtk2/Gtk2.so"
%perl_vendor_build

xvfb-run %__make test

%install
%perl_vendor_install

%define pkgdocdir %_docdir/%name-%version
%__mkdir_p %buildroot%pkgdocdir
%__cp -a AUTHORS LICENSE ChangeLog NEWS README TODO canvas_demo %buildroot%pkgdocdir

%files
%dir    %pkgdocdir
%pkgdocdir/NEWS
%pkgdocdir/README
%pkgdocdir/LICENSE
%pkgdocdir/AUTHORS
%perl_vendor_autolib/Gnome2/Canvas
%dir %perl_vendor_archlib/Gnome2
%perl_vendor_archlib/Gnome2/Canvas.pm

%files devel
%dir    %pkgdocdir
%pkgdocdir/ChangeLog
%pkgdocdir/TODO
%pkgdocdir/canvas_demo
%dir    %perl_vendor_archlib/Gnome2
%perl_vendor_archlib/Gnome2/*.pod
%dir    %perl_vendor_archlib/Gnome2/Canvas
%perl_vendor_archlib/Gnome2/Canvas/*.pod
%perl_vendor_archlib/Gnome2/Canvas/Install

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin