Author: czarny Date: Sun May 20 15:37:58 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new from pldcpan.pl and some BR-s found on the way
---- Files affected: SPECS: perl-Gtk2-Spell.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Gtk2-Spell.spec diff -u /dev/null SPECS/perl-Gtk2-Spell.spec:1.1 --- /dev/null Sun May 20 17:37:58 2007 +++ SPECS/perl-Gtk2-Spell.spec Sun May 20 17:37:53 2007 @@ -0,0 +1,81 @@ +# $Revision$, $Date$ +# +# TODO: +# - license, links +# - translations +# - BR-s and R-s +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Gtk2 +%define pnam Spell +Summary: Gtk2::Spell - Bindings for GtkSpell with Gtk2 +#Summary(pl.UTF-8): +Name: perl-Gtk2-Spell +Version: 1.03 +Release: 1 +# same as perl (REMOVE THIS LINE IF NOT TRUE) +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Gtk2/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: caf3b6d1e48e4c9096b2ab1ee15cbf4d +# generic URL, check or change before uncommenting +#URL: http://search.cpan.org/dist/Gtk2-Spell/ +BuildRequires: gtkspell-devel +BuildRequires: perl-ExtUtils-Depends +BuildRequires: perl-ExtUtils-PkgConfig +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +%endif +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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 +suggested corrections. + + + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} \ + OPTIMIZE="%{rpmcflags}" + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README +%{perl_vendorarch}/Gtk2/*.pm +%dir %{perl_vendorarch}/auto/Gtk2/Spell +%{perl_vendorarch}/auto/Gtk2/Spell/*.bs +%attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/Spell/*.so +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/05/20 15:37:53 czarny +- new from pldcpan.pl and some BR-s found on the way + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
