Blame SPECS/graphite2.spec

39512d
Name:           graphite2
39512d
Version:        1.3.10
39512d
Release:        10%{?dist}
39512d
Summary:        Font rendering capabilities for complex non-Roman writing systems
39512d
Group:          Development/Tools
39512d
39512d
License:        (LGPLv2+ or GPLv2+ or MPL) and (Netscape or GPLv2+ or LGPLv2+)
39512d
URL:            https://sourceforge.net/projects/silgraphite/
39512d
Source0:        https://downloads.sourceforge.net/project/silgraphite/graphite2//%{name}-%{version}.tgz
39512d
Patch0:         graphite-arm-nodefaultlibs.patch
39512d
Patch1:         graphite2-1.2.0-cmakepath.patch
39512d
# backports for warnings
39512d
Patch2:         0001-Fix-stricter-gcc-warnings.patch
39512d
Patch3:         0001-Fix-memory-leaks-on-realloc-failure.patch
39512d
# https://github.com/caolanm/graphite/commits/covscan_warning_1 fix/silence covscan warnings
39512d
Patch4:         0001-Related-rhbz-1602527-CTOR_DTOR_LEAK-coverity-warning.patch
39512d
Patch5:         0001-Related-rhbz-1602527-resourceLeak-cppcheck-warning.patch
39512d
Patch6:         0001-Related-rhbz-1602527-add-comment-to-silence-leaked_s.patch
39512d
Patch7:         0001-WaE-misleading-indentation.patch
39512d
Patch8:         graphite2.stack-protect.patch
39512d
39512d
BuildRequires:  gcc
39512d
BuildRequires:  gcc-c++
39512d
BuildRequires:  cmake
39512d
BuildRequires:  freetype-devel
39512d
BuildRequires:  doxygen asciidoc
39512d
BuildRequires:  texlive-helvetic texlive-sectsty texlive-tocloft texlive-xtab texlive-multirow
39512d
39512d
Obsoletes:      silgraphite < 2.3.1-5
39512d
39512d
%description
39512d
Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language
39512d
Software Development groups to provide rendering capabilities for complex
39512d
non-Roman writing systems. Graphite can be used to create “smart fonts” capable
39512d
of displaying writing systems with various complex behaviors. With respect to
39512d
the Text Encoding Model, Graphite handles the "Rendering" aspect of writing
39512d
system implementation.
39512d
39512d
%package devel
39512d
Requires: %{name}%{?_isa} = %{version}-%{release}
39512d
Summary: Files for developing with graphite2
39512d
Group: Development/Libraries
39512d
39512d
Obsoletes: silgraphite-devel < 2.3.1-5
39512d
39512d
%description devel
39512d
Includes and definitions for developing with graphite2.
39512d
39512d
%prep
39512d
%setup -q
39512d
%patch0 -p1 -b .arm
39512d
%patch1 -p1 -b .cmake
39512d
%patch2 -p1 -b .warnings
39512d
%patch3 -p1 -b .resourceLeak
39512d
%patch4 -p1 -b .CTOR_DTOR_LEAK
39512d
%patch5 -p1 -b .leaked_storage
39512d
%patch6 -p1 -b .silence_leak
39512d
%patch7 -p1 -b .misleading-indentation
39512d
%patch8 -p1 -b .stack-protect
39512d
39512d
%build
39512d
%cmake -DGRAPHITE2_COMPARE_RENDERER=OFF  .
39512d
make %{?_smp_mflags}
39512d
make docs
39512d
sed -i -e 's!!!g' doc/manual.html
39512d
39512d
%install
39512d
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
39512d
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
39512d
39512d
# rhbz#1595710 can renable this in the next release of graphite2 where python3 is supported
39512d
#%check
39512d
#ctest
39512d
39512d
%ldconfig_scriptlets
39512d
39512d
%files
39512d
%license LICENSE COPYING
39512d
%doc ChangeLog README.md
39512d
%{_bindir}/gr2fonttest
39512d
%{_libdir}/libgraphite2.so.3
39512d
%{_libdir}/libgraphite2.so.3.0.1
39512d
39512d
%files devel
39512d
%doc doc/manual.html
39512d
%dir %{_libdir}/%{name}/
39512d
%{_libdir}/%{name}/graphite2-release.cmake
39512d
%{_libdir}/%{name}/graphite2.cmake
39512d
%{_includedir}/%{name}
39512d
%{_libdir}/libgraphite2.so
39512d
%{_libdir}/pkgconfig/graphite2.pc
39512d
39512d
%changelog
39512d
* Wed Sep 05 2018 Caolán McNamara <caolanm@redhat.com> - 1.3.10-10
39512d
- Resolves: rhbz#1624116 backport upstream stack-protect enabling
39512d
39512d
* Mon Jul 23 2018 Caolán McNamara <caolanm@redhat.com> - 1.3.10-9
39512d
- rhbz#1602527 try harder on covscan warnings
39512d
39512d
* Mon Jul 23 2018 Caolán McNamara <caolanm@redhat.com> - 1.3.10-8
39512d
- rhbz#1602527 covscan warnings
39512d
39512d
* Tue Jul 17 2018 Caolán McNamara <caolanm@redhat.com> - 1.3.10-7
39512d
- Resolves: rhbz#1595710 drop python2-fonttools buildrequire
39512d
39512d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.10-6
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
39512d
39512d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.10-5
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
39512d
39512d
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.10-4
39512d
- Switch to %%ldconfig_scriptlets
39512d
39512d
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.10-3
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
39512d
39512d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.10-2
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
39512d
39512d
* Fri Jun 23 2017 Michael Cronenworth <mike@cchtml.com> - 1.3.10-1
39512d
- New upstream release
39512d
- Resolves CVE-2017-7778
39512d
39512d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-2
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
39512d
39512d
* Mon Feb 29 2016 Caolán McNamara <caolanm@redhat.com> - 1.3.6-1
39512d
- update to latest release
39512d
39512d
* Wed Feb 17 2016 Caolán McNamara <caolanm@redhat.com> - 1.3.5-1
39512d
- Resolves: rhbz#1305806 CVE-2016-1521 CVE-2016-1522 CVE-2016-1523 CVE-2016-1526
39512d
39512d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
39512d
39512d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-5
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
39512d
39512d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.2.4-4
39512d
- Rebuilt for Fedora 23 Change
39512d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
39512d
39512d
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
39512d
39512d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-2
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
39512d
39512d
* Thu Apr 03 2014 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.2.4-1
39512d
- New upstream release
39512d
39512d
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.2.2-5
39512d
- Move *.so.major symlink to main package.
39512d
39512d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
39512d
39512d
* Mon Jun 24 2013 Caolán McNamara <caolanm@redhat.com> - 1.2.2-3
39512d
- clarify licenses
39512d
39512d
* Wed Jun 19 2013 Karsten Hopp <karsten@redhat.com> 1.2.2-2
39512d
- use minimum texlive buildrequires, Than Ngo, rhbz#975843 
39512d
39512d
* Thu May 30 2013 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.2.2-1
39512d
- New upstream release
39512d
39512d
* Tue Jan 29 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.2.0-4
39512d
- Drop refman.pdf as its same as manual.html
39512d
- patch install path for cmake files as they are arch dependent
39512d
39512d
* Tue Jan 29 2013 Kalev Lember <kalevlember@gmail.com> - 1.2.0-3
39512d
- Move manual.html to -devel subpackage
39512d
39512d
* Tue Jan 29 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.2.0-2
39512d
- revert the wrongly committed f18 spec to f19
39512d
- spec file cleanup
39512d
- thanks to jnovy for finding me minimum texlive BR
39512d
- partial multilib fix for manual.html
39512d
39512d
* Fri Nov 9 2012 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.2.0-1
39512d
- New upstream release
39512d
* Wed Oct 3 2012 Caolán McNamara <caolanm@redhat.com> - 1.1.1-4
39512d
- expand license field to cover tri-licenced GrUtfTextSrc test
39512d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
39512d
* Tue Apr  3 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.1-2
39512d
- Fix FTBFS on ARM
39512d
* Mon Feb 27 2012 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.1.1-1
39512d
- New upstream release
39512d
* Wed Feb 8 2012 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.1.0-1
39512d
- New upstream release
39512d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
39512d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
39512d
* Fri Sep 23 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.3-1
39512d
- New upstream release
39512d
* Fri Aug 26 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.2-3
39512d
- Obsolete silgraphite
39512d
* Fri Aug 26 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.2-2
39512d
- Removed dependency on silgraphite-devel
39512d
- Stopped building comparerenderer - the only thing that depended on silgraphite
39512d
* Fri Aug 19 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.2-1
39512d
- Rebase to new release
39512d
- SPEC Cleanup
39512d
- Documentation is now properly installed
39512d
* Wed Aug 17 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.1-2
39512d
- Added some necessary requires
39512d
* Wed Aug 10 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.1-1
39512d
- Initial build of graphite2