From e772cf55ad806cac2d2abd834830146f1fd3ede5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 19 Jun 2021 11:24:44 +0200 Subject: [PATCH] - updated to 1.05, deprecated now - separated -devel package --- perl-Gtk2-Spell.spec | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/perl-Gtk2-Spell.spec b/perl-Gtk2-Spell.spec index d3b160c..11c7d00 100644 --- a/perl-Gtk2-Spell.spec +++ b/perl-Gtk2-Spell.spec @@ -7,18 +7,18 @@ Summary: Gtk2::Spell - Bindings for GtkSpell with Gtk2 Summary(pl.UTF-8): Gtk2::Spell - wiązania dla GtkSpell z Gtk2 Name: perl-Gtk2-Spell -Version: 1.04 +Version: 1.05 Release: 1 License: LGPL v2.1+ Group: Development/Languages/Perl -Source0: http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: c6cb96840b8ccd48de160034f8d04252 -URL: http://search.cpan.org/dist/Gtk2-Spell/ +Source0: https://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: e18a6963025a63ba8950168f78b8712f +URL: https://metacpan.org/dist/Gtk2-Spell BuildRequires: gtkspell-devel >= 2.0.0 BuildRequires: perl-ExtUtils-Depends >= 0.100 BuildRequires: perl-ExtUtils-PkgConfig >= 0.10 BuildRequires: perl-Glib-devel >= 1.240 -BuildRequires: perl-Gtk2 >= 1.0 +BuildRequires: perl-Gtk2-devel >= 1.0 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildRequires: rpmbuild(macros) >= 1.745 @@ -32,11 +32,32 @@ Perl bindings to GtkSpell, used in concert with Gtk2::TextView. Provides mis-spelled word highlighting in red and offers a right click pop-up menu with suggested corrections. +Note: this module is deprecated and no longer maintained. + %description -l pl.UTF-8 Dowiązania Perla do GtkSpell, używanego wraz z Gtk2::TextView. Udostępniają podświetlanie na czerwono błędnie napisanych słów i oferują menu z podpowiedziami poprawek pod prawym przyciskiem myszy. +Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany. + +%package devel +Summary: Development files for Perl Gtk2-Spell bindings +Summary(pl.UTF-8): Pliki programistyczne wiązań Gtk2-Spell dla Perla +Group: Development/Languages/Perl +Requires: %{name} = %{version}-%{release} +Requires: gtkspell-devel >= 2.0.0 +Requires: perl-Cairo-devel +Requires: perl-Glib-devel >= 1.240 +Requires: perl-Gtk2-devel >= 1.0 +Requires: perl-Pango-devel + +%description devel +Development files for Perl Gtk2-Spell bindings. + +%description devel -l pl.UTF-8 +Pliki programistyczne wiązań Gtk2-Spell dla Perla. + %prep %setup -q -n %{pdir}-%{pnam}-%{version} @@ -62,7 +83,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog README %{perl_vendorarch}/Gtk2/Spell.pm -%{perl_vendorarch}/Gtk2/Spell +%dir %{perl_vendorarch}/Gtk2/Spell %dir %{perl_vendorarch}/auto/Gtk2/Spell %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/Spell/Spell.so %{_mandir}/man3/Gtk2::Spell.3pm* + +%files devel +%defattr(644,root,root,755) +%{perl_vendorarch}/Gtk2/Spell/Install -- 2.44.0