packages: perl-MIME-Lite-TT/perl-MIME-Lite-TT.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Sun Nov 13 22:28:46 CET 2011
Author: baggins Date: Sun Nov 13 21:28:46 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
packages/perl-MIME-Lite-TT:
perl-MIME-Lite-TT.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-MIME-Lite-TT/perl-MIME-Lite-TT.spec
diff -u /dev/null packages/perl-MIME-Lite-TT/perl-MIME-Lite-TT.spec:1.1
--- /dev/null Sun Nov 13 22:28:46 2011
+++ packages/perl-MIME-Lite-TT/perl-MIME-Lite-TT.spec Sun Nov 13 22:28:40 2011
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir MIME
+%define pnam Lite-TT
+%include /usr/lib/rpm/macros.perl
+Summary: MIME::Lite::TT - TT enabled MIME::Lite wrapper
+#Summary(pl.UTF-8):
+Name: perl-MIME-Lite-TT
+Version: 0.02
+Release: 1
+License: unknown
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/MIME/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 82ac8e6dd4b0274ce552d5d2ace23eb4
+URL: http://search.cpan.org/dist/MIME-Lite-TT/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(MIME::Lite)
+BuildRequires: perl-Template-Toolkit
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MIME::Lite::TT is the wrapper of MIME::Lite which enabled
+Template::Toolkit as a template of email.
+
+# %description -l pl.UTF-8
+# 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} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/MIME/Lite/*.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/11/13 21:28:40 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list