SPECS: perl-Rose-HTML-Objects.spec (NEW) - new

radek radek at pld-linux.org
Fri Feb 20 11:42:16 CET 2009


Author: radek                        Date: Fri Feb 20 10:42:16 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Rose-HTML-Objects.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Rose-HTML-Objects.spec
diff -u /dev/null SPECS/perl-Rose-HTML-Objects.spec:1.1
--- /dev/null	Fri Feb 20 11:42:16 2009
+++ SPECS/perl-Rose-HTML-Objects.spec	Fri Feb 20 11:42:11 2009
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Rose
+%define	pnam	HTML-Objects
+Summary:	Rose::HTML::Objects - Object-oriented interfaces for HTML.
+#Summary(pl.UTF-8):	
+Name:		perl-Rose-HTML-Objects
+Version:	0.601
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Rose/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c48b914f7b52f1c02c994ef41f416722
+URL:		http://search.cpan.org/dist/Rose-HTML-Objects/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Clone::PP)
+BuildRequires:	perl(Rose::DateTime) >= 0.532
+BuildRequires:	perl(Rose::Object) >= 0.854
+BuildRequires:	perl(Rose::URI) >= 0.021
+BuildRequires:	perl-DateTime >= 0.20
+BuildRequires:	perl-Email-Valid
+BuildRequires:	perl-HTML-Parser
+BuildRequires:	perl-Image-Size
+BuildRequires:	perl-IO-String >= 1.08
+BuildRequires:	perl-URI
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Rose::HTML::Objects is a framework for creating a reusable set of
+HTML widgets as mutable Perl objects that can be serialized to HTML
+or XHTML for display purposes.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Rose/HTML
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/02/20 10:42:11  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list