]> git.pld-linux.org Git - packages/perl-Gtk2-Html2.git/blob - perl-Gtk2-Html2.spec
f5d6633f8fbbd37031f547c3d0a7ccde324b76f8
[packages/perl-Gtk2-Html2.git] / perl-Gtk2-Html2.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires X server)
4 #
5 %define         pnam    Gtk2-Html2
6 Summary:        Gtk2::Html2 - Perl interface to gtkhtml2 library
7 Summary(pl.UTF-8):      Gtk2::Html2 - perlowy interfejs do biblioteki gtkhtml2
8 Name:           perl-Gtk2-Html2
9 Version:        0.04
10 Release:        1
11 License:        LGPL
12 Group:          Development/Languages/Perl
13 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5:  f6e9bc1d93c9de735f70801912855ded
15 URL:            http://gtk2-perl.sourceforge.net/
16 BuildRequires:  libgtkhtml-devel >= 2.0.0
17 BuildRequires:  perl-ExtUtils-Depends >= 0.200
18 BuildRequires:  perl-ExtUtils-PkgConfig >= 0.1
19 BuildRequires:  perl-Glib >= 1.040
20 BuildRequires:  perl-Gtk2 >= 1.040
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildRequires:  rpmbuild(macros) >= 1.745
24 Requires:       libgtkhtml >= 2.0.0
25 Requires:       perl-Glib >= 1.040
26 Requires:       perl-Gtk2 >= 1.040
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The Gtk2::Html2 extension allows a Perl developer to use the gtkhtml2
31 HTML display widget with perl-Gtk2.
32
33 %description -l pl.UTF-8
34 Moduł Gtk2::Html2 pozwala programistom perlowym używać widgetu
35 wyświetlającego HTML gtkhtml2 wraz z modułem perl-Gtk2.
36
37 %prep
38 %setup -q -n %{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43
44 %{__make} \
45         CC="%{__cc}" \
46         OPTIMIZE="%{rpmcflags}"
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} pure_install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gtk2/Html2/*.pod
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog NEWS README TODO
64 %{perl_vendorarch}/Gtk2/Html2.pm
65 %dir %{perl_vendorarch}/Gtk2/Html2
66 %{perl_vendorarch}/Gtk2/Html2/Install
67 %dir %{perl_vendorarch}/auto/Gtk2/Html2
68 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/Html2/Html2.so
69 %{_mandir}/man3/Gtk2::Html2*.3pm*
This page took 0.052493 seconds and 2 git commands to generate.