Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37533076
en ru br
Репозитории ALT
S:20230101-alt1
5.1: 20080828-alt1
4.1: 20080309-alt1.qa1
4.0: 20070312-alt1
3.0: 20050209-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:20080309

Группа :: Издательство
Пакет: fontforge

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable docs

Name: fontforge
Version: 20230101
Release: alt1

Summary: FontForge -- font editor
License: BSD
Group: Publishing

Url: http://fontforge.sourceforge.net/
# Source-url: https://github.com/fontforge/fontforge/archive/%version.tar.gz
Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3 rpm-macros-cmake
BuildRequires: cmake gcc-c++
BuildRequires: libgtk+3-devel libgio-devel
BuildRequires: python3-dev

BuildRequires: libreadline-devel libspiro-devel libuninameslist-devel
BuildRequires: libxml2-devel libfreetype-devel zlib-devel
BuildRequires: libgif-devel libjpeg-devel libtiff-devel libpng-devel libwoff2-devel
#BuildRequires: libuthash-devel gnulib

%if_enabled docs
BuildRequires: python3-module-sphinx
%endif

%add_python3_lib_path %_datadir/%name/python

Requires: lib%name = %EVR

%description
FontForge allows the user to create and modify
Type 1 (postscript) and true type fonts.
User can save fonts in different postscript
formats and generate bitmaps.

%description -l ru_RU.UTF-8
FontForge п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╦ п╦п╥п╪п╣п╫я▐я┌я▄
я┬я─п╦я└я┌я▀ я└п╬я─п╪п╟я┌п╬п╡ Type1 (postscipt) п╦ True Type.
п▓п╬п╥п╪п╬п╤п╫п╬ я│п╬я┘я─п╟п╫я▐я┌я▄ я┬я─п╦я└я┌я▀ п╡ я─п╟п╥п╩п╦я┤п╫я▀я┘
я└п╬я─п╪п╟я┌п╟я┘ postscript п╦ пЁп╣п╫п╣я─п╦я─п╬п╡п╟я┌я▄
я─п╟я│я┌я─п╬п╡я▀п╣ п╦п╥п╬п╠я─п╟п╤п╣п╫п╦я▐ я┬я─п╦я└я┌п╬п╡.

%package -n lib%name
Summary: FontForge shared library
Group: System/Libraries

%package -n lib%name-devel
Summary: FontForge development files
Group: Development/C
Requires: lib%name = %EVR

%package -n python3-module-%name
Summary: FontForge python module
Group: Development/Python3
Requires: lib%name = %EVR

%description -n python3-module-%name
FontForge python module

%if_enabled docs
%package docs
Summary: FontForge documentations
Group: Publishing

%description docs
FontForge documentations
%endif

%description -n lib%name
FontForge shared library

%description -n lib%name-devel
FontForge development files

%prep
%setup
sed -i "s|sphinx-build|sphinx-build-3|" cmake/packages/FindSphinx.cmake
%ifarch %e2k
# lcc 1.24.11 doesn't do that; mcst#....
sed -i "s|-Werror=int-conversion||" CMakeLists.txt
%endif

%build
%cmake
%cmake_build

%install
%cmakeinstall_std

%find_lang FontForge

%files -f FontForge.lang
%doc LICENSE
%_bindir/*
%_datadir/%name/
%_man1dir/*
%_desktopdir/*.desktop
%_iconsdir/*/*/*/*.*
%_datadir/mime/packages/*
#_datadir/pixmaps/*
%_datadir/metainfo/*

%files -n lib%name
%_libdir/libfontforge.so.*

%files -n lib%name-devel
%_libdir/*.so
#%_includedir/%name/
#%_pkgconfigdir/*.pc

%files -n python3-module-%name
%python3_sitelibdir/*.so

%if_enabled docs
%files docs
%_docdir/%name/
%endif


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin