SPECS: perl-Test-Spelling.spec (NEW) - initial, builds here, rel 1
agaran
agaran at pld-linux.org
Tue Jan 8 11:06:30 CET 2008
Author: agaran Date: Tue Jan 8 10:06:30 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, builds here, rel 1
---- Files affected:
SPECS:
perl-Test-Spelling.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Test-Spelling.spec
diff -u /dev/null SPECS/perl-Test-Spelling.spec:1.1
--- /dev/null Tue Jan 8 11:06:30 2008
+++ SPECS/perl-Test-Spelling.spec Tue Jan 8 11:06:25 2008
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Test
+%define pnam Spelling
+Summary: Test::Spelling - check for spelling errors in POD files
+#Summary(pl):
+Name: perl-Test-Spelling
+Version: 0.11
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/I/IT/ITUB/Test-Spelling-0.11.tar.gz
+# Source0-md5: 1820e1248bf5dfba6139b6812a5f92ae
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Pod::Spell) >= 1.01
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Check POD files for spelling mistakes, using Pod::Spell and spell to do
+the heavy lifting.
+
+# %description -l pl
+# 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} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Test/*.pm
+#%%{perl_vendorlib}/Test/Spelling
+%{_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 2008-01-08 10:06:25 agaran
+- initial, builds here, rel 1
+
================================================================
More information about the pld-cvs-commit
mailing list