fontforge/fontforge.spec

140 lines
4.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package fontforge
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fontforge
Accepting request 1070257 from home:dirkmueller:Factory - update to 20230101: * Display the block name for reserved code points * Don't respond to wheel scrolls for buttons/tabsets * gfilechooser.c: fix behaviour when changing file type * Better control-drag handling for line-adjacent points * Fix resolution of program root * Fix missed nonextcp edit * Support ToUnicode extraction from PDFs for Type3 fonts * Add resource file and Windows application manifest * Fix name extraction for Type3 fonts from pdfs * cmake: Install fonttools and pycontrib * Fix InfoPlist.strings file name. * Fix normalisation of absolute paths * Handle non-array cm transforms while reading graphics stream from PDFs * Fix rect extraction from graphics stream for type3 fonts * Change which lookup types are suggested for jamo features * Better line handling in simplify * Use 'cmap' for Adobe-Identity-0 CID fonts * Fix ChangeGlyph calcluations relative to new nonext/prevcp conventions * Docs composite glyph * FVSplineFontPieceMeal: Check that the clut is present before applying conversion * Expand the lists of languages and scripts * Add flags to Python font.transform() * Support setting SplineChar width from importOutlines. * Undefine "extended" macro temporarily on GNU Hurd * Define PATH_MAX and MAXPATHLEN for GNU/Hurd compatibility * Fix Ascent & Descent Importing from SVG Font OBS-URL: https://build.opensuse.org/request/show/1070257 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=85
2023-03-10 08:41:43 +01:00
Version: 20230101
Release: 0
Summary: A Font Editor
License: GPL-3.0-or-later
URL: https://fontforge.org/
Source0: https://github.com/fontforge/fontforge/archive/%{version}.tar.gz
# workaround for bug 930076, imho upstream should fix this
# https://github.com/fontforge/fontforge/issues/2270
Patch0: fontforge-version.patch
Patch1: add-bitmap-transform-support.patch
# PATCH-FIX-UPSTREAM fontforge-CVE-2024-25081-CVE-2024-25082.patch CVE-2024-25081 CVE-2024-25082 bsc#1220404 bsc#1220405 qzhao@suse.com -- Fix Splinefont shell invocation.
Patch2: fontforge-CVE-2024-25081-CVE-2024-25082.patch
Patch3: https://github.com/fontforge/fontforge/commit/642d8a3db6d4bc0e70b429622fdf01ecb09c4c10.patch
BuildRequires: cairo-devel
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
BuildRequires: gcc-c++
BuildRequires: gettext-tools
BuildRequires: giflib-devel
BuildRequires: git
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
BuildRequires: gtk3-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: pango-devel
BuildRequires: pkgconfig
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
BuildRequires: python3-Sphinx
Accepting request 561651 from openSUSE:Factory:Staging:O - switch to python 3 - updated to 20161005 [bsc#1014793]: * This release introduces a new icon set, new functionality for custom icon selection graphics, support for GlyphOrderAndAliasDB files, and support for Unicode 9.0. * It also fixes a number of small bugs relating to certain bitmap typefaces, stroke expansion, handling of CID ranges, and the user interface. - removed upstreamed patches: - propagate-creation-and-modification-times-to-ttf.patch - fontforge-eof-crash.patch - do not crash on invalid input data (when eof reached) [bsc#963023] + fontforge-eof-crash.patch - updated to 20150824: This fixes a few bugs, including some in U. F. O. kerning classes and FreeType rasterization, and adds a Korean translation. - updated to 20150430: this release includes a few bug fixes, performance enhancements, and refreshed icons. - download uthash when get-source.sh - fontforge --version now returns fontforge release version + fontforge-version.patch - also repackage the broken gnulib links to fix build with newer libtool - repack source [bnc#926061] - updated to 20150330: * fixes a few crashes, enhances round-tripping of information in certain file formats, and fixes some bad logic * adds support for fine point adjustment * etc. see https://github.com/fontforge/fontforge/releases for details - remove %requires_ge libpng16-16 as it seems fontforge is not so picky anymore - doc is generated - remove pfaedit compat - removed patches (upstreamed or not needed): - fontforge-fixgiflib.patch - fontforge-arraysubscript.patch - fontforge-fdleak.patch - fontforge-libpng.diff - fontforge-docdir.patch - fontforge-python-module-name.diff - added propagate-creation-and-modification-times-to-ttf.patch from debian's reproducible build project to get reproducible font builds - Cleanup BuildRequires, in particular do not use legacy metapackage xorg-x11-devel - Update fontforge-fixgiflib.patch to support giflib7-5.1 - fixed linking against libpng (1.5, 1.6) [bnc#867041] * added fontforge-libpng.diff * removed libpng14-dynamic.diff - spec file cleanup * call spec-cleaner * fontforge-20090622-fdleak.patch renamed to fontforge-fdleak.patch * docdir.patch renamed to fontforge-docdir.patch - fontforge-arraysubscript.patch: Fix invalid array subscript - Put documentation into a separate subpackage - Spruce of description of fontforge-devel a bit - File list simplification/exactness - add fontforge-fixgiflib.patch to fix build with giflib 5.0.5 - use %requires_eq rather than %requires_ge (exact version) - %requires_ge libpng16-16 to avoid 'Application built with libpng-1.5.14 but running with 1.6.1' warning when running fontforge - Build with cairo and pango support - Update to 20120731b * see included changelog.html for details * removed obsolete fontforge.py27.diff * removed obsolete fontforge-missing-closedir.diff * removed obsolete libpng14.diff - remove call to suse_update_config (very old work around) - Make rpmlint more happy. - Apply packaging guidelines (remove redundant/obsolete tags/sections from specfile, etc.) - updated to 20110222: * Did a lot of work to improve the accuracy in remove overlap. * Fix various error messages. * Remove some obsolete documentation. * Technical fixes to stroking code. * Add a miterlimit to stroking code. * FontForge was using the wrong MIME type for svg files. W3C has changed it and it's now "image/svg+xml" not "image/svg-xml" or "image/svg". * etc. on http://fontforge.sourceforge.net/changelog.html * libpng14.diff and fontforge.py27.diff kept but not needed yet - adapt to python 2.7 - fix build with older distros before libpng 1.4 - compile with libpng 1.4 - Updated to 20090923 - Enabled Python bindings - fontforge-20090622-1.6: missing call to closedir [bnc#543458] - fix -devel package dependencies - fix missing closedir() (bnc#525022) - updated to version 20090622 lots of changes. See changelog.html for details - remove "la" files and static libraries - add missing freetype2-devel dependency to -devel package - bnc#246804: update to 20080429 (needed to build recent versions of the DejaVu fonts and freefont). - fix typo - update to 20080203 (bugfix release, fixes also bnc#363014). - create -devel sub-package. - update to 20070723 (user interace redesigned, many bugfixes). - add ldconfig post scripts. - remove executable flags from documentation. - remove DOS line-endings from documentation. - remove BuildPreRequires - Bugzilla #242363: uninitialized variable. - update to 20061220. - remove fontforge-strncat.patch, bugzilla-221210-locale-variable-used-before-set.patch, bugzilla-225616-local-variable-used-before-set.patch (included upstream). - fix bugzilla #231126: "array subscript out of range". - update to 20061025. • fontimage program has been added. - fix bugzilla #225616 ("local variable used before set"). - Bugzilla #221210: "local variable used before set" - fix permissions on icon file - fix gcc warning for strncat - update to 20061014. remove bugzilla-203490-local-variable-used-before-set.patch (included upstream). - Fix Bugzilla #211543 ("array subscript out of range). - Fix invalid operation (like x = x++;) - fix bugzilla #203490: "local variable used before set". - add Japanese documentation. - update to 20060822. remove bugzilla-197499-local-variable-used-before-set.patch (included upstream). - Bugzilla 197499: "local variable used before set". - update to 20060715. fixes a crash when building freefont. - Bugzilla #158759: "locale variable used before set". (already fixed in latest upstream version). - Bugzilla #153958: "array subscript out of range". (already fixed in latest upstream version). - converted neededforbuild to BuildRequires - fix capitalization of .desktop GenericName entry - update to 20050803. cannot update documentation because the download link for the documentation is currently dead. - update to 20050502. - all .html and .png files should have mode 644. - fix fontforge.desktop file (thanks to Thomas Schraitle<thomas.schraitle@suse.de>). - install icon - fixed file list - rename: PfaEdit -> fontforge (has been renamed upstream). - update to 20040808. - use no-strict-aliasing - update to 040224. - build as user - make it build on older distributions. - update to 030817. - add desktop file. - update binaries and documentation to 030512 - add .so and .la file to file list - add "freetype2 freetype2-devel" to neededforbuild - update binaries and documentation to 030211 - update to 021105 - use x-devel-packages instead of xf86 in # neededforbuild - use dynamic linking - update to 021021 and update documentation to 020910. - update to version 020724 - include documentation, remove cidmaps.tar.bz2 and use updated cidmaps.tgz from the documentation tar ball - changed neededforbuild <libpng> to <libpng-devel-packages> - update to version 020121. - updated cidmaps.tar.bz2 - adapted for SuSE, version 010905 - My first attempt at rpm, updated to 10 May sources - Removed (unused) dynamic library files - Upgraded from 220401 to 280401. - Upgraded from 190401 to 220401. - Upgraded from 020401 to 190401. - Upgraded from 210301 to 020401. - Initial release OBS-URL: https://build.opensuse.org/request/show/561651 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=66
2018-01-04 18:56:57 +01:00
BuildRequires: python3-devel
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
BuildRequires: readline-devel
BuildRequires: update-desktop-files
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
BuildRequires: woff2-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xi)
%if 0%{?suse_version} > 1210
BuildRequires: libspiro-devel
%endif
%description
FontForge allows editing of outline and bitmap fonts. With it, you can
create new fonts or modify old ones. It also converts font formats and
can convert among PostScript (ASCII & binary Type 1, some Type 3s, and
some Type 0s), TrueType, OpenType (Type2), and CID-keyed fonts.
%package doc
Summary: Documentation for FontForge
%if 0%{?suse_version} >= 1230
BuildArch: noarch
%endif
%description doc
FontForge allows editing of outline and bitmap fonts. With it, you can
create new fonts or modify old ones. It also converts font formats and
can convert among PostScript, TrueType, OpenType, and CID-keyed fonts.
This subpackage contains the documentation to FontForge.
%package devel
Summary: Include Files and Libraries mandatory for Development
Requires: %{name} = %{version}
Requires: freetype2-devel
%description devel
FontForge allows editing of outline and bitmap fonts. With it, you can
create new fonts or modify old ones. It also converts font formats and
can convert among PostScript, TrueType, OpenType, and CID-keyed fonts.
This subpackage contains all necessary include files and libraries needed
to develop applications that use FontForge libraries.
%prep
%autosetup -p1
%build
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
%cmake \
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name}/html
%install
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
%cmake_install
%suse_update_desktop_file -i org.fontforge.FontForge VectorGraphics
%find_lang FontForge
find %{buildroot} -type f -name "*.la" -delete -print
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. * As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal. * Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
rm %{buildroot}%{_docdir}/%{name}/html/.buildinfo
rm %{buildroot}%{_docdir}/%{name}/html/.nojekyll
%fdupes -s %{buildroot}%{_datadir}/%{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f FontForge.lang
%license LICENSE COPYING.gplv3
%exclude %{_docdir}/%{name}/html
%{_mandir}/man1/*.1%{?ext_man}
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_datadir}/fontforge/
Accepting request 561651 from openSUSE:Factory:Staging:O - switch to python 3 - updated to 20161005 [bsc#1014793]: * This release introduces a new icon set, new functionality for custom icon selection graphics, support for GlyphOrderAndAliasDB files, and support for Unicode 9.0. * It also fixes a number of small bugs relating to certain bitmap typefaces, stroke expansion, handling of CID ranges, and the user interface. - removed upstreamed patches: - propagate-creation-and-modification-times-to-ttf.patch - fontforge-eof-crash.patch - do not crash on invalid input data (when eof reached) [bsc#963023] + fontforge-eof-crash.patch - updated to 20150824: This fixes a few bugs, including some in U. F. O. kerning classes and FreeType rasterization, and adds a Korean translation. - updated to 20150430: this release includes a few bug fixes, performance enhancements, and refreshed icons. - download uthash when get-source.sh - fontforge --version now returns fontforge release version + fontforge-version.patch - also repackage the broken gnulib links to fix build with newer libtool - repack source [bnc#926061] - updated to 20150330: * fixes a few crashes, enhances round-tripping of information in certain file formats, and fixes some bad logic * adds support for fine point adjustment * etc. see https://github.com/fontforge/fontforge/releases for details - remove %requires_ge libpng16-16 as it seems fontforge is not so picky anymore - doc is generated - remove pfaedit compat - removed patches (upstreamed or not needed): - fontforge-fixgiflib.patch - fontforge-arraysubscript.patch - fontforge-fdleak.patch - fontforge-libpng.diff - fontforge-docdir.patch - fontforge-python-module-name.diff - added propagate-creation-and-modification-times-to-ttf.patch from debian's reproducible build project to get reproducible font builds - Cleanup BuildRequires, in particular do not use legacy metapackage xorg-x11-devel - Update fontforge-fixgiflib.patch to support giflib7-5.1 - fixed linking against libpng (1.5, 1.6) [bnc#867041] * added fontforge-libpng.diff * removed libpng14-dynamic.diff - spec file cleanup * call spec-cleaner * fontforge-20090622-fdleak.patch renamed to fontforge-fdleak.patch * docdir.patch renamed to fontforge-docdir.patch - fontforge-arraysubscript.patch: Fix invalid array subscript - Put documentation into a separate subpackage - Spruce of description of fontforge-devel a bit - File list simplification/exactness - add fontforge-fixgiflib.patch to fix build with giflib 5.0.5 - use %requires_eq rather than %requires_ge (exact version) - %requires_ge libpng16-16 to avoid 'Application built with libpng-1.5.14 but running with 1.6.1' warning when running fontforge - Build with cairo and pango support - Update to 20120731b * see included changelog.html for details * removed obsolete fontforge.py27.diff * removed obsolete fontforge-missing-closedir.diff * removed obsolete libpng14.diff - remove call to suse_update_config (very old work around) - Make rpmlint more happy. - Apply packaging guidelines (remove redundant/obsolete tags/sections from specfile, etc.) - updated to 20110222: * Did a lot of work to improve the accuracy in remove overlap. * Fix various error messages. * Remove some obsolete documentation. * Technical fixes to stroking code. * Add a miterlimit to stroking code. * FontForge was using the wrong MIME type for svg files. W3C has changed it and it's now "image/svg+xml" not "image/svg-xml" or "image/svg". * etc. on http://fontforge.sourceforge.net/changelog.html * libpng14.diff and fontforge.py27.diff kept but not needed yet - adapt to python 2.7 - fix build with older distros before libpng 1.4 - compile with libpng 1.4 - Updated to 20090923 - Enabled Python bindings - fontforge-20090622-1.6: missing call to closedir [bnc#543458] - fix -devel package dependencies - fix missing closedir() (bnc#525022) - updated to version 20090622 lots of changes. See changelog.html for details - remove "la" files and static libraries - add missing freetype2-devel dependency to -devel package - bnc#246804: update to 20080429 (needed to build recent versions of the DejaVu fonts and freefont). - fix typo - update to 20080203 (bugfix release, fixes also bnc#363014). - create -devel sub-package. - update to 20070723 (user interace redesigned, many bugfixes). - add ldconfig post scripts. - remove executable flags from documentation. - remove DOS line-endings from documentation. - remove BuildPreRequires - Bugzilla #242363: uninitialized variable. - update to 20061220. - remove fontforge-strncat.patch, bugzilla-221210-locale-variable-used-before-set.patch, bugzilla-225616-local-variable-used-before-set.patch (included upstream). - fix bugzilla #231126: "array subscript out of range". - update to 20061025. • fontimage program has been added. - fix bugzilla #225616 ("local variable used before set"). - Bugzilla #221210: "local variable used before set" - fix permissions on icon file - fix gcc warning for strncat - update to 20061014. remove bugzilla-203490-local-variable-used-before-set.patch (included upstream). - Fix Bugzilla #211543 ("array subscript out of range). - Fix invalid operation (like x = x++;) - fix bugzilla #203490: "local variable used before set". - add Japanese documentation. - update to 20060822. remove bugzilla-197499-local-variable-used-before-set.patch (included upstream). - Bugzilla 197499: "local variable used before set". - update to 20060715. fixes a crash when building freefont. - Bugzilla #158759: "locale variable used before set". (already fixed in latest upstream version). - Bugzilla #153958: "array subscript out of range". (already fixed in latest upstream version). - converted neededforbuild to BuildRequires - fix capitalization of .desktop GenericName entry - update to 20050803. cannot update documentation because the download link for the documentation is currently dead. - update to 20050502. - all .html and .png files should have mode 644. - fix fontforge.desktop file (thanks to Thomas Schraitle<thomas.schraitle@suse.de>). - install icon - fixed file list - rename: PfaEdit -> fontforge (has been renamed upstream). - update to 20040808. - use no-strict-aliasing - update to 040224. - build as user - make it build on older distributions. - update to 030817. - add desktop file. - update binaries and documentation to 030512 - add .so and .la file to file list - add "freetype2 freetype2-devel" to neededforbuild - update binaries and documentation to 030211 - update to 021105 - use x-devel-packages instead of xf86 in # neededforbuild - use dynamic linking - update to 021021 and update documentation to 020910. - update to version 020724 - include documentation, remove cidmaps.tar.bz2 and use updated cidmaps.tgz from the documentation tar ball - changed neededforbuild <libpng> to <libpng-devel-packages> - update to version 020121. - updated cidmaps.tar.bz2 - adapted for SuSE, version 010905 - My first attempt at rpm, updated to 10 May sources - Removed (unused) dynamic library files - Upgraded from 220401 to 280401. - Upgraded from 190401 to 220401. - Upgraded from 020401 to 190401. - Upgraded from 210301 to 020401. - Initial release OBS-URL: https://build.opensuse.org/request/show/561651 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=66
2018-01-04 18:56:57 +01:00
%{python3_sitearch}/*
%{_datadir}/applications/org.fontforge.FontForge.desktop
%{_datadir}/icons/hicolor/*/apps/org.fontforge.FontForge.png
%{_datadir}/icons/hicolor/scalable/apps/org.fontforge.FontForge.svg
%{_datadir}/metainfo/org.fontforge.FontForge.*.xml
%{_datadir}/mime/packages/%{name}.xml
%dir %{_docdir}/fontforge
%files doc
%license LICENSE
%doc AUTHORS README.md
%doc %{_docdir}/%{name}/html
%files devel
%doc CONTRIBUTING.md
%{_libdir}/lib*.so
%changelog