]> git.pld-linux.org Git - SPECS.git/blob - perl-SVN-Web.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-SVN-Web.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    SVN
6 %define         pnam    Web
7 Summary:        Subversion repository web frontend
8 Summary(pl.UTF-8):      Frontend WWW dla repozytoriĆ³w subversion
9 Name:           perl-SVN-Web
10 Version:        0.49
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/SVN/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  e77ae70b158bc6fe94e244272faefb16
17 URL:            http://search.cpan.org/~nikc/SVN-Web/
18 BuildRequires:  perl-Locale-Maketext-Lexicon
19 BuildRequires:  perl-Locale-Maketext-Simple
20 BuildRequires:  perl-Template-Plugin-Number-Format
21 BuildRequires:  perl-Template-Toolkit
22 BuildRequires:  perl-Text-Diff
23 BuildRequires:  perl-Text-Diff-HTML
24 BuildRequires:  perl-URI
25 BuildRequires:  perl-XML-RSS
26 BuildRequires:  perl-YAML
27 BuildRequires:  perl-devel >= 1:5.8.0
28 BuildRequires:  perl-subversion >= 1.0.4
29 BuildRequires:  rpm-perlprov >= 4.1-13
30 %if %{with tests}
31 #BuildRequires: perl-Test-WWW-Mechanize ?
32 %endif
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Subversion repository web frontend.
38
39 %description -l pl.UTF-8
40 Frontend WWW dla repozytoriĆ³w subversion.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} pure_install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README TODO
65 %attr(755,root,root) %{_bindir}/*
66 %{perl_vendorlib}/SVN/Web
67 %{perl_vendorlib}/SVN/Web.pm
68 %{perl_vendorlib}/SVN/*.pod
69 %{_mandir}/man3/*
This page took 0.115312 seconds and 3 git commands to generate.