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