924a46
Name:             adobe-mappings-pdf
924a46
Summary:          PDF mapping resources from Adobe
924a46
Version:          20180407
924a46
Release:          10%{?dist}
924a46
License:          BSD
924a46
924a46
URL:              https://www.adobe.com/
924a46
Source:           https://github.com/adobe-type-tools/mapping-resources-pdf/archive/%{version}.tar.gz#/mapping-resources-pdf-%{version}.tar.gz
924a46
924a46
BuildArch:        noarch
924a46
BuildRequires:    git
924a46
BuildRequires: make
924a46
924a46
%description
924a46
Mapping resources for PDF have a variety of functions, such as mapping CIDs
924a46
(Character IDs) to character codes, or mapping character codes to other
924a46
character codes.
924a46
924a46
These mapping resources for PDF should not be confused with CMap resources.
924a46
While both types of resources share the same file structure and syntax, they
924a46
have very different functions.
924a46
924a46
These PDF mapping resources are useful for some applications (e.g. Ghostscript)
924a46
to function properly.
924a46
924a46
# === SUBPACKAGES =============================================================
924a46
924a46
%package devel
924a46
Summary:          RPM macros for Adobe's PDF mapping resources
924a46
Requires:         %{name} = %{version}-%{release}
924a46
924a46
%description devel
924a46
This package is useful for development purposes only. It installs RPM
924a46
macros useful for building packages against %{name},
924a46
as well as all the fonts contained in this font set.
924a46
924a46
924a46
# === BUILD INSTRUCTIONS ======================================================
924a46
924a46
# NOTE: This package provides only resource files, which are already
924a46
#       "pre-compiled" to smallest size possible, but they still remain in
924a46
#       postscript format as intended. That's why there is no %%build phase.
924a46
924a46
%prep
924a46
%autosetup -n mapping-resources-pdf-%{version} -S git
924a46
924a46
%install
924a46
%make_install prefix=%{_prefix}
924a46
924a46
# Generate the macro containing the root path to our mappings files:
924a46
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
924a46
924a46
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
924a46
%%adobe_mappings_rootpath     %{_datadir}/adobe/resources/mapping/
924a46
_EOF
924a46
924a46
# === PACKAGING INSTRUCTIONS ==================================================
924a46
924a46
%files
924a46
%doc README.md
924a46
%license LICENSE.txt
924a46
924a46
%dir %{_datadir}/adobe
924a46
%dir %{_datadir}/adobe/resources
924a46
%dir %{_datadir}/adobe/resources/mapping
924a46
924a46
%{_datadir}/adobe/resources/mapping/pdf2other
924a46
%{_datadir}/adobe/resources/mapping/pdf2unicode
924a46
924a46
%files devel
924a46
%{_rpmconfigdir}/macros.d/macros.%{name}
924a46
924a46
# =============================================================================
924a46
924a46
%changelog
924a46
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20180407-10
924a46
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
924a46
  Related: rhbz#1991688
924a46
924a46
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 20180407-9
924a46
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
924a46
924a46
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-8
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
924a46
924a46
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-7
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
924a46
924a46
* Mon Mar 16 2020 Zdenek Dohnal <zdohnal@redhat.com> - 20180407-6
924a46
- remove mention of Fedora from desc
924a46
924a46
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-5
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
924a46
924a46
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-4
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
924a46
924a46
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-3
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
924a46
924a46
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-2
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
924a46
924a46
* Tue Apr 24 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20180407-1
924a46
- Rebase to latest upstream version
924a46
924a46
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170901-3
924a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
924a46
924a46
* Wed Jan 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-2
924a46
- *-devel subpackage added
924a46
924a46
* Tue Sep 12 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
924a46
- Initial version of specfile