]> git.pld-linux.org Git - packages/perl-Test-Manifest.git/commitdiff
- new, STBR
authorradek <radek@pld-linux.org>
Sun, 25 Aug 2002 16:00:07 +0000 (16:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Test-Manifest.spec -> 1.1

perl-Test-Manifest.spec [new file with mode: 0644]

diff --git a/perl-Test-Manifest.spec b/perl-Test-Manifest.spec
new file mode 100644 (file)
index 0000000..b657ba1
--- /dev/null
@@ -0,0 +1,50 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Test
+%define        pnam    Manifest
+Summary:       Test::Manifest - interact with a t/test_manifest file
+#Summary(pl):  
+Name:          perl-Test-Manifest
+Version:       0.5
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_without_tests:0}%{!?_without_tests:1}
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MakeMaker assumes that you want to run all of the .t files in the t/
+directory in ascii-betical order during C<make test> unless you say
+otherwise.  This leads to some interesting naming schemes for test files
+to get them in the desired order.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{!?_without_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)
+%{perl_sitelib}/%{pdir}/*.pm
+%{_mandir}/man3/*
This page took 0.088036 seconds and 4 git commands to generate.