adobe-mappings-cmap/adobe-mappings-cmap.spec
2019-12-25 15:40:59 +08:00

79 lines
2.5 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: adobe-mappings-cmap
Summary: CMap resources for Adobe's character collections
Version: 20190730
Release: 2
License: BSD
URL: https://www.adobe.com/
Source: https://github.com/adobe-type-tools/cmap-resources/archive/cmap-resources-%{version}.tar.gz
BuildArch: noarch
Requires: %{name}-lang = %{version}-%{release}
%description
This open source project provides the latest CMap resources for Adobes public character collections.
CMap (Character Map) resources are used to unidirectionally map character codes,
such as a Unicode encoding form, to CIDs (Characters IDs, meaning glyphs) of a CIDFont resource.
%package devel
Summary: RPM macros for Adobe's CMap resources for character collections
Requires: %{name} = %{version}-%{release}
%description devel
This package installs RPM macros useful for building packages against adobe-mappings-cmap,as well as all the fonts contained in this font set.
%package_help
%package lang
Summary: RPM macros for Adobe's CMap resources for character collectionsa
Requires: %{name} = %{version}-%{release}
provides: %{name}-deprecated
Obsoletes: %{name}-deprecated
%description lang
This package provides localization support such as language and time zone.
%prep
%autosetup -n cmap-resources-%{version}
%install
%make_install prefix=%{_prefix}
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
%%adobe_mappings_rootpath %{_datadir}/adobe/resources/mapping/
_EOF
%files
%license LICENSE.md
%doc README.md VERSIONS.txt
%files devel
%{_rpmmacrodir}/macros.adobe-mappings-cmap
%files help
%doc README.md VERSIONS.txt
%files lang
%dir %{_datadir}/adobe
%dir %{_datadir}/adobe/resources
%dir %{_datadir}/adobe/resources/mapping
%{_datadir}/adobe/resources/mapping/CNS1
%{_datadir}/adobe/resources/mapping/KR
%{_datadir}/adobe/resources/mapping/GB1
%{_datadir}/adobe/resources/mapping/Korea1
%{_datadir}/adobe/resources/mapping/Japan1
%{_datadir}/adobe/resources/mapping/deprecated
%{_datadir}/adobe/resources/mapping/Identity
%changelog
* Tue Sep 4 2019 openEuler Buildteam <buildteam@openeuler.org> -20190730-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:Increase the ability to provide adobe-mappings-cmap-deprecated
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> -20190730-1
- Package init