%define module Gtk2-SourceView Summary: Perl module for the gtksourceview library Name: perl-%module Version: 1.000 Release: %mkrel 3 License: GPL or Artistic Group: Development/GNOME and GTK+ Source: %module-%version.tar.bz2 URL: http://gtk2-perl.sf.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gtk+2-devel BuildRequires: perl-devel BuildRequires: perl-ExtUtils-Depends BuildRequires: perl-Gnome2 >= 0.30 BuildRequires: perl-Glib > 1.00 BuildRequires: perl-Gnome2-Print BuildRequires: gtksourceview-devel >= 0.7 BuildRequires: perl-ExtUtils-PkgConfig BuildRequires: libgnomeprintui2-2-devel Requires: gtk+2 %description This module provides perl access to the libgtksourceview library, a library that adds syntax highlighting, line numbers, and other programming-editor features. GtkSourceView specializes these features for a code editor. %prep %setup -q -n %module-%version find -type d -name CVS | xargs rm -rf perl Makefile.PL INSTALLDIRS=vendor %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %make OPTIMIZE="$RPM_OPT_FLAGS" #%make test || : %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc examples %{_mandir}/*/* %{perl_vendorarch}/Gtk2/* %{perl_vendorarch}/auto/* %changelog * Mon Feb 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.000-3mdv2007.0 + Revision: 122789 - rebuild in order to get the same extension on x86_64 - Import perl-Gtk2-SourceView * Mon Oct 03 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.000-2mdk - Fix BuildRequires * Mon Oct 03 2005 Thierry Vignaud <tvignaud@mandriva.com> 1.000-1mdk - new release * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.0-4mdk - buildrequires fix * Tue Feb 08 2005 Sylvie Terjan <erinmargault@mandrake.org> 0.0-3mdk - rebuild for new perl and for nice number of version * Fri Aug 13 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.0-2mdk - rebuild for perl-5.8.5 - fix too long description - really remove CVS directories - remove explicit requires on libgtk+2 * Thu Apr 01 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.0-1mdk - initial release