Package init
This commit is contained in:
parent
4ca882cdd6
commit
b5d47c6127
78
adobe-mappings-cmap.spec
Normal file
78
adobe-mappings-cmap.spec
Normal file
@ -0,0 +1,78 @@
|
||||
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 Adobe’s 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
|
||||
BIN
cmap-resources-20190730.tar.gz
Normal file
BIN
cmap-resources-20190730.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user