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