perl-Lingua-IW-Logical/perl-Lingua-IW-Logical.spec

Name: perl-Lingua-IW-Logical
Summary: Module for working with logical and visual hebrew
Version: 0.5
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Lingua-IW-Logical/
Description: This module allows to convert logical Hebrew representation (like used in Windows and defined in Unicode standard) to logical representation (like in iso-8859-8). These represetation differ in the way they represent bi-directional texts. See Unicode book for more info.

This is very common task for Hebrew HTML developers, since most of the Hebrew pages are written in visual represetation (in order to allow users of non-Hebrew-enabled OSes to viw them) but most Windows programs use logical one. Also, some basic formatting options are available while converting.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Stanislav Malyshev <frodo$sharat,co,il>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Lingua-IW-Logical

Summary: Module for working with logical and visual hebrew
Name: perl-Lingua-IW-Logical
Version: 0.5
Release: 1.2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Lingua-IW-Logical/

Source: http://www.cpan.org/modules/by-module/Lingua/Lingua-IW-Logical-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module allows to convert logical Hebrew representation (like used in
Windows and defined in Unicode standard) to logical representation (like
in iso-8859-8). These represetation differ in the way they represent
bi-directional texts. See Unicode book for more info.

This is very common task for Hebrew HTML developers, since
most of the Hebrew pages are written in visual represetation (in order to
allow users of non-Hebrew-enabled OSes to viw them) but most Windows
programs use logical one. Also, some basic formatting options are
available while converting.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/Lingua/IW/Logical.p*

%changelog
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.5-1.2
- Rebuild for Fedora Core 5.

* Sat Apr  9 2005 Dries Verachtert <dries@ulyssis.org> - 0.5-1
- Initial package.