packages: perl-App-SVN-Bisect/perl-App-SVN-Bisect.spec (NEW) - initial chec...
pluto
pluto at pld-linux.org
Sun May 16 14:04:52 CEST 2010
Author: pluto Date: Sun May 16 12:04:52 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- initial checkin (thx agaran).
---- Files affected:
packages/perl-App-SVN-Bisect:
perl-App-SVN-Bisect.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-App-SVN-Bisect/perl-App-SVN-Bisect.spec
diff -u /dev/null packages/perl-App-SVN-Bisect/perl-App-SVN-Bisect.spec:1.1
--- /dev/null Sun May 16 14:04:52 2010
+++ packages/perl-App-SVN-Bisect/perl-App-SVN-Bisect.spec Sun May 16 14:04:43 2010
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir App
+%define pnam SVN-Bisect
+Summary: App::SVN::Bisect - binary search through svn revisions
+Name: perl-App-SVN-Bisect
+Version: 1.0
+Release: 1
+License: artistic_2
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/App/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: d8540f354b27d904eee56cc473542cbc
+URL: http://search.cpan.org/dist/App-SVN-Bisect/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(IO::All) > 0.38
+BuildRequires: perl-Test-Exception
+BuildRequires: perl-Test-Output
+BuildRequires: perl-YAML-Syck
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements the backend of the "svn-bisect" command line
+tool. See the POD documentation of that tool, for usage details.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README TODO
+%attr(755,root,root) %{_bindir}/svn-bisect
+%{perl_vendorlib}/App/SVN/*.pm
+%{_mandir}/man3/*
+%{_mandir}/man1/*
+
+%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 2010/05/16 12:04:43 pluto
+- initial checkin (thx agaran).
================================================================
More information about the pld-cvs-commit
mailing list