SPECS: perl-Text-Unidecode.spec (NEW) - new

radek radek at pld-linux.org
Sun May 18 18:01:21 CEST 2008


Author: radek                        Date: Sun May 18 16:01:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Text-Unidecode.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Text-Unidecode.spec
diff -u /dev/null SPECS/perl-Text-Unidecode.spec:1.1
--- /dev/null	Sun May 18 18:01:21 2008
+++ SPECS/perl-Text-Unidecode.spec	Sun May 18 18:01:16 2008
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Text
+%define	pnam	Unidecode
+Summary:	Text::Unidecode -- US-ASCII transliterations of Unicode text
+#Summary(pl.UTF-8):	
+Name:		perl-Text-Unidecode
+Version:	0.04
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	06f6bddb396ab386aa66a2bc8a04df76
+URL:		http://search.cpan.org/dist/Text-Unidecode/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_noautoprov	'perl(Text::Unidecode::x..)'
+
+%description
+Text::Unidecode provides a function, unidecode(...) that takes
+Unicode data and tries to represent it in US-ASCII characters (i.e.,
+the universally displayable characters between 0x00 and 0x7F).
+The representation is almost always an attempt at transliteration --
+i.e., conveying, in Roman letters, the pronunciation expressed by
+the text in some other writing system.
+
+# %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 ChangeLog README TODO.txt
+%{perl_vendorlib}/Text/*.pm
+%{perl_vendorlib}/Text/Unidecode
+%{_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  2008-05-18 16:01:16  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list