Blame SPECS/adobe-mappings-cmap.spec

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