commit f381d2b5fdf85d318a9e49f7b95cffdc45310e11
Author: Arkadiusz Miƛkiewicz <ar...@maven.pl>
Date:   Wed Aug 30 14:39:38 2023 +0200

    Initial

 perl-Encode-IMAPUTF7.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
---
diff --git a/perl-Encode-IMAPUTF7.spec b/perl-Encode-IMAPUTF7.spec
new file mode 100644
index 0000000..cb4f90b
--- /dev/null
+++ b/perl-Encode-IMAPUTF7.spec
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_without tests           # unit tests
+#
+%define                pdir    Encode
+%define                pnam    IMAPUTF7
+Summary:       Encode::IMAPUTF7 - modification of UTF-7 encoding for IMAP
+Name:          perl-Encode-IMAPUTF7
+Version:       1.05
+Release:       1
+License:       Perl
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/Encode/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 2ef9d1a438f3fa29771d24f9e587fd2a
+URL:           https://metacpan.org/dist/Encode-IMAPUTF7
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires: perl-Test-NoWarnings
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Modification of UTF-7 encoding for IMAP.
+
+%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 INSTALL README
+%{perl_vendorlib}/Encode/IMAPUTF7.pm
+%{_mandir}/man3/Encode::IMAPUTF7.3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Encode-IMAPUTF7.git/commitdiff/f381d2b5fdf85d318a9e49f7b95cffdc45310e11

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to