]> git.pld-linux.org Git - packages/perl-Email-Valid-Loose.git/commitdiff
- new
authorradek <radek@pld-linux.org>
Fri, 25 Jul 2003 19:22:52 +0000 (19:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Email-Valid-Loose.spec -> 1.1

perl-Email-Valid-Loose.spec [new file with mode: 0644]

diff --git a/perl-Email-Valid-Loose.spec b/perl-Email-Valid-Loose.spec
new file mode 100644 (file)
index 0000000..e4a1f36
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Email
+%define        pnam    Valid-Loose
+Summary:       Email::Valid::Loose - Email::Valid which allows dot before at mark
+#Summary(pl):  
+Name:          perl-Email-Valid-Loose
+Version:       0.02
+Release:       1
+# same as perl
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 53bce7c5f1a2e40b8c96ae6ef0246c26
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{!?_without_tests:1}0
+BuildRequires: perl-Email-Valid
+BuildRequires: perl-Test-Simple
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Email::Valid::Loose is a subclass of Email::Valid, which allows . (dot)
+before @ (at-mark).  It is invalid in RFC822, but is commonly used in
+some of mobile phone addresses in Japan (like docomo.ne.jp or jp-t.ne.jp).
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{!?_without_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/Valid/*.pm
+%{_mandir}/man3/*
This page took 0.056661 seconds and 4 git commands to generate.