packages: perl-Unicode-Stringprep/perl-Unicode-Stringprep.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Tue Dec 7 18:43:11 CET 2010
Author: qboosh Date: Tue Dec 7 17:43:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Unicode-Stringprep:
perl-Unicode-Stringprep.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Unicode-Stringprep/perl-Unicode-Stringprep.spec
diff -u /dev/null packages/perl-Unicode-Stringprep/perl-Unicode-Stringprep.spec:1.1
--- /dev/null Tue Dec 7 18:43:11 2010
+++ packages/perl-Unicode-Stringprep/perl-Unicode-Stringprep.spec Tue Dec 7 18:43:06 2010
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Unicode
+%define pnam Stringprep
+Summary: Preparation of Internationalized Strings (RFC 3454)
+Summary(pl.UTF-8): Tworzenie umiędzynarodowionych łańcuchów znaków (RFC 3454)
+Name: perl-Unicode-Stringprep
+Version: 1.103
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Unicode/CFAERBER/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 38b37d58e8444832a8bb5b3c492726cd
+URL: http://search.cpan.org/dist/Unicode-Stringprep/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Simple
+BuildRequires: perl-Test-NoWarnings
+BuildRequires: perl-Unicode-Normalize >= 1
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements the stringprep framework for preparing Unicode
+text strings in order to increase the likelihood that string input and
+string comparison work in ways that make sense for typical users
+throughout the world. The stringprep protocol is useful for protocol
+identifier values, company and personal names, internationalized
+domain names, and other text strings.
+
+%description -l pl.UTF-8
+Ten moduł implementuje szkielet stringprep do przygotowywania
+unikodowych łańcuchów znaków tak, aby zwiększyć prawdopodobieństwo, że
+wejście i porównywanie łańcuchów działa w sposób sensowny dla typowych
+użytkowników na świecie. Protokół stringprep jest przydatny dla
+wartości identyfikujących protokół, nazw firm i osób, międzynarodowych
+domen i innych łańcuchów tekstowych.
+
+%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 README
+%{perl_vendorlib}/Unicode/Stringprep.pm
+%{perl_vendorlib}/Unicode/Stringprep
+%{_mandir}/man3/Unicode::Stringprep*.3pm*
+
+%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 2010/12/07 17:43:06 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list