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