1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
# $Id: packages,v 1.1 2004/10/28 08:04:59 dexter Exp $
# Environment variables:
# without_test=%{$without_test} - don't run `make test'
%define without_test %{?$without_test:1}%{!?$without_test:0}
Source: libvcp-perl
Section: perl
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.1
Upstream-Source: <URL:http://www.cpan.org/pub/CPAN/authors/id/A/AU/AUTRIJUS/VCP-autrijus-snapshot-(0.9-[0-9.-]*)\.tar.gz>
Description: perl VCP - Versioned Copy - copying hierarchies of versioned files
Copyright: .
Copyright (c) 2000, 2001, Perforce Software, Inc.
All rights reserved.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
- Neither the name of the Perforce Software, Inc.nor the names of
its contributors may be used to endorse or promote products
derived from this software without specific prior written
permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS
AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
Build-Depends: perl (>= 5.8)
Build-Depends: libregexp-shellish-perl
Build-Depends: libtext-diff-perl
Build-Depends: libxml-parser-perl
Build-Depends: libipc-run3-perl
Build-Depends: libxml-autowriter-perl
Build-Depends: cvs
Build: sh
CC=${CC:-gcc}
CFLAGS=${CFLAGS:--Wall -g}
if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
CFLAGS="$CFLAGS -O0"
else
CFLAGS="$CFLAGS -O2"
fi
PERL=${PERL:-/usr/bin/perl}
$PERL Makefile.PL INSTALLDIRS=vendor
make CC="$CC" OPTIMIZE="$CFLAGS"
%if %{!?without_test:1}
# The package don't pass the test, but the output can be useful to track
# problems on autobuilders.
make test || true
%endif
Clean: sh
test -f Makefile && touch Makefile && make distclean || true
Package: libvcp-perl
Architecture: all
Depends: libregexp-shellish-perl
Depends: libtext-diff-perl
Depends: libxml-parser-perl
Depends: libxml-autowriter-perl
Depends: []
Description: perl VCP - Versioned Copy - copying hierarchies of versioned files
vcp (and the Perl module VCP.pm) is a system for copying resources
under version control between repositories. cvs, p4 and RevML files
are currently supported.
.
vcp can re-root directory hierarchies diring the transfer, and,
using source specifications, or by filtering RevML files, subsets of
files and revisions may be copied.
.
Both whole-repository and incremental updates are supported.
Install: sh
PERL=${PERL:-/usr/bin/perl}
make install PREFIX=$ROOT/usr
yada install -doc README TODO
yada install -doc -as changelog CHANGES
|