Blame SPECS/fribidi.spec

36c99e
Summary: Library implementing the Unicode Bidirectional Algorithm
36c99e
Name: fribidi
36c99e
Version: 1.0.10
5c42f5
Release: 6%{?dist}.2
36c99e
URL: https://github.com/fribidi/fribidi/
36c99e
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
36c99e
License: LGPLv2+ and UCD
36c99e
BuildRequires: gcc
36c99e
%if 0%{?rhel} && 0%{?rhel} <= 8
36c99e
BuildRequires: automake autoconf libtool
36c99e
%else
36c99e
BuildRequires: meson
36c99e
%endif
36c99e
BuildRequires: make
36c99e
Patch0: fribidi-drop-bundled-gnulib.patch
5c42f5
Patch1: fribidi-CVE-2022-25308.patch
5c42f5
Patch2: fribidi-CVE-2022-25309.patch
5c42f5
Patch3: fribidi-CVE-2022-25310.patch
36c99e
36c99e
%description
36c99e
A library to handle bidirectional scripts (for example Hebrew, Arabic),
36c99e
so that the display is done in the proper way; while the text data itself
36c99e
is always written in logical order.
36c99e
36c99e
%package devel
36c99e
Summary: Libraries and include files for FriBidi
36c99e
Requires: %{name}%{?_isa} = %{version}-%{release}
36c99e
36c99e
%description devel
36c99e
Include files and libraries needed for developing applications which use
36c99e
FriBidi.
36c99e
36c99e
%prep
36c99e
%autosetup -p1
36c99e
%if 0%{?rhel} && 0%{?rhel} <= 8
36c99e
autoreconf -i
36c99e
%endif
36c99e
36c99e
%build
36c99e
%if 0%{?rhel} && 0%{?rhel} <= 8
36c99e
%if 0%{?el5}
36c99e
# FORTIFY_SOURCE=2 breaks EL-5 build
36c99e
export CFLAGS=`echo $RPM_OPT_FLAGS | sed -e 's|FORTIFY_SOURCE=2|FORTIFY_SOURCE=1|'`
36c99e
%ifarch ppc ppc64 x86_64
36c99e
export CFLAGS="$CFLAGS -DPAGE_SIZE=4096"
36c99e
%endif
36c99e
%else
36c99e
# outside of EL-5, only ppc* needs modification
36c99e
%ifarch ppc ppc64
36c99e
export CFLAGS="$RPM_OPT_FLAGS -DPAGE_SIZE=4096"
36c99e
%endif
36c99e
%endif
5c42f5
%configure --disable-static
36c99e
make %{?_smp_mflags} V=1
36c99e
%else
36c99e
%meson -Ddocs=false
36c99e
%meson_build
36c99e
%endif
36c99e
36c99e
%check
36c99e
%if 0%{?rhel} && 0%{?rhel} <= 8
36c99e
make check
36c99e
%else
36c99e
%meson_test
36c99e
%endif
36c99e
36c99e
%install
36c99e
%if 0%{?rhel} && 0%{?rhel} <= 8
36c99e
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
36c99e
%else
36c99e
%meson_install
36c99e
%endif
36c99e
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
36c99e
36c99e
%ldconfig_scriptlets
36c99e
36c99e
%files
36c99e
%doc README AUTHORS ChangeLog THANKS NEWS TODO
36c99e
%license COPYING
36c99e
%{_bindir}/fribidi
36c99e
%{_libdir}/libfribidi.so.0*
36c99e
36c99e
%files devel
36c99e
%{_includedir}/fribidi
36c99e
%{_libdir}/libfribidi.so
36c99e
%{_libdir}/pkgconfig/*.pc
36c99e
#%%{_mandir}/man3/*.gz
36c99e
36c99e
%changelog
5c42f5
* Thu Apr 14 2022 Akira TAGOH <tagoh@redhat.com> - 1.0.10-6.el9.2
5c42f5
- Security fixes for CVE-2022-25308, CVE-2022-25309, CVE-2022-25310
5c42f5
  Resolves: rhbz#2050086, rhbz#2050069, rhbz#2050063
5c42f5
36c99e
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.10-6
36c99e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
36c99e
  Related: rhbz#1991688
36c99e
36c99e
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.10-5
36c99e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
36c99e
36c99e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-4
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
36c99e
36c99e
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-3
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
36c99e
36c99e
* Tue Jul  7 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.10-2
36c99e
- Update the patch to drop bundled gnulib.
36c99e
36c99e
* Mon Jul  6 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.10-1
36c99e
- New upstream release.
36c99e
  Resolves: rhbz#1853939
36c99e
36c99e
* Thu Mar 05 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.9-1
36c99e
- New upstream release.
36c99e
  Resolves: rhbz#1809478
36c99e
36c99e
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
36c99e
36c99e
* Wed Jan 15 2020 Akira TAGOH <tagoh@redhat.com> - 1.0.8-2
36c99e
- Restore the deprecated API that was accidentally removed in the previous release.
36c99e
  Resolves: rhbz#1787293
36c99e
36c99e
* Fri Dec 13 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.8-1
36c99e
- New upstream release.
36c99e
  Resolves: rhbz#1783205
36c99e
36c99e
* Wed Dec 11 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.7-2
36c99e
- Fix CVE-2019-18397
36c99e
  Resolves: rhbz#1781218
36c99e
36c99e
* Mon Sep 30 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.7-1
36c99e
- New upstream release.
36c99e
  Resolves: rhbz#1756434
36c99e
36c99e
* Fri Sep 27 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.6-1
36c99e
- New upstream release.
36c99e
  Resolves: rhbz#1756212
36c99e
- Use meson to build.
36c99e
36c99e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
36c99e
36c99e
* Tue Jul 23 2019 Akira TAGOH <tagoh@redhat.com> - 1.0.5-3
36c99e
- Backport upstream patch to remove HAVE_CONFIG_H from public API.
36c99e
  Fixes rhbz#1730516
36c99e
36c99e
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
36c99e
36c99e
* Mon Aug 06 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.5-1
36c99e
- New upstream release. (#1609080)
36c99e
36c99e
* Thu Jul 26 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-6
36c99e
- Drop bundled gnulib code.
36c99e
36c99e
* Tue Jul 17 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-5
36c99e
- Add BR: gcc.
36c99e
36c99e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
36c99e
36c99e
* Thu Jul 12 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-3
36c99e
- Modernize spec file.
36c99e
36c99e
* Fri Jun 29 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-2
36c99e
- Use ldconfig rpm macro.
36c99e
36c99e
* Fri Jun 08 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.4-1
36c99e
- New upstream release. (#1587985)
36c99e
36c99e
* Thu May 31 2018 Akira TAGOH <tagoh@redhat.com> - 1.0.3-1
36c99e
- New upstream release. (#1584541)
36c99e
36c99e
* Fri May 04 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.2-1
36c99e
- Resolves: rhbz#1574858 latest version, --disable-docs because there's no c2man
36c99e
36c99e
* Wed Feb 28 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.1-1
36c99e
- Resolves: rhbz#1549934 latest version
36c99e
36c99e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.7-7
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
36c99e
36c99e
* Mon Oct 16 2017 Caolán McNamara <caolanm@redhat.com> - 0.19.7-6
36c99e
- Resolves: rhbz#1502675 enable make check
36c99e
36c99e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.7-5
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
36c99e
36c99e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.7-4
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
36c99e
36c99e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.7-3
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
36c99e
36c99e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.7-2
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
36c99e
36c99e
* Tue Aug 11 2015 Caolán McNamara <caolanm@redhat.com> - 0.19.7-1
36c99e
- Resolves: rhbz#1250755 latest fribidi
36c99e
36c99e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.6-5
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
36c99e
36c99e
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.19.6-4
36c99e
- Rebuilt for Fedora 23 Change
36c99e
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
36c99e
36c99e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.6-3
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
36c99e
36c99e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.6-2
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
36c99e
36c99e
* Mon Jan 13 2014 Caolán McNamara <caolanm@redhat.com> - 0.19.6-1
36c99e
- Resolves: rhbz#1052148 latest fribidi
36c99e
- drop integrated signedwarning.patch
36c99e
- drop integrated fribidi-aarch64.patch
36c99e
36c99e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.4-5
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
36c99e
36c99e
* Wed Apr 03 2013 Caolán McNamara <caolanm@redhat.com> - 0.19.4-4
36c99e
- Resolves: rhbz#925368 support aarch64
36c99e
36c99e
* Mon Feb 18 2013 Caolán McNamara <caolanm@redhat.com> - 0.19.4-3
36c99e
- Resolves: rhbz#884000 remove empty man pages
36c99e
36c99e
* Mon Dec 10 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-2
36c99e
- Resolves: rhbz#884000 signed warning (thanks mfabian)
36c99e
36c99e
* Tue Nov 27 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-1
36c99e
- Resolves: rhbz#880490 bump to latest version
36c99e
36c99e
* Tue Oct 16 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 0.19.2-6
36c99e
- spec cleanup for changed packaging guidelines
36c99e
36c99e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-5
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
36c99e
36c99e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-4
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
36c99e
36c99e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-3
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
36c99e
36c99e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-2
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
36c99e
36c99e
* Thu Mar 26 2009 Behdad Esfahbod <besfahbo@redhat.com> 0.19.2-1
36c99e
- Update to 0.19.2
36c99e
36c99e
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.1-4
36c99e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
36c99e
36c99e
* Mon Jan 12 2009 Caolán McNamara <caolanm@redhat.com> - 0.19.1-3
36c99e
- rebuild to get provides pkgconfig(fribidi)
36c99e
36c99e
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.19.1-2
36c99e
- Autorebuild for GCC 4.3
36c99e
36c99e
* Wed Jan 16 2008 Caolan McNamara <caolanm@redhat.com> 0.19.1-1
36c99e
- next version
36c99e
- workaround PAGE_SIZE requirement
36c99e
36c99e
* Wed Aug 29 2007 Caolan McNamara <caolanm@redhat.com> 0.10.9-2
36c99e
- rebuild
36c99e
36c99e
* Fri Aug 10 2007 Caolan McNamara <caolanm@redhat.com> 0.10.9-1
36c99e
- next version
36c99e
36c99e
* Thu Aug 02 2007 Caolan McNamara <caolanm@redhat.com> 0.10.8-2
36c99e
- clarify license
36c99e
36c99e
* Thu May 31 2007 Caolan McNamara <caolanm@redhat.com> 0.10.8-1
36c99e
- next version
36c99e
36c99e
* Mon Feb 05 2007 Caolan McNamara <caolanm@redhat.com> 0.10.7-6
36c99e
- Resolves: rhbz#225771 spec cleanups
36c99e
36c99e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10.7-5.1
36c99e
- rebuild
36c99e
36c99e
* Thu Jun 29 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-5
36c99e
- rh#197223# devel Require pkg-config
36c99e
36c99e
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 0.10.7-4
36c99e
- put devel .so symlink in the right subpackage
36c99e
36c99e
* Tue May 23 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-3
36c99e
- rh#192669# clearly I didn't actually get around to basing fribidi-config 
36c99e
  of pkg-config output
36c99e
36c99e
* Tue May 02 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-2
36c99e
- base fribidi-config on pkg-config output
36c99e
- allow fribidi_config.h to be the same on 32 and 64 bit
36c99e
36c99e
* Mon Mar 27 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-1
36c99e
- latest version
36c99e
36c99e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.10.4-8.2.1
36c99e
- bump again for double-long bug on ppc(64)
36c99e
36c99e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.10.4-8.2
36c99e
- rebuilt for new gcc4.1 snapshot and glibc changes
36c99e
36c99e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
36c99e
- rebuilt
36c99e
36c99e
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 0.10.4-8
36c99e
- rebuild with gcc4
36c99e
36c99e
* Wed Feb 09 2005 Caolan McNamara <caolanm@redhat.com> 0.10.4-7
36c99e
- rebuilt
36c99e
36c99e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
36c99e
- rebuilt
36c99e
36c99e
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
36c99e
- rebuilt
36c99e
36c99e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
36c99e
- rebuilt
36c99e
36c99e
* Wed Sep 24 2003 Jeremy Katz <katzj@redhat.com> 0.10.4-4
36c99e
- update description
36c99e
- include docs (#104964)
36c99e
36c99e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
36c99e
- rebuilt
36c99e
36c99e
* Sat May 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
36c99e
- add ldconfig to post/postun
36c99e
36c99e
* Fri May 16 2003 Jeremy Katz <katzj@redhat.com> 0.10.4-2
36c99e
- Initial build in Red Hat Linux
36c99e