From 21801ed6faf328ffe30a6a8189e6c683d048ab12 Mon Sep 17 00:00:00 2001 From: vishal-vvr Date: Apr 05 2020 10:26:18 +0000 Subject: Build for latest release --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed90fd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +afdko-*tar.gz +afdko-*/ diff --git a/README.md b/README.md index ebc0a2e..64d7477 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ -# adobe-afdko +# Adobe Font Development Kit for OpenType ([AFDKO](https://adobe-type-tools.github.io/afdko/)) -The adobe-afdko package \ No newline at end of file +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. diff --git a/adobe-afdko.spec b/adobe-afdko.spec new file mode 100644 index 0000000..a14ecf2 --- /dev/null +++ b/adobe-afdko.spec @@ -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 - 3.2.0-1 +- Build for latest release + +* Mon Mar 23 2020 Vishal Vijayraghavan - 3.0.1-4 +- rename package name afdko to adobe-afdko + +* Mon Mar 9 2020 Vishal Vijayraghavan - 3.0.1-3 +- Added %%set_build_flags +- Updated install script + +* Mon Mar 2 2020 Vishal Vijayraghavan - 3.0.1-2 +- Added build dependency gcc, make +- Removed unused build dependency +- Rename makeotfexe to makeotf + +* Fri Dec 13 2019 Peng Wu - 3.0.1-1 +- Initial Version diff --git a/sources b/sources new file mode 100644 index 0000000..83e4386 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (afdko-3.2.0.tar.gz) = 3e682a2ad70646e8a15d4ffc979fd94e2fe17c08ea8e5aefcc94a9395a96c52124c1e180f1717329a8f9de81bf24fcbff27c472650c18597ccb395de58d54e6b