Compare commits
38 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daca1c74f1 | ||
|
|
6c209994d2 | ||
|
|
00084b821d | ||
|
|
dead9f70be | ||
|
|
2fcd582490 | ||
|
|
88e747a268 | ||
|
|
b89fbd9492 | ||
|
|
b277cca917 | ||
|
|
011e12784e | ||
|
|
93683706b3 | ||
|
|
5379fcc212 | ||
|
|
c240741aaa | ||
|
|
1700913c02 | ||
|
|
92ee0ce93a | ||
|
|
e66c4fe189 | ||
|
|
47d70eb96d | ||
|
|
f7d679387e | ||
|
|
27d242f035 | ||
|
|
dcfe222a1d | ||
|
|
c8f80e17e5 | ||
|
|
ff0b009a2a | ||
|
|
0b143efebb | ||
|
|
b9ada54dc4 | ||
|
|
b1aceb6aff | ||
|
|
8cfe92dae2 | ||
|
|
856b4f32cc | ||
|
|
40d1c05820 | ||
|
|
29d4c9cf1c | ||
|
|
f2aef242bb | ||
|
|
7664e99a94 | ||
|
|
2f5bf1f16f | ||
|
|
0c63ce47c4 | ||
|
|
edee4f6817 | ||
|
|
2d8c8c6c2f | ||
|
|
c399ec5f70 | ||
|
|
10360073ba | ||
|
|
fc99f465b1 | ||
|
|
e1d47af348 |
9 changed files with 234 additions and 260 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -4,3 +4,14 @@
|
|||
/fribidi-1.0.3.tar.bz2
|
||||
/fribidi-1.0.4.tar.bz2
|
||||
/fribidi-1.0.5.tar.bz2
|
||||
/fribidi-1.0.6.tar.gz
|
||||
/fribidi-1.0.7.tar.bz2
|
||||
/fribidi-1.0.8.tar.bz2
|
||||
/fribidi-1.0.9.tar.xz
|
||||
/fribidi-1.0.10.tar.xz
|
||||
/fribidi-1.0.11.tar.xz
|
||||
/fribidi-1.0.12.tar.xz
|
||||
/fribidi-1.0.13.tar.xz
|
||||
/fribidi-1.0.14.tar.xz
|
||||
/fribidi-1.0.15.tar.xz
|
||||
/fribidi-1.0.16.tar.xz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
diff -pruN fribidi-1.0.4.orig/bin/Makefile.am fribidi-1.0.4/bin/Makefile.am
|
||||
--- fribidi-1.0.4.orig/bin/Makefile.am 2018-02-19 21:25:06.000000000 +0000
|
||||
+++ fribidi-1.0.4/bin/Makefile.am 2018-07-26 09:53:02.746415439 +0000
|
||||
diff -pruN fribidi-1.0.14.orig/bin/Makefile.am fribidi-1.0.14/bin/Makefile.am
|
||||
--- fribidi-1.0.14.orig/bin/Makefile.am 2020-07-06 04:17:23.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/Makefile.am 2024-05-07 21:40:04.500166714 +0900
|
||||
@@ -2,11 +2,9 @@ bin_PROGRAMS = fribidi
|
||||
|
||||
noinst_PROGRAMS = fribidi-benchmark fribidi-bidi-types fribidi-caprtl2utf8
|
||||
|
|
@ -14,10 +14,10 @@ diff -pruN fribidi-1.0.4.orig/bin/Makefile.am fribidi-1.0.4/bin/Makefile.am
|
|||
+fribidi_benchmark_SOURCES = fribidi-benchmark.c
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_builddir)/lib \
|
||||
diff -pruN fribidi-1.0.4.orig/bin/getopt.c fribidi-1.0.4/bin/getopt.c
|
||||
--- fribidi-1.0.4.orig/bin/getopt.c 2018-02-03 20:57:13.000000000 +0000
|
||||
+++ fribidi-1.0.4/bin/getopt.c 1970-01-01 00:00:00.000000000 +0000
|
||||
@FRIBIDI_CPPFLAGS@ \
|
||||
diff -pruN fribidi-1.0.14.orig/bin/getopt.c fribidi-1.0.14/bin/getopt.c
|
||||
--- fribidi-1.0.14.orig/bin/getopt.c 2015-08-05 03:49:07.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/getopt.c 1970-01-01 09:00:00.000000000 +0900
|
||||
@@ -1,1268 +0,0 @@
|
||||
-/* Getopt for GNU.
|
||||
- NOTE: getopt is now part of the C library, so if you don't know what
|
||||
|
|
@ -1287,9 +1287,9 @@ diff -pruN fribidi-1.0.4.orig/bin/getopt.c fribidi-1.0.4/bin/getopt.c
|
|||
-}
|
||||
-
|
||||
-#endif /* TEST */
|
||||
diff -pruN fribidi-1.0.4.orig/bin/getopt.h fribidi-1.0.4/bin/getopt.h
|
||||
--- fribidi-1.0.4.orig/bin/getopt.h 2018-02-03 20:57:13.000000000 +0000
|
||||
+++ fribidi-1.0.4/bin/getopt.h 1970-01-01 00:00:00.000000000 +0000
|
||||
diff -pruN fribidi-1.0.14.orig/bin/getopt.h fribidi-1.0.14/bin/getopt.h
|
||||
--- fribidi-1.0.14.orig/bin/getopt.h 2015-08-05 03:49:07.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/getopt.h 1970-01-01 09:00:00.000000000 +0900
|
||||
@@ -1,187 +0,0 @@
|
||||
-/* Declarations for getopt.
|
||||
- Copyright (C) 1989-1994,1996-1999,2001,2003,2004
|
||||
|
|
@ -1478,9 +1478,9 @@ diff -pruN fribidi-1.0.4.orig/bin/getopt.h fribidi-1.0.4/bin/getopt.h
|
|||
-#undef __need_getopt
|
||||
-
|
||||
-#endif /* getopt.h */
|
||||
diff -pruN fribidi-1.0.4.orig/bin/getopt1.c fribidi-1.0.4/bin/getopt1.c
|
||||
--- fribidi-1.0.4.orig/bin/getopt1.c 2018-02-03 20:57:13.000000000 +0000
|
||||
+++ fribidi-1.0.4/bin/getopt1.c 1970-01-01 00:00:00.000000000 +0000
|
||||
diff -pruN fribidi-1.0.14.orig/bin/getopt1.c fribidi-1.0.14/bin/getopt1.c
|
||||
--- fribidi-1.0.14.orig/bin/getopt1.c 2015-08-05 03:49:07.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/getopt1.c 1970-01-01 09:00:00.000000000 +0900
|
||||
@@ -1,213 +0,0 @@
|
||||
-/* getopt_long and getopt_long_only entry points for GNU getopt.
|
||||
- Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004
|
||||
|
|
@ -1695,9 +1695,9 @@ diff -pruN fribidi-1.0.4.orig/bin/getopt1.c fribidi-1.0.4/bin/getopt1.c
|
|||
-}
|
||||
-
|
||||
-#endif /* TEST */
|
||||
diff -pruN fribidi-1.0.4.orig/bin/getopt_int.h fribidi-1.0.4/bin/getopt_int.h
|
||||
--- fribidi-1.0.4.orig/bin/getopt_int.h 2018-02-03 20:57:13.000000000 +0000
|
||||
+++ fribidi-1.0.4/bin/getopt_int.h 1970-01-01 00:00:00.000000000 +0000
|
||||
diff -pruN fribidi-1.0.14.orig/bin/getopt_int.h fribidi-1.0.14/bin/getopt_int.h
|
||||
--- fribidi-1.0.14.orig/bin/getopt_int.h 2015-08-05 03:49:07.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/getopt_int.h 1970-01-01 09:00:00.000000000 +0900
|
||||
@@ -1,145 +0,0 @@
|
||||
-/* Internal declarations for getopt.
|
||||
- Copyright (C) 1989-1994,1996-1999,2001,2003,2004
|
||||
|
|
@ -1844,9 +1844,30 @@ diff -pruN fribidi-1.0.4.orig/bin/getopt_int.h fribidi-1.0.4/bin/getopt_int.h
|
|||
-);
|
||||
-
|
||||
-#endif /* getopt_int.h */
|
||||
diff -pruN fribidi-1.0.4.orig/bin/gettext.h fribidi-1.0.4/bin/gettext.h
|
||||
--- fribidi-1.0.4.orig/bin/gettext.h 2018-02-03 20:57:13.000000000 +0000
|
||||
+++ fribidi-1.0.4/bin/gettext.h 1970-01-01 00:00:00.000000000 +0000
|
||||
diff -pruN fribidi-1.0.14.orig/bin/gettext.h fribidi-1.0.14/bin/gettext.h
|
||||
--- fribidi-1.0.14.orig/bin/gettext.h 2015-08-05 03:49:07.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/gettext.h 1970-01-01 09:00:00.000000000 +0900
|
||||
@@ -1,2 +0,0 @@
|
||||
-#undef gettext
|
||||
-#define gettext
|
||||
diff -pruN fribidi-1.0.14.orig/bin/meson.build fribidi-1.0.14/bin/meson.build
|
||||
--- fribidi-1.0.14.orig/bin/meson.build 2024-03-18 03:10:09.000000000 +0900
|
||||
+++ fribidi-1.0.14/bin/meson.build 2024-05-07 21:40:55.573086578 +0900
|
||||
@@ -1,7 +1,7 @@
|
||||
# The fribidi binary is used by the test setup, so if bin=false we still
|
||||
# need to build it for internal usage, we just won't install it.
|
||||
fribidi = executable('fribidi',
|
||||
- 'fribidi-main.c', 'getopt.c', 'getopt1.c', fribidi_unicode_version_h,
|
||||
+ 'fribidi-main.c', fribidi_unicode_version_h,
|
||||
c_args: ['-DHAVE_CONFIG_H'] + fribidi_static_cargs,
|
||||
include_directories: incs,
|
||||
link_with: libfribidi,
|
||||
@@ -12,7 +12,7 @@ if not get_option('bin')
|
||||
endif
|
||||
|
||||
executable('fribidi-benchmark',
|
||||
- 'fribidi-benchmark.c', 'getopt.c', 'getopt1.c', fribidi_unicode_version_h,
|
||||
+ 'fribidi-benchmark.c', fribidi_unicode_version_h,
|
||||
c_args: ['-DHAVE_CONFIG_H'] + fribidi_static_cargs,
|
||||
include_directories: incs,
|
||||
link_with: libfribidi,
|
||||
|
|
|
|||
|
|
@ -1,231 +0,0 @@
|
|||
From b534ab2642f694c3106d5bc8d0a8beae60bf60d3 Mon Sep 17 00:00:00 2001
|
||||
From: Dov Grobgeld <dov.grobgeld@gmail.com>
|
||||
Date: Sat, 18 Aug 2018 20:37:22 +0300
|
||||
Subject: [PATCH] Removed HAVE_CONFIG_H from public API
|
||||
|
||||
---
|
||||
bin/fribidi-benchmark.c | 5 +++++
|
||||
bin/fribidi-main.c | 5 +++++
|
||||
gen.tab/gen-arabic-shaping-tab.c | 4 ++++
|
||||
gen.tab/gen-bidi-type-tab.c | 4 ++++
|
||||
gen.tab/gen-brackets-tab.c | 4 ++++
|
||||
gen.tab/gen-brackets-type-tab.c | 4 ++++
|
||||
gen.tab/gen-joining-type-tab.c | 4 ++++
|
||||
gen.tab/gen-mirroring-tab.c | 4 ++++
|
||||
gen.tab/gen-unicode-version.c | 4 ++++
|
||||
lib/bidi-types.h | 2 +-
|
||||
lib/fribidi-arabic.c | 4 ++++
|
||||
lib/fribidi-types.h | 4 ----
|
||||
lib/joining-types.h | 2 +-
|
||||
lib/run.h | 2 +-
|
||||
14 files changed, 45 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/bin/fribidi-benchmark.c b/bin/fribidi-benchmark.c
|
||||
index e5fc9c0..07ac336 100644
|
||||
--- a/bin/fribidi-benchmark.c
|
||||
+++ b/bin/fribidi-benchmark.c
|
||||
@@ -33,6 +33,11 @@
|
||||
#include <fribidi-deprecated.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/bin/fribidi-main.c b/bin/fribidi-main.c
|
||||
index cd359a9..33e1630 100644
|
||||
--- a/bin/fribidi-main.c
|
||||
+++ b/bin/fribidi-main.c
|
||||
@@ -33,6 +33,11 @@
|
||||
#include <fribidi-deprecated.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-arabic-shaping-tab.c b/gen.tab/gen-arabic-shaping-tab.c
|
||||
index e613768..369501c 100644
|
||||
--- a/gen.tab/gen-arabic-shaping-tab.c
|
||||
+++ b/gen.tab/gen-arabic-shaping-tab.c
|
||||
@@ -30,6 +30,10 @@
|
||||
#include <fribidi-unicode.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-bidi-type-tab.c b/gen.tab/gen-bidi-type-tab.c
|
||||
index a0a61ef..05b1d16 100644
|
||||
--- a/gen.tab/gen-bidi-type-tab.c
|
||||
+++ b/gen.tab/gen-bidi-type-tab.c
|
||||
@@ -30,6 +30,10 @@
|
||||
#include <fribidi-unicode.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-brackets-tab.c b/gen.tab/gen-brackets-tab.c
|
||||
index 8c1f1df..cd99e01 100644
|
||||
--- a/gen.tab/gen-brackets-tab.c
|
||||
+++ b/gen.tab/gen-brackets-tab.c
|
||||
@@ -32,6 +32,10 @@
|
||||
#include <fribidi-unicode.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-brackets-type-tab.c b/gen.tab/gen-brackets-type-tab.c
|
||||
index 221db07..9ec60cc 100644
|
||||
--- a/gen.tab/gen-brackets-type-tab.c
|
||||
+++ b/gen.tab/gen-brackets-type-tab.c
|
||||
@@ -32,6 +32,10 @@
|
||||
#include <fribidi-unicode.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-joining-type-tab.c b/gen.tab/gen-joining-type-tab.c
|
||||
index 07c0953..29ab3ed 100644
|
||||
--- a/gen.tab/gen-joining-type-tab.c
|
||||
+++ b/gen.tab/gen-joining-type-tab.c
|
||||
@@ -30,6 +30,10 @@
|
||||
#include <fribidi-unicode.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-mirroring-tab.c b/gen.tab/gen-mirroring-tab.c
|
||||
index 21d33cf..e19be91 100644
|
||||
--- a/gen.tab/gen-mirroring-tab.c
|
||||
+++ b/gen.tab/gen-mirroring-tab.c
|
||||
@@ -30,6 +30,10 @@
|
||||
#include <fribidi-unicode.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/gen.tab/gen-unicode-version.c b/gen.tab/gen-unicode-version.c
|
||||
index 4291551..35306ca 100644
|
||||
--- a/gen.tab/gen-unicode-version.c
|
||||
+++ b/gen.tab/gen-unicode-version.c
|
||||
@@ -28,6 +28,10 @@
|
||||
#include <common.h>
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
diff --git a/lib/bidi-types.h b/lib/bidi-types.h
|
||||
index 385ef05..86f3d02 100644
|
||||
--- a/lib/bidi-types.h
|
||||
+++ b/lib/bidi-types.h
|
||||
@@ -27,7 +27,7 @@
|
||||
#ifndef _BIDI_TYPES_H
|
||||
#define _BIDI_TYPES_H
|
||||
|
||||
-#include "common.h"
|
||||
+#include "fribidi-common.h"
|
||||
|
||||
#include <fribidi-types.h>
|
||||
#include <fribidi-bidi-types.h>
|
||||
diff --git a/lib/fribidi-arabic.c b/lib/fribidi-arabic.c
|
||||
index dbfdc09..e12074c 100644
|
||||
--- a/lib/fribidi-arabic.c
|
||||
+++ b/lib/fribidi-arabic.c
|
||||
@@ -27,6 +27,10 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
diff --git a/lib/fribidi-types.h b/lib/fribidi-types.h
|
||||
index 9f1746f..90238b4 100644
|
||||
--- a/lib/fribidi-types.h
|
||||
+++ b/lib/fribidi-types.h
|
||||
@@ -27,10 +27,6 @@
|
||||
#ifndef _FRIBIDI_TYPES_H
|
||||
#define _FRIBIDI_TYPES_H
|
||||
|
||||
-#ifdef HAVE_CONFIG_H
|
||||
-# include <config.h>
|
||||
-#endif
|
||||
-
|
||||
#include "fribidi-common.h"
|
||||
|
||||
#include "fribidi-begindecls.h"
|
||||
diff --git a/lib/joining-types.h b/lib/joining-types.h
|
||||
index 94b9fe3..6e11fa1 100644
|
||||
--- a/lib/joining-types.h
|
||||
+++ b/lib/joining-types.h
|
||||
@@ -27,7 +27,7 @@
|
||||
#ifndef _JOINING_TYPES_H
|
||||
#define _JOINING_TYPES_H
|
||||
|
||||
-#include "common.h"
|
||||
+#include "fribidi-common.h"
|
||||
|
||||
#include <fribidi-types.h>
|
||||
#include <fribidi-joining-types.h>
|
||||
diff --git a/lib/run.h b/lib/run.h
|
||||
index 8c4e259..44ddfec 100644
|
||||
--- a/lib/run.h
|
||||
+++ b/lib/run.h
|
||||
@@ -29,7 +29,7 @@
|
||||
#ifndef _RUN_H
|
||||
#define _RUN_H
|
||||
|
||||
-#include "common.h"
|
||||
+#include "fribidi-common.h"
|
||||
|
||||
#include <fribidi-common.h>
|
||||
|
||||
--
|
||||
2.21.0
|
||||
|
||||
145
fribidi.spec
145
fribidi.spec
|
|
@ -1,14 +1,18 @@
|
|||
Summary: Library implementing the Unicode Bidirectional Algorithm
|
||||
Name: fribidi
|
||||
Version: 1.0.5
|
||||
Release: 4%{?dist}
|
||||
Version: 1.0.16
|
||||
Release: 3%{?dist}
|
||||
URL: https://github.com/fribidi/fribidi/
|
||||
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
||||
License: LGPLv2+ and UCD
|
||||
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||
License: LGPL-2.1-or-later AND Unicode-DFS-2016
|
||||
BuildRequires: gcc
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 8
|
||||
BuildRequires: automake autoconf libtool
|
||||
Patch0: %{name}-drop-bundled-gnulib.patch
|
||||
Patch1: %{name}-remove-config-h-from-public-api.patch
|
||||
%else
|
||||
BuildRequires: meson
|
||||
%endif
|
||||
BuildRequires: make
|
||||
Patch0: fribidi-drop-bundled-gnulib.patch
|
||||
|
||||
%description
|
||||
A library to handle bidirectional scripts (for example Hebrew, Arabic),
|
||||
|
|
@ -25,9 +29,16 @@ FriBidi.
|
|||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 8
|
||||
autoreconf -i
|
||||
%endif
|
||||
# Clean up older file in archive
|
||||
(cd lib;
|
||||
rm arabic-shaping.tab.i bidi-type.tab.i brackets*.tab.i joining-type.tab.i mirroring.tab.i fribidi-unicode-version.h
|
||||
)
|
||||
|
||||
%build
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 8
|
||||
%if 0%{?el5}
|
||||
# FORTIFY_SOURCE=2 breaks EL-5 build
|
||||
export CFLAGS=`echo $RPM_OPT_FLAGS | sed -e 's|FORTIFY_SOURCE=2|FORTIFY_SOURCE=1|'`
|
||||
|
|
@ -41,13 +52,25 @@ export CFLAGS="$RPM_OPT_FLAGS -DPAGE_SIZE=4096"
|
|||
%endif
|
||||
%endif
|
||||
%configure --disable-static --disable-docs
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} V=1
|
||||
%else
|
||||
%meson -Ddocs=false
|
||||
%meson_build
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 8
|
||||
make check
|
||||
%else
|
||||
%meson_test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 8
|
||||
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
|
||||
%else
|
||||
%meson_install
|
||||
%endif
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
|
@ -62,9 +85,114 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||
%{_includedir}/fribidi
|
||||
%{_libdir}/libfribidi.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_mandir}/man3/*.gz
|
||||
#%%{_mandir}/man3/*.gz
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Sep 27 2024 Akira TAGOH <tagoh@redhat.com> - 1.0.16-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#2314907
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jun 10 2024 Akira TAGOH <tagoh@redhat.com> - 1.0.15-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#2291030
|
||||
|
||||
* Wed Jun 5 2024 Akira TAGOH <tagoh@redhat.com> - 1.0.14-2
|
||||
- Fix broken data in fribidi.
|
||||
Resolves: rhbz#2279842
|
||||
|
||||
* Tue May 7 2024 Akira TAGOH <tagoh@redhat.com> - 1.0.14-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#2277227
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed May 17 2023 Akira TAGOH <tagoh@redhat.com> - 1.0.13-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#2207796
|
||||
|
||||
* Fri Feb 24 2023 Caolán McNamara <caolanm@redhat.com> - 1.0.12-4
|
||||
- migrated to SPDX license
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Apr 21 2022 Akira TAGOH <tagoh@redhat.com> - 1.0.12-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#2077311
|
||||
|
||||
* Fri Apr 1 2022 Akira TAGOH <tagoh@redhat.com> - 1.0.11-3
|
||||
- Fix security issues, CVE-2022-25308, CVE-2022-25309, CVE-2022-25310.
|
||||
Resolves: rhbz#2067039, rhbz#2067043, rhbz#2067045
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Sep 24 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1.0.11-1
|
||||
- Update to 1.0.11 (#2007504)
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 7 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.10-2
|
||||
- Update the patch to drop bundled gnulib.
|
||||
|
||||
* Mon Jul 6 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.10-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#1853939
|
||||
|
||||
* Thu Mar 05 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.9-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#1809478
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 15 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.8-2
|
||||
- Restore the deprecated API that was accidentally removed in the previous release.
|
||||
Resolves: rhbz#1787293
|
||||
|
||||
* Fri Dec 13 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.8-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#1783205
|
||||
|
||||
* Wed Dec 11 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.7-2
|
||||
- Fix CVE-2019-18397
|
||||
Resolves: rhbz#1781218
|
||||
|
||||
* Mon Sep 30 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.7-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#1756434
|
||||
|
||||
* Fri Sep 27 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.6-1
|
||||
- New upstream release.
|
||||
Resolves: rhbz#1756212
|
||||
- Use meson to build.
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
@ -261,4 +389,3 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||
|
||||
* Fri May 16 2003 Jeremy Katz <katzj@redhat.com> 0.10.4-2
|
||||
- Initial build in Red Hat Linux
|
||||
|
||||
|
|
|
|||
11
plans/basic.fmf
Normal file
11
plans/basic.fmf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
prepare:
|
||||
name: tmt
|
||||
how: install
|
||||
package:
|
||||
- fribidi
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (fribidi-1.0.5.tar.bz2) = c8fb32468be4c461832d586d6c6af65fad1cfe9d5b2fed405f247d6974425ccedeb21ad11609fbcabc3ae5d635d78d88c12d201a4d19ef997e9497054afcdeb2
|
||||
SHA512 (fribidi-1.0.16.tar.xz) = e3a56f36155f6813e3609473639fc533de742309f561c463012dc90b412a1ac7694b765d92669b2cbfaee973ca0e92fa5e926e68a1a078921f26ef17d82ab651
|
||||
|
|
|
|||
3
tests/basic/main.fmf
Normal file
3
tests/basic/main.fmf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
summary: Basic test
|
||||
test: ./test.sh
|
||||
framework: beakerlib
|
||||
31
tests/basic/test.sh
Executable file
31
tests/basic/test.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "set -o pipefail"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "BUILD_PATH=$(rpm -q --qf '%{NAME}-%{VERSION}' fribidi)" 0 "Get the build path"
|
||||
if test -d $TMT_SOURCE_DIR/$BUILD_PATH; then
|
||||
for f in $TMT_SOURCE_DIR/$BUILD_PATH/test/*.input; do
|
||||
ref=${f/.input/.reference}
|
||||
cs=$(echo $f|cut -d_ -f2)
|
||||
name=$(basename $f)
|
||||
rlRun "fribidi -t -c $cs $f | tee output" 0 "Check $name for $cs"
|
||||
rlRun "diff -U 0 output $ref" 0 "Check diff for $name"
|
||||
done
|
||||
else
|
||||
rlDie "No build directory"
|
||||
fi
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue