1 |
%define upstream_name VCP-Dest-svk |
2 |
%define upstream_version 0.29 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 4 |
7 |
|
8 |
Summary: VCP driver to write svk repository |
9 |
License: GPL+ or Artistic |
10 |
Group: Development/Perl |
11 |
Url: http://searc.cpan.org/dist/%{upstream_name} |
12 |
Source0: http://www.cpan.org/authors/id/C/CL/CLKAO/%{upstream_name}-%{upstream_version}.tar.bz2 |
13 |
|
14 |
BuildRequires: perl-devel |
15 |
BuildRequires: perl-IPC-Run3 |
16 |
BuildRequires: perl-BFD |
17 |
BuildRequires: perl-VCP |
18 |
BuildRequires: perl-SVK |
19 |
BuildRequires: perl(YAML) |
20 |
|
21 |
BuildArch: noarch |
22 |
|
23 |
%description |
24 |
This driver allows vcp to insert revisions in to a Subversion repository via |
25 |
the svk interface. You could use the vcp command line interface or the |
26 |
integrated SVK mirror command. |
27 |
|
28 |
Among other it allows you to mirror cvs repository with the svk command. |
29 |
|
30 |
Check http://svk.elixus.org/?SVKCVS and http://svk.elixus.org/?MirrorVCP for |
31 |
more information. |
32 |
|
33 |
%prep |
34 |
%setup -q -n %{upstream_name}-%{upstream_version} |
35 |
|
36 |
%build |
37 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
38 |
# (misc) parallel build broken |
39 |
make |
40 |
|
41 |
%check |
42 |
make test |
43 |
|
44 |
%install |
45 |
rm -rf $RPM_BUILD_ROOT |
46 |
%makeinstall_std |
47 |
rm -rf $RPM_BUILD_ROOT/%{perl_vendorarch} |
48 |
|
49 |
%clean |
50 |
rm -rf $RPM_BUILD_ROOT |
51 |
|
52 |
%files |
53 |
%defattr(-,root,root) |
54 |
%doc CHANGES README |
55 |
%{perl_vendorlib}/* |
56 |
%{_mandir}/man3/* |