[packages/courier-unicode] - new

qboosh qboosh at pld-linux.org
Sun Mar 18 22:08:36 CET 2018


commit 6c54908dc3a3988399f4a4fca8bd9e3dbb1845ec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 18 22:11:16 2018 +0100

    - new

 courier-unicode.spec | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 128 insertions(+)
---
diff --git a/courier-unicode.spec b/courier-unicode.spec
new file mode 100644
index 0000000..1fdab1d
--- /dev/null
+++ b/courier-unicode.spec
@@ -0,0 +1,128 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# static library
+
+Summary:	Courier Unicode library
+Summary(pl.UTF-8):	Biblioteka Courier Unicode
+Name:		courier-unicode
+Version:	2.0
+Release:	1
+License:	GPL v3
+Group:		Libraries
+Source0:	http://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
+# Source0-md5:	1bad3b3b890da01ff830b15d129f0cfa
+URL:		http://www.courier-mta.org/authlib/
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel >= 6:4.7
+BuildRequires:	libtool >= 2:1.5
+BuildRequires:	perl-base
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Courier Unicode library implements several algorithms related to
+the Unicode Standard:
+- Look up uppercase, lowercase, and titlecase equivalents of a
+  unicode character.
+- Implementation of grapheme and word breaking rules.
+- Implementation of line breaking rules.
+- Several ancillary functions, like looking up the unicode character
+  that corresponds to some HTML 4.0 entity (such as "&", for
+  example), and determining the normal width or a double-width status
+  of a unicode character. Also, an adaptation of the iconv(3) API for
+  this unicode library.
+- Look up the Unicode script property.
+- Look up the category property.
+
+This library also implements C++ bindings for these algorithms.
+
+%description -l pl.UTF-8
+Biblioteka Courier Unicode implementuje kilka algorytmów związanych ze
+standardem Unicode:
+- wyszukiwanie małych, wielkich i tytułowych odpowiedników znaków
+  unikodowych,
+- implementację reguł łamania słów i grafemów,
+- implementację reguł łamania wierszy tekstu,
+- kilka funkcji pomocniczych, jak wyszukiwanie znaków unikodowych
+  odpowiadających encjom HTML 4.0 (np. "&") oraz określanie
+  szerokości (normalna lub podwójna) znaku unikodowego; dostępna jest
+  także adaptacja API iconv(3) dla tej biblioteki
+- wyszukiwanie własności pisma,
+- wyszukiwanie własności kategorii.
+
+Biblioteka zawiera także wiązania C++ do tych algorytmów.
+
+%package devel
+Summary:	Development files for the Courier Unicode library
+Summary(pl.UTF-8):	Pliki programistyczne dla biblioteki Courier Unicode
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel >= 6:4.7
+
+%description devel
+Development files for the Courier Unicode library.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne dla biblioteki Courier Unicode.
+
+%package static
+Summary:	Static Courier Unicode library
+Summary(pl.UTF-8):	Statyczna biblioteka Courier Unicode
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static Courier Unicode library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka Courier Unicode.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{!?with_static_libs:--disable-static}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# no external dependencies (except libstdc++)
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcourier-unicode.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libcourier-unicode.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcourier-unicode.so.4
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcourier-unicode.so
+%{_includedir}/courier-unicode*.h
+%{_aclocaldir}/courier-unicode.m4
+%{_mandir}/man3/unicode::*.3*
+%{_mandir}/man3/unicode_*.3*
+%{_mandir}/man7/courier-unicode.7*
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcourier-unicode.a
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/courier-unicode.git/commitdiff/6c54908dc3a3988399f4a4fca8bd9e3dbb1845ec



More information about the pld-cvs-commit mailing list