From d114225dd92d2f7a6a13a78c97b8580d0e925df7 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 00:49:06 -0400 Subject: [PATCH] Auto sync2gitlab import of adobe-mappings-pdf-20180407-1.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - adobe-mappings-pdf.spec | 85 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 adobe-mappings-pdf.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a9b671 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/mapping-resources-pdf-20180407.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/adobe-mappings-pdf.spec b/adobe-mappings-pdf.spec new file mode 100644 index 0000000..17218c6 --- /dev/null +++ b/adobe-mappings-pdf.spec @@ -0,0 +1,85 @@ +Name: adobe-mappings-pdf +Summary: PDF mapping resources from Adobe +Version: 20180407 +Release: 1%{?dist} +License: BSD + +URL: https://www.adobe.com/ +Source: https://github.com/adobe-type-tools/mapping-resources-pdf/archive/%{version}.tar.gz#/mapping-resources-pdf-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: git + +%description +Mapping resources for PDF have a variety of functions, such as mapping CIDs +(Character IDs) to character codes, or mapping character codes to other +character codes. + +These mapping resources for PDF should not be confused with CMap resources. +While both types of resources share the same file structure and syntax, they +have very different functions. + +These PDF mapping resources are useful for some applications (e.g. Ghostscript) +to function properly. + +# === SUBPACKAGES ============================================================= + +%package devel +Summary: RPM macros for Adobe's PDF mapping resources +Requires: %{name} = %{version}-%{release} + +%description devel +This package is useful for Fedora development purposes only. It installs RPM +macros useful for building packages against %{name}, +as well as all the fonts contained in this font set. + + +# === BUILD INSTRUCTIONS ====================================================== + +# NOTE: This package provides only resource files, which are already +# "pre-compiled" to smallest size possible, but they still remain in +# postscript format as intended. That's why there is no %%build phase. + +%prep +%autosetup -n mapping-resources-pdf-%{version} -S git + +%install +%make_install prefix=%{_prefix} + +# Generate the macro containing the root path to our mappings files: +install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d + +cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF +%%adobe_mappings_rootpath %{_datadir}/adobe/resources/mapping/ +_EOF + +# === PACKAGING INSTRUCTIONS ================================================== + +%files +%doc README.md +%license LICENSE.txt + +%dir %{_datadir}/adobe +%dir %{_datadir}/adobe/resources +%dir %{_datadir}/adobe/resources/mapping + +%{_datadir}/adobe/resources/mapping/pdf2other +%{_datadir}/adobe/resources/mapping/pdf2unicode + +%files devel +%{_rpmconfigdir}/macros.d/macros.%{name} + +# ============================================================================= + +%changelog +* Tue Apr 24 2018 David Kaspar [Dee'Kej] - 20180407-1 +- Rebase to latest upstream version + +* Wed Feb 07 2018 Fedora Release Engineering - 20170901-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 03 2018 David Kaspar [Dee'Kej] - 20170901-2 +- *-devel subpackage added + +* Tue Sep 12 2017 David Kaspar [Dee'Kej] - 20170901-1 +- Initial version of specfile diff --git a/sources b/sources new file mode 100644 index 0000000..31e8091 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (mapping-resources-pdf-20180407.tar.gz) = 324f35309490694a6ce5294b4ca2386add65316933af0b7d831cbaaf88b91b23b3cc6d45cf94b4b7c9381f012cda4c1db11970b2f0bc485a6f54e07fcf782932