import adobe-mappings-pdf-20180407-1.el8

c8 imports/c8/adobe-mappings-pdf-20180407-1.el8
CentOS Sources 2019-05-07 05:34:42 -04:00 committed by Andrew Lukoshko
commit 115de8ec5e
3 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1 @@
3b5609be3837c185e8a7971ee3d407a005a3301c SOURCES/mapping-resources-pdf-20180407.tar.gz

.gitignore vendored Normal file
View File

@ -0,0 +1 @@

View File

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