Blame SPECS/adobe-mappings-pdf.spec

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