# ============================================================================= Name: poppler-data Summary: Encoding files for use with poppler Version: 0.4.9 Release: 1%{?dist} # NOTE: The licensing details are explained in COPYING file in source archive. License: BSD and GPLv2 URL: https://poppler.freedesktop.org/ Source: https://poppler.freedesktop.org/poppler-data-%{version}.tar.gz BuildArch: noarch BuildRequires: git # ============================================================================= # NOTE: 'autosetup' macro (below) uses 'git' for applying the patches: # ->> All the patches should be provided in 'git format-patch' format. # ->> Auxiliary repository will be created during 'fedpkg prep', you # can see all the applied patches there via 'git log'. # Upstream patches -- official upstream patches released by upstream since the # ---------------- last rebase that are necessary for any reason: #Patch000: example000.patch # Downstream patches -- these should be always included when doing rebase: # ------------------ #Patch100: example100.patch # Downstream patches for RHEL -- patches that we keep only in RHEL for various # --------------------------- reasons, but are not enabled in Fedora: %if %{defined rhel} || %{defined centos} #Patch200: example200.patch %endif # Patches to be removed -- deprecated functionality which shall be removed at # --------------------- some point in the future: %description This package consists of encoding files for use with poppler. The encoding files are optional and poppler will automatically read them if they are present. When installed, the encoding files enables poppler to correctly render both CJK and Cyrrilic characters properly. # === SUBPACKAGES ============================================================= %package devel Summary: Devel files for %{name} Requires: %{name} = %{version}-%{release} BuildRequires: pkgconfig %description devel This sub-package currently contains only pkgconfig file, which can be used with pkgconfig utility allowing your software to be build with poppler-data. # === BUILD INSTRUCTIONS ====================================================== %prep #autosetup -S git %setup -q # NOTE: Nothing to do here - we are packaging the content only. %build %install %make_install prefix=%{_prefix} # === PACKAGING INSTRUCTIONS ================================================== %files %license COPYING COPYING.adobe COPYING.gpl2 %{_datadir}/poppler/ %files devel %{_datadir}/pkgconfig/poppler-data.pc # ============================================================================= %changelog * Fri Aug 17 2018 Silvan Scherrer - 0.4.9-1 - updated to version 0.4.9 - adjusted the spec according to fedora * Tue Mar 28 2017 Silvan Scherrer - 0.4.7-2 - rebuild for ghostscript 9.18 * Fri Dec 12 2014 yd - initial unixroot build.