diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8de9071 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/cmap-resources-20170901.tar.gz diff --git a/adobe-mappings-cmap.spec b/adobe-mappings-cmap.spec new file mode 100644 index 0000000..a6c6d73 --- /dev/null +++ b/adobe-mappings-cmap.spec @@ -0,0 +1,68 @@ +Name: adobe-mappings-cmap +Summary: CMap resources for Adobe's character collections +Version: 20170901 +Release: 1%{?dist} +License: BSD + +URL: https://www.adobe.com/ +Source: https://github.com/adobe-type-tools/cmap-resources/archive/%{version}.tar.gz#/cmap-resources-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: git + +%description +CMap (Character Map) resources are used to unidirectionally map character codes, +such as Unicode encoding form, to CIDs (Character IDs -- meaning glyphs) of a +CIDFont resource. + +These CMap resources are useful for some applications (e.g. Ghostscript) to +correctly display text containing Japanese, (Traditional) Chinese, or Korean +characters. + +# === SUBPACKAGES ============================================================= + +%package deprecated +Summary: Deprecated CMap resources for Adobe's character collections +Requires: %{name} = %{version}-%{release} + +%description deprecated +This sub-package contains currently deprecated CMap resources that some +applications might still require 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 cmap-resources-%{version} -S git + +%install +%make_install prefix=%{_prefix} + +# === PACKAGING INSTRUCTIONS ================================================== + +%files +%doc README.md VERSIONS.txt +%license LICENSE.txt + +# Necessary directories ownership (to remove them correctly when uninstalling): +%dir %{_datadir}/adobe +%dir %{_datadir}/adobe/resources +%dir %{_datadir}/adobe/resources/mapping + +%{_datadir}/adobe/resources/mapping/CNS1 +%{_datadir}/adobe/resources/mapping/GB1 +%{_datadir}/adobe/resources/mapping/Identity +%{_datadir}/adobe/resources/mapping/Japan1 +%{_datadir}/adobe/resources/mapping/Korea1 + +%files deprecated +%{_datadir}/adobe/resources/mapping/deprecated + +# ============================================================================= + +%changelog +* Mon Sep 11 2017 David Kaspar [Dee'Kej] - 20170901-1 +- Initial version of specfile diff --git a/sources b/sources new file mode 100644 index 0000000..5dad67e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cmap-resources-20170901.tar.gz) = 868782e25c79d13daac2eef647e44d99aec7f7cb3563b792ff324d83900d809d6a7f7e48e6d04a275720fbb993f3ffbb1c5e6a4ed4a791b641f09120603d39c7