Blame adobe-mappings-pdf.spec

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