]> git.pld-linux.org Git - SPECS.git/blob - perl-SVN-Notify.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-SVN-Notify.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    SVN
6 %define         pnam    Notify
7 Summary:        SVN::Notify - Subversion activity notification
8 Name:           perl-SVN-Notify
9 Version:        2.83
10 Release:        1
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz
15 # Source0-md5:  5430a8b268e91c90b74fa3684c899b13
16 URL:            http://search.cpan.org/dist/SVN-Notify/
17 BuildRequires:  perl-Module-Build
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Test-Pod >= 1.41
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This class may be used for sending email messages for Subversion
28 repository activity.
29
30 There are a number of different modes supported, and SVN::Notify is
31 fully subclassable, to add new functionality, and offers comprehensive
32 content filtering to easily modify the format of its messages.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Build.PL \
39         destdir=$RPM_BUILD_ROOT \
40         installdirs=vendor
41 ./Build
42
43 %{?with_tests:./Build test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 ./Build install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes README.md
55 %attr(755,root,root) %{_bindir}/svnnotify
56 %{_mandir}/man1/svnnotify.1p*
57 %{_mandir}/man3/SVN::Notify*.3pm*
58 %{perl_vendorlib}/SVN/Notify.pm
59 %{perl_vendorlib}/SVN/Notify
This page took 1.376473 seconds and 3 git commands to generate.