Package init

This commit is contained in:
dogsheng 2019-12-25 15:39:41 +08:00
parent f7f61e1613
commit 0f62e2b9a2
2 changed files with 0 additions and 55 deletions

View File

@ -1,55 +0,0 @@
Name: adobe-mappings-pdf
Summary: PDF mapping resources from Adobe
Version: 20190401
Release: 1
License: BSD
URL: https://www.adobe.com/
Source: https://github.com/adobe-type-tools/mapping-resources-pdf/archive/mapping-resources-pdf-%{version}.tar.gz
BuildArch: noarch
%description
These mapping resources are used to derive content from PDF (Portable Document Format) files
that include CJK (Chinese, Japanese, and Korean) information. These mapping resources are in use by Adobe Reader,
Adobe Acrobat (Pro and Standard), and Acrobat Distiller, which are now part of the Adobe Document Cloud family.
These mapping resources are also useful for third-party PDF clients, thus the need for this open source project.
%package devel
Summary: RPM macros for Adobe's PDF mapping resources
Requires: %{name} = %{version}-%{release}
%description devel
This package installs RPM macros.It is useful for%{name}
%package_help
%prep
%autosetup -n mapping-resources-pdf-%{version}
%install
%make_install prefix=%{_prefix}
install -m 0755 -d %{buildroot}%{_rpmmacrodir}
cat > %{buildroot}/%{_rpmmacrodir}/macros.%{name} << _EOF
%%adobe_mappings_rootpath %{_datadir}/adobe/resources/mapping/
_EOF
%files
%defattr(-,root,root)
%license LICENSE.txt
%dir %{_datadir}/adobe
%dir %{_datadir}/adobe/*
%{_datadir}/adobe/resources/mapping/*
%files devel
%defattr(-,root,root)
%{_rpmmacrodir}/macros.adobe-mappings-pdf
%files help
%doc README.md
%changelog
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 20190401-1
- Package init