Group :: Desenvolvimento/GNOME E GTK+
RPM: perl-GTK
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define dist Gtk-Perl
Name: perl-GTK
Version: 0.7009
Release: alt1
Summary: Perl module for the GTK+ library
License: GPL or Artistic
Group: Development/GNOME and GTK+
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
Patch0: %name-0.7002-mdk-ensure_focus.patch
Patch1: %name-0.7003-mdk-gdk_event_copy-withnowindow.patch
Patch2: %name-0.7005-mdk-XSetInputFocus.patch
Patch3: %name-0.7008-mdk-GdkPixbuf-memleak.patch
Patch4: %name-0.7009-alt-gendoc-no-parent.patch
# Automatically added by buildreq on Sat Apr 16 2005
BuildRequires: esound-devel gdk-pixbuf-devel glib-devel gnome-libs-devel gtk+-devel imlib-devel libaudiofile-devel libdb1-devel perl-XML-Parser perl-XML-Writer perl-devel xorg-x11-devel
%package GdkImlib
Summary: Perl module for the GTK+ GdkImlib library
Group: Development/GNOME and GTK+
Requires(post,preun): %name = %version-%release
%package GdkPixbuf
Summary: Perl module for the GTK+ GdkPixbuf library
Group: Development/GNOME and GTK+
Requires(post,preun): %name = %version-%release
%package Gnome
Summary: Perl module for the Gnome 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
# fix for new MakeMaker (ie new perl 5.8.0)
%__perl -pi -e '/CCCMD/ && s|/m;|/mg;|' */Makefile.PL
%build
cd Gtk
%perl_vendor_build --lazy-load MAN3PODS=
%__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 MAN3PODS=
%__install -pD -m644 build/perl-gdkimlib-ref.pod blib/lib/Gtk/Gdk/ImlibImage/reference.pod
cd ../GdkPixbuf
%perl_vendor_build MAN3PODS=
%__install -pD -m644 build/perl-gdkpixbuf-ref.pod blib/lib/Gtk/Gdk/Pixbuf/reference.pod
cd ../Gnome
%perl_vendor_build MAN3PODS=
%__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
…
Todas as alterações você pod ver aqui
Name: perl-GTK
Version: 0.7009
Release: alt1
Summary: Perl module for the GTK+ library
License: GPL or Artistic
Group: Development/GNOME and GTK+
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
Patch0: %name-0.7002-mdk-ensure_focus.patch
Patch1: %name-0.7003-mdk-gdk_event_copy-withnowindow.patch
Patch2: %name-0.7005-mdk-XSetInputFocus.patch
Patch3: %name-0.7008-mdk-GdkPixbuf-memleak.patch
Patch4: %name-0.7009-alt-gendoc-no-parent.patch
# Automatically added by buildreq on Sat Apr 16 2005
BuildRequires: esound-devel gdk-pixbuf-devel glib-devel gnome-libs-devel gtk+-devel imlib-devel libaudiofile-devel libdb1-devel perl-XML-Parser perl-XML-Writer perl-devel xorg-x11-devel
%package GdkImlib
Summary: Perl module for the GTK+ GdkImlib library
Group: Development/GNOME and GTK+
Requires(post,preun): %name = %version-%release
%package GdkPixbuf
Summary: Perl module for the GTK+ GdkPixbuf library
Group: Development/GNOME and GTK+
Requires(post,preun): %name = %version-%release
%package Gnome
Summary: Perl module for the Gnome 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
# fix for new MakeMaker (ie new perl 5.8.0)
%__perl -pi -e '/CCCMD/ && s|/m;|/mg;|' */Makefile.PL
%build
cd Gtk
%perl_vendor_build --lazy-load MAN3PODS=
%__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 MAN3PODS=
%__install -pD -m644 build/perl-gdkimlib-ref.pod blib/lib/Gtk/Gdk/ImlibImage/reference.pod
cd ../GdkPixbuf
%perl_vendor_build MAN3PODS=
%__install -pD -m644 build/perl-gdkpixbuf-ref.pod blib/lib/Gtk/Gdk/Pixbuf/reference.pod
cd ../Gnome
%perl_vendor_build MAN3PODS=
%__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
…
Todas as alterações você pod ver aqui