Build for latest release

This commit is contained in:
vishal-vvr 2020-04-05 15:56:18 +05:30
parent aa7da1c59c
commit 21801ed6fa
4 changed files with 68 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
afdko-*tar.gz
afdko-*/

View File

@ -1,3 +1,9 @@
# adobe-afdko
# Adobe Font Development Kit for OpenType ([AFDKO](https://adobe-type-tools.github.io/afdko/))
The adobe-afdko package
The AFDKO is a set of tools for building OpenType font files from PostScript and TrueType font data.
This repository contains the data files, Python scripts, and sources for the command line programs that comprise the AFDKO. The project uses the [Apache 2.0 OpenSource license](https://github.com/adobe-type-tools/afdko/blob/develop/LICENSE.md).
Please refer to the [AFDKO Overview](https://adobe-type-tools.github.io/afdko/AFDKO-Overview.html) for a more detailed description of what is included in the package.
Please see the [wiki](https://github.com/adobe-type-tools/afdko/wiki) for additional information, such as links to reference materials and related projects.

57
adobe-afdko.spec Normal file
View File

@ -0,0 +1,57 @@
%global archivename afdko
Name: adobe-afdko
Version: 3.2.0
Release: 1%{?dist}
Summary: Adobe Font Development Kit for OpenType
License: ASL 2.0
URL: https://github.com/adobe-type-tools/afdko
Source0: https://github.com/adobe-type-tools/%{archivename}/releases/download/%{version}/%{archivename}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
Adobe Font Development Kit for OpenType (AFDKO).
The AFDKO is a set of tools for building OpenType font files
from PostScript and TrueType font data.
%prep
%autosetup -n %{archivename}-%{version}
%build
%set_build_flags
pushd c
sh buildalllinux.sh release
# rename makeotfexe to makeotf
mv build_all/makeotfexe build_all/makeotf
popd
%install
install -m 0755 -d %{buildroot}/%{_bindir}
pushd c/build_all
find ./ -type f -executable -exec install -p -m 0755 "{}" \
%{buildroot}/%{_bindir} ";"
%files
%license LICENSE.md
%doc docs/ README.md NEWS.md
%{_bindir}/*
%changelog
* Fri Apr 3 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.2.0-1
- Build for latest release
* Mon Mar 23 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.1-4
- rename package name afdko to adobe-afdko
* Mon Mar 9 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.1-3
- Added %%set_build_flags
- Updated install script
* Mon Mar 2 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.1-2
- Added build dependency gcc, make
- Removed unused build dependency
- Rename makeotfexe to makeotf
* Fri Dec 13 2019 Peng Wu <pwu@redhat.com> - 3.0.1-1
- Initial Version

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (afdko-3.2.0.tar.gz) = 3e682a2ad70646e8a15d4ffc979fd94e2fe17c08ea8e5aefcc94a9395a96c52124c1e180f1717329a8f9de81bf24fcbff27c472650c18597ccb395de58d54e6b