]> git.pld-linux.org Git - packages/perl-Locale-Hebrew.git/commitdiff
- new AC-branch AC-STABLE auto/ac/perl-Locale-Hebrew-1_04-1 auto/th/perl-Locale-Hebrew-1_04-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Sep 2006 22:33:39 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Locale-Hebrew.spec -> 1.1

perl-Locale-Hebrew.spec [new file with mode: 0644]

diff --git a/perl-Locale-Hebrew.spec b/perl-Locale-Hebrew.spec
new file mode 100644 (file)
index 0000000..f8a6e2a
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Locale
+%define        pnam    Hebrew
+Summary:       Locale::Hebrew - Bidirectional Hebrew support
+Name:          perl-Locale-Hebrew
+Version:       1.04
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Hebrew-%{version}.tar.gz
+# Source0-md5: 5b1c08e039886c0319a0c4ece6209064
+URL:           http://search.cpan.org/dist/Locale-Hebrew/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is based on code from the Unicode Consortium.
+
+The charset on their code was bogus, therefore this module had to work
+the real charset from scratch. There might have some mistakes, though.
+
+One function, hebrewflip, is exported by default.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?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_vendorarch}/Locale/*.pm
+%dir %{perl_vendorarch}/auto/Locale/Hebrew
+%{perl_vendorarch}/auto/Locale/Hebrew/*.bs
+%{perl_vendorarch}/auto/Locale/Hebrew/autosplit.ix
+%attr(755,root,root) %{perl_vendorarch}/auto/Locale/Hebrew/*.so
+%{_mandir}/man3/*
This page took 0.118473 seconds and 4 git commands to generate.