]> git.pld-linux.org Git - packages/perl-HTML-TagCloud.git/commitdiff
- new
authormis <mis@pld-linux.org>
Fri, 22 Feb 2008 08:43:42 +0000 (08:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-HTML-TagCloud.spec -> 1.1

perl-HTML-TagCloud.spec [new file with mode: 0644]

diff --git a/perl-HTML-TagCloud.spec b/perl-HTML-TagCloud.spec
new file mode 100644 (file)
index 0000000..329ef64
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    HTML
+%define                pnam    TagCloud
+Summary:       HTML::TagCloud - generate an HTML tag cloud
+Summary(pl):   HTML::TagCloud - genrowanie HTML-owej chmury tagów
+Name:          perl-HTML-TagCloud
+Version:       0.34
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 095f3b1d5159cd1ef1d3dd240f566bb3
+#%if %{with tests}
+#BuildRequires:        perl-HTML-Parser >= 1.0
+#%endif
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The HTML::TagCloud module enables you to generate "tag clouds" in
+HTML. Tag clouds serve as a textual way to visualize terms and topics
+that are used most frequently. The tags are sorted alphabetically and
+a larger font is used to indicate more frequent term usage.
+
+%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} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES
+%{perl_vendorlib}/%{pdir}/*.pm
+%{_mandir}/man3/*
This page took 0.029303 seconds and 4 git commands to generate.