Package init

This commit is contained in:
overweight 2019-09-30 10:31:13 -04:00
commit f7f61e1613
2 changed files with 55 additions and 0 deletions

55
adobe-mappings-pdf.spec Normal file
View File

@ -0,0 +1,55 @@
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

Binary file not shown.