SPECS: perl-Text-Bidi.spec (NEW) - thanks to pldcpan
sls
sls at pld-linux.org
Tue Jan 15 21:16:46 CET 2008
Author: sls Date: Tue Jan 15 20:16:46 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- thanks to pldcpan
---- Files affected:
SPECS:
perl-Text-Bidi.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Text-Bidi.spec
diff -u /dev/null SPECS/perl-Text-Bidi.spec:1.1
--- /dev/null Tue Jan 15 21:16:46 2008
+++ SPECS/perl-Text-Bidi.spec Tue Jan 15 21:16:41 2008
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Text
+%define pnam Bidi
+Summary: Text::Bidi - Unicode bidi algorithm using libfribidi
+Name: perl-Text-Bidi
+Version: 0.03
+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: 93e124628ff2983e32ac478f25f8d627
+URL: http://search.cpan.org/dist/Text-Bidi/
+BuildRequires: fribidi-devel >= 0.10.9
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a perl interface to the libfribidi library that implements the
+Unicode bidi algorithm. The bidi algorithm is a specification for
+displaying text that consists of both left-to-right and right-to-left
+written languages.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?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 Changes README
+%{perl_vendorarch}/Text/Bidi.pm
+%dir %{perl_vendorarch}/Text/Bidi
+%{perl_vendorarch}/Text/Bidi/*.pm
+%dir %{perl_vendorarch}/auto/Text/Bidi
+%dir %{perl_vendorarch}/auto/Text/Bidi/private
+%{perl_vendorarch}/auto/Text/Bidi/private/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Text/Bidi/private/*.so
+%{_mandir}/man3/Text::Bidi.3pm*
+%{_mandir}/man3/Text::Bidi::CapRTL.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 2008-01-15 20:16:41 sls
+- thanks to pldcpan
+
================================================================
More information about the pld-cvs-commit
mailing list