*-devel subpackage created
This subpackage provides %{adobe_mappings_rootpath} macro, which is useful for many packages that are built against these files.
This commit is contained in:
parent
ad722bf6be
commit
1acf8929c8
@ -1,7 +1,7 @@
|
||||
Name: adobe-mappings-cmap
|
||||
Summary: CMap resources for Adobe's character collections
|
||||
Version: 20171205
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
|
||||
URL: https://www.adobe.com/
|
||||
@ -29,6 +29,16 @@ Requires: %{name} = %{version}-%{release}
|
||||
This sub-package contains currently deprecated CMap resources that some
|
||||
applications might still require to function properly.
|
||||
|
||||
%package devel
|
||||
Summary: RPM macros for Adobe's CMap resources for character collections
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-deprecated = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package is useful for Fedora development purposes only. It installs RPM
|
||||
macros useful for building packages against %{name},
|
||||
as well as all the fonts contained in this font set.
|
||||
|
||||
# === BUILD INSTRUCTIONS ======================================================
|
||||
|
||||
# NOTE: This package provides only resource files, which are already
|
||||
@ -41,6 +51,13 @@ applications might still require to function properly.
|
||||
%install
|
||||
%make_install prefix=%{_prefix}
|
||||
|
||||
# Generate the macro containing the root path to our mappings files:
|
||||
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
|
||||
|
||||
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
|
||||
%%adobe_mappings_rootpath %{_datadir}/adobe/resources/mapping/
|
||||
_EOF
|
||||
|
||||
# === PACKAGING INSTRUCTIONS ==================================================
|
||||
|
||||
%files
|
||||
@ -61,9 +78,15 @@ applications might still require to function properly.
|
||||
%files deprecated
|
||||
%{_datadir}/adobe/resources/mapping/deprecated
|
||||
|
||||
%files devel
|
||||
%{_rpmconfigdir}/macros.d/macros.%{name}
|
||||
|
||||
# =============================================================================
|
||||
|
||||
%changelog
|
||||
* Wed Jan 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171205-2
|
||||
- *-devel subpackage added
|
||||
|
||||
* Tue Jan 02 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20171205-1
|
||||
- Rebase to latest upstream version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user