Blame adobe-mappings-cmap.spec

782abbd
Name:             adobe-mappings-cmap
782abbd
Summary:          CMap resources for Adobe's character collections
452f80f
Version:          20171024
782abbd
Release:          1%{?dist}
782abbd
License:          BSD
782abbd
782abbd
URL:              https://www.adobe.com/
782abbd
Source:           https://github.com/adobe-type-tools/cmap-resources/archive/%{version}.tar.gz#/cmap-resources-%{version}.tar.gz
782abbd
782abbd
BuildArch:        noarch
782abbd
BuildRequires:    git
782abbd
782abbd
%description
782abbd
CMap (Character Map) resources are used to unidirectionally map character codes,
782abbd
such as Unicode encoding form, to CIDs (Character IDs -- meaning glyphs) of a
782abbd
CIDFont resource.
782abbd
782abbd
These CMap resources are useful for some applications (e.g. Ghostscript) to
782abbd
correctly display text containing Japanese, (Traditional) Chinese, or Korean
782abbd
characters.
782abbd
782abbd
# === SUBPACKAGES =============================================================
782abbd
782abbd
%package deprecated
782abbd
Summary:          Deprecated CMap resources for Adobe's character collections
782abbd
Requires:         %{name} = %{version}-%{release}
782abbd
782abbd
%description deprecated
782abbd
This sub-package contains currently deprecated CMap resources that some
782abbd
applications might still require to function properly.
782abbd
782abbd
# === BUILD INSTRUCTIONS ======================================================
782abbd
782abbd
# NOTE: This package provides only resource files, which are already
782abbd
#       "pre-compiled" to smallest size possible, but they still remain in
782abbd
#       postscript format as intended. That's why there is no %%build phase.
782abbd
782abbd
%prep
782abbd
%autosetup -n cmap-resources-%{version} -S git
782abbd
782abbd
%install
782abbd
%make_install prefix=%{_prefix}
782abbd
782abbd
# === PACKAGING INSTRUCTIONS ==================================================
782abbd
782abbd
%files
782abbd
%doc README.md VERSIONS.txt
782abbd
%license LICENSE.txt
782abbd
782abbd
# Necessary directories ownership (to remove them correctly when uninstalling):
782abbd
%dir %{_datadir}/adobe
782abbd
%dir %{_datadir}/adobe/resources
782abbd
%dir %{_datadir}/adobe/resources/mapping
782abbd
782abbd
%{_datadir}/adobe/resources/mapping/CNS1
782abbd
%{_datadir}/adobe/resources/mapping/GB1
782abbd
%{_datadir}/adobe/resources/mapping/Identity
782abbd
%{_datadir}/adobe/resources/mapping/Japan1
782abbd
%{_datadir}/adobe/resources/mapping/Korea1
782abbd
782abbd
%files deprecated
782abbd
%{_datadir}/adobe/resources/mapping/deprecated
782abbd
782abbd
# =============================================================================
782abbd
782abbd
%changelog
452f80f
* Thu Nov 09 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171024-1
452f80f
- Rebase to latest upstream version
452f80f
782abbd
* Mon Sep 11 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
782abbd
- Initial version of specfile