commit
9525a7e5b3
@ -0,0 +1 @@
|
|||||||
|
SOURCES/sombok-2.4.0.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
7d63cb56bf18703e03c9868db90d343d1a8a2b5a SOURCES/sombok-2.4.0.tar.gz
|
@ -0,0 +1,42 @@
|
|||||||
|
#if defined(__i386__)
|
||||||
|
#include "sombok-i386.h"
|
||||||
|
#elif defined(__ia64__)
|
||||||
|
#include "sombok-ia64.h"
|
||||||
|
#elif defined(__powerpc64__)
|
||||||
|
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||||
|
#include "sombok-ppc64.h"
|
||||||
|
#else
|
||||||
|
#include "sombok-ppc64le.h"
|
||||||
|
#endif
|
||||||
|
#elif defined(__powerpc__)
|
||||||
|
#include "sombok-ppc.h"
|
||||||
|
#elif defined(__s390x__)
|
||||||
|
#include "sombok-s390x.h"
|
||||||
|
#elif defined(__s390__)
|
||||||
|
#include "sombok-s390.h"
|
||||||
|
#elif defined(__x86_64__)
|
||||||
|
#include "sombok-x86_64.h"
|
||||||
|
#elif defined(__arm__)
|
||||||
|
#include "sombok-arm.h"
|
||||||
|
#elif defined(__alpha__)
|
||||||
|
#include "sombok-alpha.h"
|
||||||
|
#elif defined(__sparc__) && defined (__arch64__)
|
||||||
|
#include "sombok-sparc64.h"
|
||||||
|
#elif defined(__sparc__)
|
||||||
|
#include "sombok-sparc.h"
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
#include "sombok-aarch64.h"
|
||||||
|
#elif defined(__mips64) && defined(__MIPSEL__)
|
||||||
|
#include "sombok-mips64el.h"
|
||||||
|
#elif defined(__mips64)
|
||||||
|
#include "sombok-mips64.h"
|
||||||
|
#elif defined(__mips) && defined(__MIPSEL__)
|
||||||
|
#include "sombok-mipsel.h"
|
||||||
|
#elif defined(__mips)
|
||||||
|
#include "sombok-mips.h"
|
||||||
|
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
|
||||||
|
#include "sombok-riscv64.h"
|
||||||
|
#else
|
||||||
|
#error "This sombok-devel package does not support your architecture."
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,152 @@
|
|||||||
|
Name: sombok
|
||||||
|
Version: 2.4.0
|
||||||
|
Release: 7%{?dist}
|
||||||
|
Summary: Unicode Text Segmentation Package
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: GPLv2+ or Artistic clarified
|
||||||
|
URL: http://sf.net/projects/linefold/
|
||||||
|
Source0: https://github.com/hatukanezumi/sombok/archive/%{name}-%{version}.tar.gz
|
||||||
|
# A multilib-safe wrapper, bug #1853166
|
||||||
|
Source1: sombok.h
|
||||||
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
|
# libthai is available only in Fedora and EL6
|
||||||
|
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||||
|
BuildRequires: libthai-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Sombok library package performs Line Breaking Algorithm described in Unicode
|
||||||
|
Standards Annex #14 (UAX #14). East_Asian_Width informative properties defined
|
||||||
|
by Annex #11 (UAX #11) may be concerned to determine breaking positions. This
|
||||||
|
package also implements "default" Grapheme Cluster segmentation described in
|
||||||
|
Annex #29 (UAX #29).
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -vif
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
# Rename sombok.h to sombok-ARCH.h and install a sombok.h wrapper to avoid
|
||||||
|
# a file conflict on multilib systems, bug #1853166
|
||||||
|
mv %{buildroot}/%{_includedir}/sombok.h %{buildroot}/%{_includedir}/sombok-%{_arch}.h
|
||||||
|
install -m 0644 %{SOURCE1} %{buildroot}/%{_includedir}/sombok.h
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS ChangeLog ChangeLog.REL1 COPYING NEWS README README.ja_JP
|
||||||
|
%{_libdir}/libsombok.so.*
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/sombok*.h
|
||||||
|
%{_libdir}/libsombok.so
|
||||||
|
%{_libdir}/pkgconfig/sombok.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 03 2020 Petr Pisar <ppisar@redhat.com> - 2.4.0-7
|
||||||
|
- Make sombok-devel package multilib safe (bug #1853166)
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Sep 14 2015 Xavier Bachelot <xavier@bachelot.org> 2.4.0-1
|
||||||
|
- Update to 2.4.0.
|
||||||
|
|
||||||
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Sep 29 2013 Xavier Bachelot <xavier@bachelot.org> 2.3.1-1
|
||||||
|
- Update to 2.3.1.
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Apr 12 2012 Xavier Bachelot <xavier@bachelot.org> 2.2.1-1
|
||||||
|
- Update to 2.2.1.
|
||||||
|
- Update License: to GPLv2+ or Artistic clarified.
|
||||||
|
|
||||||
|
* Thu Mar 01 2012 Xavier Bachelot <xavier@bachelot.org> 2.1.1-1
|
||||||
|
- Update to 2.1.1.
|
||||||
|
|
||||||
|
* Sat Feb 04 2012 Xavier Bachelot <xavier@bachelot.org> 2.1.0-1
|
||||||
|
- Update to 2.1.0.
|
||||||
|
|
||||||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 18 2011 Xavier Bachelot <xavier@bachelot.org> 2.0.6-1
|
||||||
|
- Update to 2.0.6.
|
||||||
|
|
||||||
|
* Tue Jul 26 2011 Xavier Bachelot <xavier@bachelot.org> 2.0.5-2
|
||||||
|
- Fix conditional BuildRequires on libthai-devel.
|
||||||
|
- Fix description.
|
||||||
|
- Fix Requires in the devel subpackage.
|
||||||
|
- Be more specific on filenames in the %%files' sections.
|
||||||
|
|
||||||
|
* Tue May 17 2011 Xavier Bachelot <xavier@bachelot.org> 2.0.5-1
|
||||||
|
- Initial Fedora release.
|
Loading…
Reference in new issue