]> git.pld-linux.org Git - packages/perl-Gtk2-Spell.git/blob - perl-Gtk2-Spell.spec
- removed zero-sized .bs file
[packages/perl-Gtk2-Spell.git] / perl-Gtk2-Spell.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # perform "make test" (requires DISPLAY)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Gtk2
7 %define pnam    Spell
8 Summary:        Gtk2::Spell - Bindings for GtkSpell with Gtk2
9 Summary(pl.UTF-8):      Gtk2::Spell - wiązania dla GtkSpell z Gtk2
10 Name:           perl-Gtk2-Spell
11 Version:        1.04
12 Release:        1
13 License:        LGPL v2.1+
14 Group:          Development/Languages/Perl
15 Source0:        http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  c6cb96840b8ccd48de160034f8d04252
17 URL:            http://search.cpan.org/dist/Gtk2-Spell/
18 BuildRequires:  gtkspell-devel >= 2.0.0
19 BuildRequires:  perl-ExtUtils-Depends >= 0.100
20 BuildRequires:  perl-ExtUtils-PkgConfig >= 0.10
21 BuildRequires:  perl-Glib-devel >= 1.240
22 BuildRequires:  perl-Gtk2 >= 1.0
23 BuildRequires:  perl-devel >= 1:5.8.0
24 BuildRequires:  rpm-perlprov >= 4.1-13
25 Requires:       gtkspell >= 2.0.0
26 Requires:       perl-Glib >= 1.240
27 Requires:       perl-Gtk2 >= 1.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Perl bindings to GtkSpell, used in concert with Gtk2::TextView.
32 Provides mis-spelled word highlighting in red and offers a right click
33 pop-up menu with suggested corrections.
34
35 %description -l pl.UTF-8
36 Dowiązania Perla do GtkSpell, używanego wraz z Gtk2::TextView.
37 Udostępniają podświetlanie na czerwono błędnie napisanych słów i
38 oferują menu z podpowiedziami poprawek pod prawym przyciskiem myszy.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make} \
47         CC="%{__cc}" \
48         OPTIMIZE="%{rpmcflags}"
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog README
64 %{perl_vendorarch}/Gtk2/Spell.pm
65 %{perl_vendorarch}/Gtk2/Spell
66 %dir %{perl_vendorarch}/auto/Gtk2/Spell
67 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/Spell/Spell.so
68 %{_mandir}/man3/Gtk2::Spell.3pm*
This page took 0.057839 seconds and 3 git commands to generate.