adobe-mappings-cmap/adobe-mappings-cmap.spec

85 lines
2.5 KiB
RPMSpec
Raw Normal View History

2019-12-25 15:40:59 +08:00
Name: adobe-mappings-cmap
Summary: CMap resources for Adobe's character collections
Version: 20190730
2020-09-09 09:34:40 +08:00
Release: 3
2019-12-25 15:40:59 +08:00
License: BSD
URL: https://www.adobe.com/
2020-09-09 09:34:40 +08:00
Source: https://github.com/adobe-type-tools/cmap-resources/archive/%{version}.tar.gz
2019-12-25 15:40:59 +08:00
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
2020-09-09 09:34:40 +08:00
* Wed Sep 9 2020 hanhui <hanhui15@huawei.com> - 20190730-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
2019-12-25 15:40:59 +08:00
* 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