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