]> git.pld-linux.org Git - packages/perl-Text-Unaccent.git/commitdiff
- new (required by DBIx::TextIndex), doesn't work...?
authorradek <radek@pld-linux.org>
Thu, 3 Jun 2004 13:53:44 +0000 (13:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-Unaccent.spec -> 1.1

perl-Text-Unaccent.spec [new file with mode: 0644]

diff --git a/perl-Text-Unaccent.spec b/perl-Text-Unaccent.spec
new file mode 100644 (file)
index 0000000..d6d2aaa
--- /dev/null
@@ -0,0 +1,61 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Text
+%define        pnam    Unaccent
+Summary:       Text::Unaccent - Remove accents from a string
+#Summary(pl):  
+Name:          perl-Text-Unaccent
+Version:       1.01
+Release:       1
+License:       GPL v2+
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl-devel >= 1:5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Text::Unaccent is a module that provides functions to remove accents
+from a string.  For instance the string été will become ete.  The
+charset of the input string is specified as an argument. The input is
+converted to UTF-16 using iconv(3), accents are stripped and the
+result is converted back to the original charset. The iconv --list
+command on GNU/Linux will show all charset supported.
+
+Text-Unaccent-1.01 has the same unac.[ch] files than unac-1.1.0
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       LIBS= \
+       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 ChangeLog README
+%{perl_vendorarch}/%{pdir}/*.pm
+%dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}
+%{perl_vendorarch}/auto/%{pdir}/%{pnam}/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/%{pnam}/*.so
+%{_mandir}/man3/*
This page took 0.085005 seconds and 4 git commands to generate.