specfile: initial commit
This commit is contained in:
parent
e1e721a3e2
commit
f0cc4d98f2
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/mapping-resources-pdf-20170901.tar.gz
|
54
adobe-mappings-pdf.spec
Normal file
54
adobe-mappings-pdf.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
Name: adobe-mappings-pdf
|
||||||
|
Summary: PDF mapping resources from Adobe
|
||||||
|
Version: 20170901
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: BSD
|
||||||
|
|
||||||
|
URL: https://www.adobe.com/
|
||||||
|
Source: https://github.com/adobe-type-tools/mapping-resources-pdf/archive/%{version}.tar.gz#/mapping-resources-pdf-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: git
|
||||||
|
|
||||||
|
%description
|
||||||
|
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.
|
||||||
|
|
||||||
|
# === 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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n mapping-resources-pdf-%{version} -S git
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install prefix=%{_prefix}
|
||||||
|
|
||||||
|
# === PACKAGING INSTRUCTIONS ==================================================
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%dir %{_datadir}/adobe
|
||||||
|
%dir %{_datadir}/adobe/resources
|
||||||
|
%dir %{_datadir}/adobe/resources/mapping
|
||||||
|
|
||||||
|
%{_datadir}/adobe/resources/mapping/pdf2other
|
||||||
|
%{_datadir}/adobe/resources/mapping/pdf2unicode
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Sep 12 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
|
||||||
|
- Initial version of specfile
|
Loading…
Reference in New Issue
Block a user