]> git.pld-linux.org Git - SPECS.git/blob - perl-SVN-Mirror.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-SVN-Mirror.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    SVN
6 %define         pnam    Mirror
7 Summary:        SVN::Mirror - mirror remote subversion repository to local
8 Summary(pl.UTF-8):      SVN::Mirror - lokalne mirrorowane zdalnych repozytoriĆ³w subversion
9 Name:           perl-SVN-Mirror
10 Version:        0.73
11 Release:        2
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-authors/id/C/CL/CLKAO/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  170e067de85916f8d0b6a508194fbba3
17 URL:            http://search.cpan.org/dist/SVN-Mirror/
18 BuildRequires:  perl-Class-Accessor
19 BuildRequires:  perl-Data-UUID
20 BuildRequires:  perl-File-chdir
21 BuildRequires:  perl-Sort-Versions
22 BuildRequires:  perl-Term-ReadKey
23 BuildRequires:  perl-TimeDate
24 BuildRequires:  perl-URI
25 BuildRequires:  perl-VCP
26 BuildRequires:  perl-devel >= 1:5.8.0
27 BuildRequires:  perl-subversion >= 1.0.3
28 BuildRequires:  rpm-perlprov >= 4.1-13
29 %if %{with tests}
30 BuildRequires:  perl-BSD-Resource
31 BuildRequires:  perl-SVN-Simple
32 BuildRequires:  subversion
33 %endif
34 BuildArch:      noarch
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         _noautoreq      perl(SVK::.*)
38
39 %description
40 Mirror remote subversion repository to local.
41
42 %description -l pl.UTF-8
43 Lokalne mirrorowane zdalnych repozytoriĆ³w subversion.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 yes n | %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 yes n | %{__make}
52
53 %{?with_tests:yes n | %{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 yes n | %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc CHANGE*
67 %attr(755,root,root) %{_bindir}/*
68 %{perl_vendorlib}/SVN/Mirror
69 %{perl_vendorlib}/SVN/Mirror.pm
70 %{_mandir}/man[13]/*
This page took 0.517677 seconds and 3 git commands to generate.