[perl-Gtk2-Spell] 1.04 bump

Petr Šabata psabata at fedoraproject.org
Fri Jan 27 13:43:34 UTC 2012


commit b9e75c42ae24e74f80bceb543a78ff4b642d76c8
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Jan 27 14:40:20 2012 +0100

    1.04 bump

 .gitignore           |    1 +
 Gtk2-Spell-1.03.diff |   13 -------------
 perl-Gtk2-Spell.spec |   50 ++++++++++++++++++++++++--------------------------
 sources              |    2 +-
 4 files changed, 26 insertions(+), 40 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a705fb2..9512ce9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gtk2-Spell-1.03.tar.gz
+/Gtk2-Spell-1.04.tar.gz
diff --git a/perl-Gtk2-Spell.spec b/perl-Gtk2-Spell.spec
index 681b246..306a3d5 100644
--- a/perl-Gtk2-Spell.spec
+++ b/perl-Gtk2-Spell.spec
@@ -1,21 +1,26 @@
 Name:           perl-Gtk2-Spell
-Version:        1.03
-Release:        19%{?dist}
+Version:        1.04
+Release:        1%{?dist}
 Summary:        Gtk2::Spell perl module
-
-Group:     Development/Libraries
-License:   LGPLv2+
-URL:       http://search.cpan.org/dist/Gtk2-Spell/
-Source0:   http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Gtk2-Spell-%{version}.tar.gz
-Patch0:    Gtk2-Spell-1.03.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  gtk2-devel, perl(Gtk2), perl(Glib), perl(ExtUtils::Depends)
+Group:          Development/Libraries
+License:        LGPLv2+
+URL:            http://search.cpan.org/dist/Gtk2-Spell/
+Source0:        http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk2-Spell-%{version}.tar.gz
+BuildRequires:  gtk2-devel
+BuildRequires:  gtkspell-devel
+# For when tests are enabled
+#BuildRequires:  perl(constant)
+BuildRequires:  perl(ExtUtils::Depends)
+BuildRequires:  perl(ExtUtils::PkgConfig)
+BuildRequires:  perl(Glib)
 BuildRequires:  perl(Glib::MakeHelper)
-BuildRequires:  perl(ExtUtils::PkgConfig), gtkspell-devel
+BuildRequires:  perl(Gtk2)
+BuildRequires:  perl(Gtk2::CodeGen)
 BuildRequires:  perl(Test::More)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 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
@@ -23,41 +28,35 @@ suggested corrections.
 
 %prep
 %setup -q -n Gtk2-Spell-%{version}
-%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w %{buildroot}/*
 
-
 %check
 # We do not run make test, as it requires an active X11-session.  I rather
 # suspect this won't work under mock/plague :)
 #make test
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
-%doc README gtkspell_simple.pl AUTHORS LICENSE ChangeLog 
+%doc README gtkspell_simple.pl AUTHORS LICENSE ChangeLog NEWS
 %{perl_vendorarch}/auto/Gtk2/*
 %{perl_vendorarch}/Gtk2/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Fri Jan 27 2012 Petr Šabata <contyk at redhat.com> - 1.04-1
+- 1.04 bump
+- Spec cleanup
+- Update Source URL
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
@@ -110,4 +109,3 @@ rm -rf %{buildroot}
 
 * Thu Feb 16 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.03-1
 - fixups, initial spec
-
diff --git a/sources b/sources
index 9a4a5bd..bdf21f5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-caf3b6d1e48e4c9096b2ab1ee15cbf4d  Gtk2-Spell-1.03.tar.gz
+c6cb96840b8ccd48de160034f8d04252  Gtk2-Spell-1.04.tar.gz



More information about the perl-devel mailing list