Blame adobe-mappings-cmap.spec

782abbd
Name:             adobe-mappings-cmap
782abbd
Summary:          CMap resources for Adobe's character collections
ad722bf
Version:          20171205
15ceb96
Release:          6%{?dist}
782abbd
License:          BSD
782abbd
782abbd
URL:              https://www.adobe.com/
782abbd
Source:           https://github.com/adobe-type-tools/cmap-resources/archive/%{version}.tar.gz#/cmap-resources-%{version}.tar.gz
782abbd
782abbd
BuildArch:        noarch
782abbd
BuildRequires:    git
782abbd
782abbd
%description
782abbd
CMap (Character Map) resources are used to unidirectionally map character codes,
782abbd
such as Unicode encoding form, to CIDs (Character IDs -- meaning glyphs) of a
782abbd
CIDFont resource.
782abbd
782abbd
These CMap resources are useful for some applications (e.g. Ghostscript) to
782abbd
correctly display text containing Japanese, (Traditional) Chinese, or Korean
782abbd
characters.
782abbd
782abbd
# === SUBPACKAGES =============================================================
782abbd
782abbd
%package deprecated
782abbd
Summary:          Deprecated CMap resources for Adobe's character collections
782abbd
Requires:         %{name} = %{version}-%{release}
782abbd
782abbd
%description deprecated
782abbd
This sub-package contains currently deprecated CMap resources that some
782abbd
applications might still require to function properly.
782abbd
1acf892
%package devel
1acf892
Summary:          RPM macros for Adobe's CMap resources for character collections
1acf892
Requires:         %{name} = %{version}-%{release}
1acf892
Requires:         %{name}-deprecated = %{version}-%{release}
1acf892
1acf892
%description devel
1acf892
This package is useful for Fedora development purposes only. It installs RPM
1acf892
macros useful for building packages against %{name},
1acf892
as well as all the fonts contained in this font set.
1acf892
782abbd
# === BUILD INSTRUCTIONS ======================================================
782abbd
782abbd
# NOTE: This package provides only resource files, which are already
782abbd
#       "pre-compiled" to smallest size possible, but they still remain in
782abbd
#       postscript format as intended. That's why there is no %%build phase.
782abbd
782abbd
%prep
782abbd
%autosetup -n cmap-resources-%{version} -S git
782abbd
782abbd
%install
782abbd
%make_install prefix=%{_prefix}
782abbd
1acf892
# Generate the macro containing the root path to our mappings files:
1acf892
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
1acf892
1acf892
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
1acf892
%%adobe_mappings_rootpath     %{_datadir}/adobe/resources/mapping/
1acf892
_EOF
1acf892
782abbd
# === PACKAGING INSTRUCTIONS ==================================================
782abbd
782abbd
%files
782abbd
%doc README.md VERSIONS.txt
782abbd
%license LICENSE.txt
782abbd
782abbd
# Necessary directories ownership (to remove them correctly when uninstalling):
782abbd
%dir %{_datadir}/adobe
782abbd
%dir %{_datadir}/adobe/resources
782abbd
%dir %{_datadir}/adobe/resources/mapping
782abbd
782abbd
%{_datadir}/adobe/resources/mapping/CNS1
782abbd
%{_datadir}/adobe/resources/mapping/GB1
782abbd
%{_datadir}/adobe/resources/mapping/Identity
782abbd
%{_datadir}/adobe/resources/mapping/Japan1
782abbd
%{_datadir}/adobe/resources/mapping/Korea1
782abbd
782abbd
%files deprecated
782abbd
%{_datadir}/adobe/resources/mapping/deprecated
782abbd
1acf892
%files devel
1acf892
%{_rpmconfigdir}/macros.d/macros.%{name}
1acf892
782abbd
# =============================================================================
782abbd
782abbd
%changelog
15ceb96
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-6
15ceb96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
15ceb96
fa78e20
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-5
fa78e20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fa78e20
a13a70b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-4
a13a70b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a13a70b
69fb096
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171205-3
69fb096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
69fb096
1acf892
* Wed Jan 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171205-2
1acf892
- *-devel subpackage added
1acf892
ad722bf
* Tue Jan 02 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171205-1
ad722bf
- Rebase to latest upstream version
ad722bf
452f80f
* Thu Nov 09 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171024-1
452f80f
- Rebase to latest upstream version
452f80f
782abbd
* Mon Sep 11 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170901-1
782abbd
- Initial version of specfile