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

Группа :: Разработка/GNOME и GTK+
Пакет: perl-GTK

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

%define dist Gtk-Perl
Name: perl-GTK
Version: 0.7009
Release: alt3

Summary: Perl module for the GTK+ 1.2 library
License: GPL or Artistic
Group: Development/GNOME and GTK+

URL: %CPAN %dist
Source: %dist-%version.tar

Patch0: perl-GTK-0.7002-mdk-ensure_focus.patch
Patch1: perl-GTK-0.7003-mdk-gdk_event_copy-withnowindow.patch
Patch2: perl-GTK-0.7005-mdk-XSetInputFocus.patch
Patch3: perl-GTK-0.7008-mdk-GdkPixbuf-memleak.patch
Patch4: perl-GTK-0.7009-alt-gendoc-no-parent.patch
Patch5: perl-GTK-0.7009-alt-pkgconfig.patch

# Automatically added by buildreq on Tue Apr 10 2007

BuildRequires: gdk-pixbuf-devel gnome-libs-devel perl-XML-Parser perl-XML-Writer perl-devel

%package GdkImlib
Summary: Perl module for the GTK+ 1.2 GdkImlib library
Group: Development/GNOME and GTK+
Requires(post,preun): %name = %version-%release

%package GdkPixbuf
Summary: Perl module for the GTK+ 1.2 GdkPixbuf library
Group: Development/GNOME and GTK+
Requires(post,preun): %name = %version-%release

%package Gnome
Summary: Perl module for the GNOME 1.x core libraries
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description
This module provides Perl access to the gtk+-1.2 library.
Gtk+ is the GIMP ToolKit (GTK+), a library for creating
graphical user interfaces for the X Window System.

%description GdkImlib
This module provides Perl access to the gtk+-1.2 library.
Gtk+ is the GIMP ToolKit (GTK+), a library for creating
graphical user interfaces for the X Window System.

%description GdkPixbuf
This module provides Perl access to the gtk+-1.2 library.
Gtk+ is the GIMP ToolKit (GTK+), a library for creating
graphical user interfaces for the X Window System.

%description Gnome
This module provides Perl access to the gtk+-1.2 library.
Gtk+ is the GIMP ToolKit (GTK+), a library for creating
graphical user interfaces for the X Window System.

%prep
%setup -q -n %dist-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p2

%build
cd Gtk
%perl_vendor_build --lazy-load
perl -Mblib -MGtk -e1
install -pD -m644 cookbook.pod blib/lib/Gtk/cookbook.pod
install -pD -m644 objects.pod blib/lib/Gtk/objects.pod
install -pD -m644 build/perl-gtk-ref.pod blib/lib/Gtk/reference.pod

cd ../GdkImlib
%perl_vendor_build
perl -Mblib=../Gtk -Mblib -MGtk::Gdk::ImlibImage -e1
install -pD -m644 build/perl-gdkimlib-ref.pod blib/lib/Gtk/Gdk/ImlibImage/reference.pod

cd ../GdkPixbuf
%perl_vendor_build
perl -Mblib=../Gtk -Mblib -MGtk::Gdk::Pixbuf -e1
install -pD -m644 build/perl-gdkpixbuf-ref.pod blib/lib/Gtk/Gdk/Pixbuf/reference.pod

cd ../Gnome
%perl_vendor_build
perl -Mblib=../Gtk -Mblib=../GdkImlib -Mblib -MGnome -e1
install -pD -m644 build/perl-gnome-ref.pod blib/lib/Gnome/reference.pod

%install
cd Gtk
%perl_vendor_install

cd ../GdkImlib
%perl_vendor_install

cd ../GdkPixbuf
%perl_vendor_install

cd ../Gnome
%perl_vendor_install

%files
%doc README NOTES VERSIONS
%perl_vendor_archlib/Gtk.pm
%dir %perl_vendor_archlib/Gtk
%perl_vendor_archlib/Gtk/Atoms.pm
%perl_vendor_archlib/Gtk/Gdk.pm
%perl_vendor_archlib/Gtk/Keysyms.pm
%perl_vendor_archlib/Gtk/Types.pm
%perl_vendor_archlib/Gtk/TypesLazy.pm
%perl_vendor_archlib/Gtk/lazy.pm
%doc %perl_vendor_archlib/Gtk/*.pod
%dir %perl_vendor_autolib/Gtk
%perl_vendor_autolib/Gtk/Gtk.so
%perl_vendor_autolib/Gtk/autosplit.ix
%dir %perl_vendor_autolib/Gtk/Gdk
%perl_vendor_autolib/Gtk/Gdk/autosplit.ix

%files GdkImlib
%dir %perl_vendor_archlib/Gtk/Gdk
%perl_vendor_archlib/Gtk/Gdk/ImlibImage.pm
%dir %perl_vendor_archlib/Gtk/Gdk/ImlibImage
%perl_vendor_archlib/Gtk/Gdk/ImlibImage/*.pod
%dir %perl_vendor_autolib/Gtk/Gdk/ImlibImage
%perl_vendor_autolib/Gtk/Gdk/ImlibImage/ImlibImage.so

%files GdkPixbuf
%dir %perl_vendor_archlib/Gtk/Gdk
%perl_vendor_archlib/Gtk/Gdk/Pixbuf.pm
%dir %perl_vendor_archlib/Gtk/Gdk/Pixbuf
%perl_vendor_archlib/Gtk/Gdk/Pixbuf/Types.pm
%perl_vendor_archlib/Gtk/Gdk/Pixbuf/*.pod
%dir %perl_vendor_autolib/Gtk/Gdk/Pixbuf
%perl_vendor_autolib/Gtk/Gdk/Pixbuf/Pixbuf.so

%files Gnome
%perl_vendor_archlib/Gnome.pm
%dir %perl_vendor_archlib/Gnome
%perl_vendor_archlib/Gnome/Types.pm
%perl_vendor_archlib/Gnome/TypesLazy.pm
%perl_vendor_archlib/Gnome/*.pod
%dir %perl_vendor_autolib/Gnome
%perl_vendor_autolib/Gnome/Gnome.so

%changelog

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

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