2017-09-12 16:04:57 +00:00
|
|
|
Name: adobe-mappings-pdf
|
|
|
|
Summary: PDF mapping resources from Adobe
|
2018-04-24 13:43:14 +00:00
|
|
|
Version: 20180407
|
2020-07-27 11:45:36 +00:00
|
|
|
Release: 7%{?dist}
|
2017-09-12 16:04:57 +00:00
|
|
|
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
|
2020-12-15 01:53:49 +00:00
|
|
|
BuildRequires: make
|
2017-09-12 16:04:57 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2018-01-03 13:40:59 +00:00
|
|
|
# === SUBPACKAGES =============================================================
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: RPM macros for Adobe's PDF mapping resources
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
2020-03-16 11:32:22 +00:00
|
|
|
This package is useful for development purposes only. It installs RPM
|
2018-01-03 13:40:59 +00:00
|
|
|
macros useful for building packages against %{name},
|
|
|
|
as well as all the fonts contained in this font set.
|
|
|
|
|
|
|
|
|
2017-09-12 16:04:57 +00:00
|
|
|
# === 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}
|
|
|
|
|
2018-01-03 13:40:59 +00:00
|
|
|
# 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/
|
|
|
|
_EOF
|
|
|
|
|
2017-09-12 16:04:57 +00:00
|
|
|
# === 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
|
|
|
|
|
2018-01-03 13:40:59 +00:00
|
|
|
%files devel
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.%{name}
|
|
|
|
|
2017-09-12 16:04:57 +00:00
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
%changelog
|
2020-07-27 11:45:36 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-03-16 11:32:22 +00:00
|
|
|
* Mon Mar 16 2020 Zdenek Dohnal <zdohnal@redhat.com> - 20180407-6
|
2020-03-16 11:43:51 +00:00
|
|
|
- remove mention of Fedora from desc
|
2020-03-16 11:32:22 +00:00
|
|
|
|
2020-01-28 11:13:50 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 17:34:27 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 12:58:52 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 20:00:06 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180407-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-24 13:43:14 +00:00
|
|
|
* Tue Apr 24 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20180407-1
|
|
|
|
- Rebase to latest upstream version
|
|
|
|
|
2018-02-07 01:53:55 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170901-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-03 13:40:59 +00:00
|
|
|
* Wed Jan 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-2
|
|
|
|
- *-devel subpackage added
|
|
|
|
|
2017-09-12 16:04:57 +00:00
|
|
|
* Tue Sep 12 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
|
|
|
|
- Initial version of specfile
|