| 1 | # =============================================================================
|
|---|
| 2 |
|
|---|
| 3 | Name: poppler-data
|
|---|
| 4 | Summary: Encoding files for use with poppler
|
|---|
| 5 | Version: 0.4.9
|
|---|
| 6 | Release: 1%{?dist}
|
|---|
| 7 |
|
|---|
| 8 | # NOTE: The licensing details are explained in COPYING file in source archive.
|
|---|
| 9 | License: BSD and GPLv2
|
|---|
| 10 |
|
|---|
| 11 | URL: https://poppler.freedesktop.org/
|
|---|
| 12 | Source: https://poppler.freedesktop.org/poppler-data-%{version}.tar.gz
|
|---|
| 13 |
|
|---|
| 14 | BuildArch: noarch
|
|---|
| 15 | BuildRequires: git
|
|---|
| 16 |
|
|---|
| 17 | # =============================================================================
|
|---|
| 18 |
|
|---|
| 19 | # NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
|
|---|
| 20 | # ->> All the patches should be provided in 'git format-patch' format.
|
|---|
| 21 | # ->> Auxiliary repository will be created during 'fedpkg prep', you
|
|---|
| 22 | # can see all the applied patches there via 'git log'.
|
|---|
| 23 |
|
|---|
| 24 | # Upstream patches -- official upstream patches released by upstream since the
|
|---|
| 25 | # ---------------- last rebase that are necessary for any reason:
|
|---|
| 26 | #Patch000: example000.patch
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | # Downstream patches -- these should be always included when doing rebase:
|
|---|
| 30 | # ------------------
|
|---|
| 31 | #Patch100: example100.patch
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | # Downstream patches for RHEL -- patches that we keep only in RHEL for various
|
|---|
| 35 | # --------------------------- reasons, but are not enabled in Fedora:
|
|---|
| 36 | %if %{defined rhel} || %{defined centos}
|
|---|
| 37 | #Patch200: example200.patch
|
|---|
| 38 | %endif
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | # Patches to be removed -- deprecated functionality which shall be removed at
|
|---|
| 43 | # --------------------- some point in the future:
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | %description
|
|---|
| 47 | This package consists of encoding files for use with poppler. The encoding
|
|---|
| 48 | files are optional and poppler will automatically read them if they are present.
|
|---|
| 49 |
|
|---|
| 50 | When installed, the encoding files enables poppler to correctly render both CJK
|
|---|
| 51 | and Cyrrilic characters properly.
|
|---|
| 52 |
|
|---|
| 53 | # === SUBPACKAGES =============================================================
|
|---|
| 54 |
|
|---|
| 55 | %package devel
|
|---|
| 56 | Summary: Devel files for %{name}
|
|---|
| 57 | Requires: %{name} = %{version}-%{release}
|
|---|
| 58 | BuildRequires: pkgconfig
|
|---|
| 59 |
|
|---|
| 60 | %description devel
|
|---|
| 61 | This sub-package currently contains only pkgconfig file, which can be used with
|
|---|
| 62 | pkgconfig utility allowing your software to be build with poppler-data.
|
|---|
| 63 |
|
|---|
| 64 | # === BUILD INSTRUCTIONS ======================================================
|
|---|
| 65 |
|
|---|
| 66 | %prep
|
|---|
| 67 | #autosetup -S git
|
|---|
| 68 | %setup -q
|
|---|
| 69 |
|
|---|
| 70 | # NOTE: Nothing to do here - we are packaging the content only.
|
|---|
| 71 | %build
|
|---|
| 72 |
|
|---|
| 73 | %install
|
|---|
| 74 | %make_install prefix=%{_prefix}
|
|---|
| 75 |
|
|---|
| 76 | # === PACKAGING INSTRUCTIONS ==================================================
|
|---|
| 77 |
|
|---|
| 78 | %files
|
|---|
| 79 | %license COPYING COPYING.adobe COPYING.gpl2
|
|---|
| 80 | %{_datadir}/poppler/
|
|---|
| 81 |
|
|---|
| 82 | %files devel
|
|---|
| 83 | %{_datadir}/pkgconfig/poppler-data.pc
|
|---|
| 84 |
|
|---|
| 85 | # =============================================================================
|
|---|
| 86 |
|
|---|
| 87 | %changelog
|
|---|
| 88 | * Fri Aug 17 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.4.9-1
|
|---|
| 89 | - updated to version 0.4.9
|
|---|
| 90 | - adjusted the spec according to fedora
|
|---|
| 91 |
|
|---|
| 92 | * Tue Mar 28 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.4.7-2
|
|---|
| 93 | - rebuild for ghostscript 9.18
|
|---|
| 94 |
|
|---|
| 95 | * Fri Dec 12 2014 yd
|
|---|
| 96 | - initial unixroot build.
|
|---|