diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4586963 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/mapping-resources-pdf-20170901.tar.gz diff --git a/adobe-mappings-pdf.spec b/adobe-mappings-pdf.spec new file mode 100644 index 0000000..30d1432 --- /dev/null +++ b/adobe-mappings-pdf.spec @@ -0,0 +1,54 @@ +Name: adobe-mappings-pdf +Summary: PDF mapping resources from Adobe +Version: 20170901 +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. + +# === 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} + +# === 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 + +# ============================================================================= + +%changelog +* 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..bad9cc7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (mapping-resources-pdf-20170901.tar.gz) = c58f5fd748b81554abd28d4facf449b0c637d03c3d48690f121a13d541e50deab054f984cb21f2c36be06e5e2159bc94375ce069d415928b6bf847061d36eb05