]> git.pld-linux.org Git - packages/perl-SVN-Notify.git/blame - perl-SVN-Notify.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SVN-Notify.git] / perl-SVN-Notify.spec
CommitLineData
602ba66b
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%define pdir SVN
6%define pnam Notify
602ba66b
ER
7Summary: SVN::Notify - Subversion activity notification
8Name: perl-SVN-Notify
4809476b 9Version: 2.83
602ba66b
ER
10Release: 1
11# same as perl
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz
4809476b 15# Source0-md5: 5430a8b268e91c90b74fa3684c899b13
602ba66b
ER
16URL: http://search.cpan.org/dist/SVN-Notify/
17BuildRequires: perl-Module-Build
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
2542540b
ER
20%if %{with tests}
21BuildRequires: perl-Test-Pod >= 1.41
22%endif
602ba66b
ER
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This class may be used for sending email messages for Subversion
28repository activity.
29
30There are a number of different modes supported, and SVN::Notify is
31fully subclassable, to add new functionality, and offers comprehensive
32content 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
46rm -rf $RPM_BUILD_ROOT
47./Build install
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
4809476b 54%doc Changes README.md
602ba66b
ER
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 0.064367 seconds and 4 git commands to generate.