From d1895297afe1dc0dfd58dee1ae047f4e3f6d5238 Mon Sep 17 00:00:00 2001 From: radek Date: Thu, 9 Dec 2004 23:47:39 +0000 Subject: [PATCH 1/1] - new Changed files: perl-Email-Reply.spec -> 1.1 --- perl-Email-Reply.spec | 59 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 perl-Email-Reply.spec diff --git a/perl-Email-Reply.spec b/perl-Email-Reply.spec new file mode 100644 index 0000000..3976b0a --- /dev/null +++ b/perl-Email-Reply.spec @@ -0,0 +1,59 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Email +%define pnam Reply +Summary: Email::Reply - Reply to a Message +Summary(pl): Email::Reply - odpowiedz na e-mail +Name: perl-Email-Reply +Version: 1.1 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 914687ef7e0f9a680d57ad4aeae162e1 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Email-Abstract +BuildRequires: perl-Email-Address +BuildRequires: perl-Email-MIME +BuildRequires: perl-Email-MIME-Creator >= 1.2 +BuildRequires: perl-Email-MIME-Modifier >= 1.2 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This software takes the hard out of generating replies to email messages. + +# %description -l pl +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes +%{perl_vendorlib}/Email/*.pm +%{_mandir}/man3/* -- 2.44.0