|
|
@ -18,11 +18,6 @@ Source0: %forgesource
|
|
|
|
Source1: LineBreakTest.txt
|
|
|
|
Source1: LineBreakTest.txt
|
|
|
|
Source2: WordBreakTest.txt
|
|
|
|
Source2: WordBreakTest.txt
|
|
|
|
Source3: GraphemeBreakTest.txt
|
|
|
|
Source3: GraphemeBreakTest.txt
|
|
|
|
# For regenerating src/*data.c
|
|
|
|
|
|
|
|
Source4: LineBreak.txt
|
|
|
|
|
|
|
|
Source5: WordBreakProperty.txt
|
|
|
|
|
|
|
|
Source6: GraphemeBreakProperty.txt
|
|
|
|
|
|
|
|
Source7: emoji-data.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# don't download test data
|
|
|
|
# don't download test data
|
|
|
|
Patch: offline_files.patch
|
|
|
|
Patch: offline_files.patch
|
|
|
@ -34,7 +29,6 @@ Patch: remove_unused_var.patch
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: automake, autoconf, libtool
|
|
|
|
BuildRequires: automake, autoconf, libtool
|
|
|
|
BuildRequires: python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides: liblinebreak = %{version}-%{release}
|
|
|
|
Provides: liblinebreak = %{version}-%{release}
|
|
|
|
Obsoletes: liblinebreak < %{obsEVR}
|
|
|
|
Obsoletes: liblinebreak < %{obsEVR}
|
|
|
@ -59,7 +53,7 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%forgeautosetup -p1
|
|
|
|
%forgeautosetup -p1
|
|
|
|
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} src/
|
|
|
|
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} src/
|
|
|
|
sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/generate_linebreakdata.py
|
|
|
|
sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/generate_linebreakdata.py
|
|
|
|
sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/sort_numeric_hex.py
|
|
|
|
sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/sort_numeric_hex.py
|
|
|
|
|
|
|
|
|
|
|
@ -67,12 +61,6 @@ sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/sort_numeric_hex.py
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
%configure --disable-static
|
|
|
|
%configure --disable-static
|
|
|
|
# Regenerate src/*data.c
|
|
|
|
|
|
|
|
# Build fails with the updated files
|
|
|
|
|
|
|
|
#make linebreakdata
|
|
|
|
|
|
|
|
#make wordbreakdata
|
|
|
|
|
|
|
|
#make graphemebreakdata
|
|
|
|
|
|
|
|
#make emojidata
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|