|
|
af403d |
Name: adobe-mappings-pdf
|
|
|
af403d |
Summary: PDF mapping resources from Adobe
|
|
|
af403d |
Version: 20180407
|
|
|
af403d |
Release: 1%{?dist}
|
|
|
af403d |
License: BSD
|
|
|
af403d |
|
|
|
af403d |
URL: https://www.adobe.com/
|
|
|
af403d |
Source: https://github.com/adobe-type-tools/mapping-resources-pdf/archive/%{version}.tar.gz#/mapping-resources-pdf-%{version}.tar.gz
|
|
|
af403d |
|
|
|
af403d |
BuildArch: noarch
|
|
|
af403d |
BuildRequires: git
|
|
|
af403d |
|
|
|
af403d |
%description
|
|
|
af403d |
Mapping resources for PDF have a variety of functions, such as mapping CIDs
|
|
|
af403d |
(Character IDs) to character codes, or mapping character codes to other
|
|
|
af403d |
character codes.
|
|
|
af403d |
|
|
|
af403d |
These mapping resources for PDF should not be confused with CMap resources.
|
|
|
af403d |
While both types of resources share the same file structure and syntax, they
|
|
|
af403d |
have very different functions.
|
|
|
af403d |
|
|
|
af403d |
These PDF mapping resources are useful for some applications (e.g. Ghostscript)
|
|
|
af403d |
to function properly.
|
|
|
af403d |
|
|
|
af403d |
# === SUBPACKAGES =============================================================
|
|
|
af403d |
|
|
|
af403d |
%package devel
|
|
|
af403d |
Summary: RPM macros for Adobe's PDF mapping resources
|
|
|
af403d |
Requires: %{name} = %{version}-%{release}
|
|
|
af403d |
|
|
|
af403d |
%description devel
|
|
|
af403d |
This package is useful for Fedora development purposes only. It installs RPM
|
|
|
af403d |
macros useful for building packages against %{name},
|
|
|
af403d |
as well as all the fonts contained in this font set.
|
|
|
af403d |
|
|
|
af403d |
|
|
|
af403d |
# === BUILD INSTRUCTIONS ======================================================
|
|
|
af403d |
|
|
|
af403d |
# NOTE: This package provides only resource files, which are already
|
|
|
af403d |
# "pre-compiled" to smallest size possible, but they still remain in
|
|
|
af403d |
# postscript format as intended. That's why there is no %%build phase.
|
|
|
af403d |
|
|
|
af403d |
%prep
|
|
|
af403d |
%autosetup -n mapping-resources-pdf-%{version} -S git
|
|
|
af403d |
|
|
|
af403d |
%install
|
|
|
af403d |
%make_install prefix=%{_prefix}
|
|
|
af403d |
|
|
|
af403d |
# Generate the macro containing the root path to our mappings files:
|
|
|
af403d |
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
|
|
|
af403d |
|
|
|
af403d |
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
|
|
|
af403d |
%%adobe_mappings_rootpath %{_datadir}/adobe/resources/mapping/
|
|
|
af403d |
_EOF
|
|
|
af403d |
|
|
|
af403d |
# === PACKAGING INSTRUCTIONS ==================================================
|
|
|
af403d |
|
|
|
af403d |
%files
|
|
|
af403d |
%doc README.md
|
|
|
af403d |
%license LICENSE.txt
|
|
|
af403d |
|
|
|
af403d |
%dir %{_datadir}/adobe
|
|
|
af403d |
%dir %{_datadir}/adobe/resources
|
|
|
af403d |
%dir %{_datadir}/adobe/resources/mapping
|
|
|
af403d |
|
|
|
af403d |
%{_datadir}/adobe/resources/mapping/pdf2other
|
|
|
af403d |
%{_datadir}/adobe/resources/mapping/pdf2unicode
|
|
|
af403d |
|
|
|
af403d |
%files devel
|
|
|
af403d |
%{_rpmconfigdir}/macros.d/macros.%{name}
|
|
|
af403d |
|
|
|
af403d |
# =============================================================================
|
|
|
af403d |
|
|
|
af403d |
%changelog
|
|
|
af403d |
* Tue Apr 24 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20180407-1
|
|
|
af403d |
- Rebase to latest upstream version
|
|
|
af403d |
|
|
|
af403d |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170901-3
|
|
|
af403d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
af403d |
|
|
|
af403d |
* Wed Jan 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-2
|
|
|
af403d |
- *-devel subpackage added
|
|
|
af403d |
|
|
|
af403d |
* Tue Sep 12 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
|
|
|
af403d |
- Initial version of specfile
|