Package init
This commit is contained in:
parent
0f62e2b9a2
commit
bcb0653e11
55
adobe-mappings-pdf.spec
Normal file
55
adobe-mappings-pdf.spec
Normal 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
|
||||
BIN
mapping-resources-pdf-20190401.tar.gz
Normal file
BIN
mapping-resources-pdf-20190401.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user