%global srcname Gtk2-SourceView2 Name: perl-%{srcname} Version: 0.12 Release: 14%{?dist} Summary: Perl bindings for the GtkSourceView 2.x widget License: GPLv2+ or Artistic 2.0 URL: https://metacpan.org/release/%{srcname} Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{srcname}-%{version}.tar.gz BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(ExtUtils::PkgConfig) BuildRequires: perl(File::Spec) BuildRequires: perl(Glib::MakeHelper) BuildRequires: perl(Gtk2::CodeGen) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: pkgconfig(gtksourceview-2.0) # for runtime BuildRequires: perl(base) BuildRequires: perl(DynaLoader) BuildRequires: perl(Gtk2) # for the testsuite BuildRequires: perl(FindBin) BuildRequires: perl(Glib) BuildRequires: perl(Gtk2::TestHelper) BuildRequires: perl(lib) BuildRequires: perl(Test::Builder) BuildRequires: Xvfb xauth %{?perl_default_filter} %description Perl bindings for the C library "libgtksourceview2" that extends the standard GTK+ framework for multiline text editing with support for configurable syntax highlighting, unlimited undo/redo, UTF-8 compliant caseless searching, printing and other features typical of a source code editor. NOTICE: This module has been deprecated by the Gtk-Perl project. This means that the module will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI. %prep %setup -q -n %{srcname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* chmod a-x examples/* %check xvfb-run -a -w 1 make test %files %doc README Changes examples %license COPYING %{perl_vendorarch}/* # not needed at runtime %exclude %{perl_vendorarch}/Gtk2/SourceView2/Install %{_mandir}/man3/*.3* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.12-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 11 2024 Jitka Plesnikova - 0.12-13 - Perl 5.40 rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.12-9 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.12-6 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.12-3 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 2021 Thomas Moschny - 0.12-1 - Update to 0.12. Add a notice about the module's deprecation. * Tue Jul 28 2020 Fedora Release Engineering - 0.10-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.10-24 - Perl 5.32 rebuild * Thu Mar 19 2020 Jitka Plesnikova - 0.10-23 - Specify all dependencies * Thu Jan 30 2020 Fedora Release Engineering - 0.10-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.10-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.10-20 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.10-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.10-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.10-17 - Perl 5.28 rebuild * Sun Mar 25 2018 Thomas Moschny - 0.10-16 - Add BRs on make, gcc, and findutils. * Thu Feb 08 2018 Fedora Release Engineering - 0.10-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.10-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 0.10-12 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Aug 11 2016 Thomas Moschny - 0.10-10 - Use %%srcname macro. * Thu Aug 11 2016 Thomas Moschny - 0.10-9 - Tag COPYING with %%licence. * Mon May 16 2016 Jitka Plesnikova - 0.10-8 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.10-5 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.10-4 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Sep 5 2013 Thomas Moschny - 0.10-1 - initial rpm release (#1004913)