ea1a5a
Summary: Library implementing the Unicode Bidirectional Algorithm
ea1a5a
Name: fribidi
ea1a5a
Version: 1.0.2
ea1a5a
Release: 1%{?dist}
ea1a5a
URL: https://github.com/fribidi/fribidi/
ea1a5a
Source: https://github.com//%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
ea1a5a
License: LGPLv2+ and UCD
ea1a5a
Group: System Environment/Libraries
ea1a5a
ea1a5a
%description
ea1a5a
A library to handle bidirectional scripts (for example Hebrew, Arabic),
ea1a5a
so that the display is done in the proper way; while the text data itself
ea1a5a
is always written in logical order.
ea1a5a
ea1a5a
%package devel
ea1a5a
Summary: Libraries and include files for FriBidi
ea1a5a
Group: System Environment/Libraries
ea1a5a
Requires: %{name}%{?_isa} = %{version}-%{release}
ea1a5a
ea1a5a
%description devel
ea1a5a
Include files and libraries needed for developing applications which use
ea1a5a
FriBidi.
ea1a5a
ea1a5a
%prep
ea1a5a
%setup -q
ea1a5a
ea1a5a
%build
ea1a5a
%if 0%{?el5}
ea1a5a
# FORTIFY_SOURCE=2 breaks EL-5 build
ea1a5a
export CFLAGS=`echo $RPM_OPT_FLAGS | sed -e 's|FORTIFY_SOURCE=2|FORTIFY_SOURCE=1|'`
ea1a5a
%ifarch ppc ppc64 x86_64
ea1a5a
export CFLAGS="$CFLAGS -DPAGE_SIZE=4096"
ea1a5a
%endif
ea1a5a
%else
ea1a5a
# outside of EL-5, only ppc* needs modification
ea1a5a
%ifarch ppc ppc64
ea1a5a
export CFLAGS="$RPM_OPT_FLAGS -DPAGE_SIZE=4096"
ea1a5a
%endif
ea1a5a
%endif
ea1a5a
%configure --disable-static --disable-docs
ea1a5a
make %{?_smp_mflags}
ea1a5a
ea1a5a
%check
ea1a5a
make check
ea1a5a
ea1a5a
%install
ea1a5a
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
ea1a5a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
ea1a5a
ea1a5a
%post -p /sbin/ldconfig
ea1a5a
ea1a5a
%postun -p /sbin/ldconfig
ea1a5a
ea1a5a
%files
ea1a5a
%doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO
ea1a5a
%{_bindir}/fribidi
ea1a5a
%{_libdir}/libfribidi.so.*
ea1a5a
ea1a5a
%files devel
ea1a5a
%{_includedir}/fribidi
ea1a5a
%{_libdir}/libfribidi.so
ea1a5a
%{_libdir}/pkgconfig/*.pc
ea1a5a
ea1a5a
%changelog
ea1a5a
* Fri May 04 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.2-1
ea1a5a
- Resolves: rhbz#1574858 latest version, --disable-docs because there's no c2man
ea1a5a
ea1a5a
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.19.4-6
ea1a5a
- Mass rebuild 2014-01-24
ea1a5a
ea1a5a
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.19.4-5
ea1a5a
- Mass rebuild 2013-12-27
ea1a5a
ea1a5a
* Wed Apr 03 2013 Caolán McNamara <caolanm@redhat.com> - 0.19.4-4
ea1a5a
- Resolves: rhbz#925368 support aarch64
ea1a5a
ea1a5a
* Wed Feb 18 2013 Caolán McNamara <caolanm@redhat.com> - 0.19.4-3
ea1a5a
- Resolves: rhbz#884000 remove empty man pages
ea1a5a
ea1a5a
* Mon Dec 10 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-2
ea1a5a
- Resolves: rhbz#884000 signed warning (thanks mfabian)
ea1a5a
ea1a5a
* Tue Nov 27 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-1
ea1a5a
- Resolves: rhbz#880490 bump to latest version
ea1a5a
ea1a5a
* Tue Oct 16 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 0.19.2-6
ea1a5a
- spec cleanup for changed packaging guidelines
ea1a5a
ea1a5a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-5
ea1a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ea1a5a
ea1a5a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-4
ea1a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ea1a5a
ea1a5a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-3
ea1a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ea1a5a
ea1a5a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-2
ea1a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ea1a5a
ea1a5a
* Thu Mar 26 2009 Behdad Esfahbod <besfahbo@redhat.com> 0.19.2-1
ea1a5a
- Update to 0.19.2
ea1a5a
ea1a5a
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.1-4
ea1a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea1a5a
ea1a5a
* Mon Jan 12 2009 Caolán McNamara <caolanm@redhat.com> - 0.19.1-3
ea1a5a
- rebuild to get provides pkgconfig(fribidi)
ea1a5a
ea1a5a
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.19.1-2
ea1a5a
- Autorebuild for GCC 4.3
ea1a5a
ea1a5a
* Wed Jan 16 2008 Caolan McNamara <caolanm@redhat.com> 0.19.1-1
ea1a5a
- next version
ea1a5a
- workaround PAGE_SIZE requirement
ea1a5a
ea1a5a
* Wed Aug 29 2007 Caolan McNamara <caolanm@redhat.com> 0.10.9-2
ea1a5a
- rebuild
ea1a5a
ea1a5a
* Fri Aug 10 2007 Caolan McNamara <caolanm@redhat.com> 0.10.9-1
ea1a5a
- next version
ea1a5a
ea1a5a
* Thu Aug 02 2007 Caolan McNamara <caolanm@redhat.com> 0.10.8-2
ea1a5a
- clarify license
ea1a5a
ea1a5a
* Thu May 31 2007 Caolan McNamara <caolanm@redhat.com> 0.10.8-1
ea1a5a
- next version
ea1a5a
ea1a5a
* Mon Feb 05 2007 Caolan McNamara <caolanm@redhat.com> 0.10.7-6
ea1a5a
- Resolves: rhbz#225771 spec cleanups
ea1a5a
ea1a5a
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10.7-5.1
ea1a5a
- rebuild
ea1a5a
ea1a5a
* Thu Jun 29 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-5
ea1a5a
- rh#197223# devel Require pkg-config
ea1a5a
ea1a5a
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 0.10.7-4
ea1a5a
- put devel .so symlink in the right subpackage
ea1a5a
ea1a5a
* Tue May 23 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-3
ea1a5a
- rh#192669# clearly I didn't actually get around to basing fribidi-config 
ea1a5a
  of pkg-config output
ea1a5a
ea1a5a
* Tue May 02 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-2
ea1a5a
- base fribidi-config on pkg-config output
ea1a5a
- allow fribidi_config.h to be the same on 32 and 64 bit
ea1a5a
ea1a5a
* Mon Mar 27 2006 Caolan McNamara <caolanm@redhat.com> 0.10.7-1
ea1a5a
- latest version
ea1a5a
ea1a5a
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.10.4-8.2.1
ea1a5a
- bump again for double-long bug on ppc(64)
ea1a5a
ea1a5a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.10.4-8.2
ea1a5a
- rebuilt for new gcc4.1 snapshot and glibc changes
ea1a5a
ea1a5a
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ea1a5a
- rebuilt
ea1a5a
ea1a5a
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 0.10.4-8
ea1a5a
- rebuild with gcc4
ea1a5a
ea1a5a
* Wed Feb 09 2005 Caolan McNamara <caolanm@redhat.com> 0.10.4-7
ea1a5a
- rebuilt
ea1a5a
ea1a5a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
ea1a5a
- rebuilt
ea1a5a
ea1a5a
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
ea1a5a
- rebuilt
ea1a5a
ea1a5a
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
ea1a5a
- rebuilt
ea1a5a
ea1a5a
* Wed Sep 24 2003 Jeremy Katz <katzj@redhat.com> 0.10.4-4
ea1a5a
- update description
ea1a5a
- include docs (#104964)
ea1a5a
ea1a5a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
ea1a5a
- rebuilt
ea1a5a
ea1a5a
* Sat May 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
ea1a5a
- add ldconfig to post/postun
ea1a5a
ea1a5a
* Fri May 16 2003 Jeremy Katz <katzj@redhat.com> 0.10.4-2
ea1a5a
- Initial build in Red Hat Linux
ea1a5a