Blame SPECS/fribidi.spec

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