]> git.pld-linux.org Git - packages/perl-Gtk2-Html2.git/blob - perl-Gtk2-Html2.spec
- updated to 0.06, deprecated now
[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.06
10 Release:        1
11 License:        LGPL v2+
12 Group:          Development/Languages/Perl
13 Source0:        https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5:  827b00137fcee6372cb7e07c9a3c0a9f
15 Patch0:         %{name}-build.patch
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  libgtkhtml-devel >= 2.0.0
18 BuildRequires:  perl-ExtUtils-Depends >= 0.200
19 BuildRequires:  perl-ExtUtils-PkgConfig >= 0.1
20 BuildRequires:  perl-Glib-devel >= 1.040
21 BuildRequires:  perl-Gtk2-devel >= 1.040
22 BuildRequires:  perl-devel >= 1:5.8.0
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 BuildRequires:  rpmbuild(macros) >= 1.745
25 Requires:       libgtkhtml >= 2.0.0
26 Requires:       perl-Glib >= 1.040
27 Requires:       perl-Gtk2 >= 1.040
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 The Gtk2::Html2 extension allows a Perl developer to use the gtkhtml2
32 HTML display widget with perl-Gtk2.
33
34 Note: this module is deprecated and no longer maintained.
35
36 %description -l pl.UTF-8
37 Moduł Gtk2::Html2 pozwala programistom perlowym używać widgetu
38 wyświetlającego HTML gtkhtml2 wraz z modułem perl-Gtk2.
39
40 Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany.
41
42 %package devel
43 Summary:        Development files for Perl Gtk2-Html2 bindings
44 Summary(pl.UTF-8):      Pliki programistyczne wiązań Gtk2-Html2 dla Perla
45 Group:          Development/Languages/Perl
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       libgtkhtml-devel >= 2.0.0
48 Requires:       perl-Cairo-devel
49 Requires:       perl-Glib-devel >= 1.040
50 Requires:       perl-Gtk2-devel >= 1.040
51
52 %description devel
53 Development files for Perl Gtk2-Html2 bindings.
54
55 %description devel -l pl.UTF-8
56 Pliki programistyczne wiązań Gtk2-Html2 dla Perla.
57
58 %prep
59 %setup -q -n %{pnam}-%{version}
60 %patch0 -p1
61
62 %build
63 %{__perl} Makefile.PL \
64         INSTALLDIRS=vendor
65
66 %{__make} \
67         CC="%{__cc}" \
68         OPTIMIZE="%{rpmcflags}"
69
70 %{?with_tests:%{__make} test}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} pure_install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gtk2/Html2/*.pod
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README TODO
86 %{perl_vendorarch}/Gtk2/Html2.pm
87 %dir %{perl_vendorarch}/Gtk2/Html2
88 %dir %{perl_vendorarch}/auto/Gtk2/Html2
89 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/Html2/Html2.so
90 %{_mandir}/man3/Gtk2::Html2*.3pm*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %{perl_vendorarch}/Gtk2/Html2/Install
This page took 0.077213 seconds and 3 git commands to generate.