Blame SPECS/adobe-mappings-cmap.spec

5198ae
Name:             adobe-mappings-cmap
5198ae
Summary:          CMap resources for Adobe's character collections
5198ae
Version:          20171205
5198ae
Release:          12%{?dist}
5198ae
License:          BSD
5198ae
5198ae
URL:              https://www.adobe.com/
5198ae
Source:           https://github.com/adobe-type-tools/cmap-resources/archive/%{version}.tar.gz#/cmap-resources-%{version}.tar.gz
5198ae
5198ae
BuildArch:        noarch
5198ae
BuildRequires:    git
5198ae
BuildRequires: make
5198ae
5198ae
%description
5198ae
CMap (Character Map) resources are used to unidirectionally map character codes,
5198ae
such as Unicode encoding form, to CIDs (Character IDs -- meaning glyphs) of a
5198ae
CIDFont resource.
5198ae
5198ae
These CMap resources are useful for some applications (e.g. Ghostscript) to
5198ae
correctly display text containing Japanese, (Traditional) Chinese, or Korean
5198ae
characters.
5198ae
5198ae
# === SUBPACKAGES =============================================================
5198ae
5198ae
%package deprecated
5198ae
Summary:          Deprecated CMap resources for Adobe's character collections
5198ae
Requires:         %{name} = %{version}-%{release}
5198ae
5198ae
%description deprecated
5198ae
This sub-package contains currently deprecated CMap resources that some
5198ae
applications might still require to function properly.
5198ae
5198ae
%package devel
5198ae
Summary:          RPM macros for Adobe's CMap resources for character collections
5198ae
Requires:         %{name} = %{version}-%{release}
5198ae
Requires:         %{name}-deprecated = %{version}-%{release}
5198ae
5198ae
%description devel
5198ae
This package is useful for development purposes only. It installs RPM
5198ae
macros useful for building packages against %{name},
5198ae
as well as all the fonts contained in this font set.
5198ae
5198ae
# === BUILD INSTRUCTIONS ======================================================
5198ae
5198ae
# NOTE: This package provides only resource files, which are already
5198ae
#       "pre-compiled" to smallest size possible, but they still remain in
5198ae
#       postscript format as intended. That's why there is no %%build phase.
5198ae
5198ae
%prep
5198ae
%autosetup -n cmap-resources-%{version} -S git
5198ae
5198ae
%install
5198ae
%make_install prefix=%{_prefix}
5198ae
5198ae
# Generate the macro containing the root path to our mappings files:
5198ae
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
5198ae
5198ae
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
5198ae
%%adobe_mappings_rootpath     %{_datadir}/adobe/resources/mapping/
5198ae
_EOF
5198ae
5198ae
# === PACKAGING INSTRUCTIONS ==================================================
5198ae
5198ae
%files
5198ae
%doc README.md VERSIONS.txt
5198ae
%license LICENSE.txt
5198ae
5198ae
# Necessary directories ownership (to remove them correctly when uninstalling):
5198ae
%dir %{_datadir}/adobe
5198ae
%dir %{_datadir}/adobe/resources
5198ae
%dir %{_datadir}/adobe/resources/mapping
5198ae
5198ae
%{_datadir}/adobe/resources/mapping/CNS1
5198ae
%{_datadir}/adobe/resources/mapping/GB1
5198ae
%{_datadir}/adobe/resources/mapping/Identity
5198ae
%{_datadir}/adobe/resources/mapping/Japan1
5198ae
%{_datadir}/adobe/resources/mapping/Korea1
5198ae
5198ae
%files deprecated
5198ae
%{_datadir}/adobe/resources/mapping/deprecated
5198ae
5198ae
%files devel
5198ae
%{_rpmconfigdir}/macros.d/macros.%{name}
5198ae
5198ae
# =============================================================================
5198ae
5198ae
%changelog
5198ae
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20171205-12
5198ae
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
5198ae
  Related: rhbz#1991688
5198ae
5198ae
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 20171205-11
5198ae
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
5198ae
5198ae
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-10
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5198ae
5198ae
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-9
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5198ae
5198ae
* Mon Mar 16 2020 Zdenek Dohnal <zdohnal@redhat.com> - 20171205-8
5198ae
- remove mention of Fedora from desc
5198ae
5198ae
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-7
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5198ae
5198ae
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-6
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5198ae
5198ae
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-5
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5198ae
5198ae
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-4
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5198ae
5198ae
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-3
5198ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5198ae
5198ae
* Wed Jan 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171205-2
5198ae
- *-devel subpackage added
5198ae
5198ae
* Tue Jan 02 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171205-1
5198ae
- Rebase to latest upstream version
5198ae
5198ae
* Thu Nov 09 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171024-1
5198ae
- Rebase to latest upstream version
5198ae
5198ae
* Mon Sep 11 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
5198ae
- Initial version of specfile