]> git.pld-linux.org Git - packages/perl-Rose-HTML-Objects.git/blob - perl-Rose-HTML-Objects.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Rose-HTML-Objects.git] / perl-Rose-HTML-Objects.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Rose
6 %define pnam    HTML-Objects
7 Summary:        Rose::HTML::Objects - Object-oriented interfaces for HTML.
8 #Summary(pl.UTF-8):     
9 Name:           perl-Rose-HTML-Objects
10 Version:        0.611
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Rose/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  37df3f44def68fcf09e59fc69d1e5886
17 URL:            http://search.cpan.org/dist/Rose-HTML-Objects/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl(Clone::PP)
22 BuildRequires:  perl(Rose::DateTime) >= 0.532
23 BuildRequires:  perl(Rose::Object) >= 0.854
24 BuildRequires:  perl(Rose::URI) >= 0.021
25 BuildRequires:  perl-DateTime >= 0.20
26 BuildRequires:  perl-Email-Valid
27 BuildRequires:  perl-HTML-Parser
28 BuildRequires:  perl-Image-Size
29 BuildRequires:  perl-IO-String >= 1.08
30 BuildRequires:  perl-URI
31 %endif
32 BuildArch:      noarch
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Rose::HTML::Objects is a framework for creating a reusable set of
37 HTML widgets as mutable Perl objects that can be serialized to HTML
38 or XHTML for display purposes.
39
40 # %description -l pl.UTF-8
41 # TODO
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Rose/HTMLx/Form
56
57 %{__make} pure_install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Changes
66 %{perl_vendorlib}/Rose/HTML
67 %{perl_vendorlib}/Rose/HTMLx
68 %{_mandir}/man3/*
This page took 0.09307 seconds and 4 git commands to generate.