[packages/perl-Text-QRCode] New, 0.05

arekm arekm at pld-linux.org
Fri Oct 30 08:59:47 CET 2026


commit bf818f8e80f7fb2f1eed23bda31691204996c591
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Oct 30 08:58:44 2026 +0100

    New, 0.05

 perl-Text-QRCode.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
---
diff --git a/perl-Text-QRCode.spec b/perl-Text-QRCode.spec
new file mode 100644
index 0000000..fcf6a55
--- /dev/null
+++ b/perl-Text-QRCode.spec
@@ -0,0 +1,61 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+#
+%define		pdir	Text
+%define		pnam	QRCode
+Summary:	Text::QRCode - Generate text base QR Code
+Summary(pl.UTF-8):	Text::QRCode - generowanie kodów QR w postaci tekstowej
+Name:		perl-Text-QRCode
+Version:	0.05
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	https://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	95af0bd6bdc677479de93a697d030306
+URL:		https://metacpan.org/dist/Text-QRCode
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	pkgconfig
+BuildRequires:	qrencode-devel >= 2.0.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires:	perl-Test-Simple
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module allows you to generate QR Code using ' ' and '*'.
+
+%description -l pl.UTF-8
+Ten moduł pozwala generować kody QR zapisane znakami ' ' i '*'.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?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 README
+%{perl_vendorarch}/Text/QRCode.pm
+%dir %{perl_vendorarch}/auto/Text/QRCode
+%attr(755,root,root) %{perl_vendorarch}/auto/Text/QRCode/QRCode.so
+%{_mandir}/man3/Text::QRCode.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Text-QRCode.git/commitdiff/bf818f8e80f7fb2f1eed23bda31691204996c591



More information about the pld-cvs-commit mailing list