source: spec/trunk/SPECS/poppler-data.spec@ 1569

Last change on this file since 1569 was 1457, checked in by Silvan Scherrer, 7 years ago

spec: poppler-data: Release version 0.4.9-1.

File size: 3.0 KB
Line 
1# =============================================================================
2
3Name: poppler-data
4Summary: Encoding files for use with poppler
5Version: 0.4.9
6Release: 1%{?dist}
7
8# NOTE: The licensing details are explained in COPYING file in source archive.
9License: BSD and GPLv2
10
11URL: https://poppler.freedesktop.org/
12Source: https://poppler.freedesktop.org/poppler-data-%{version}.tar.gz
13
14BuildArch: noarch
15BuildRequires: 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
47This package consists of encoding files for use with poppler. The encoding
48files are optional and poppler will automatically read them if they are present.
49
50When installed, the encoding files enables poppler to correctly render both CJK
51and Cyrrilic characters properly.
52
53# === SUBPACKAGES =============================================================
54
55%package devel
56Summary: Devel files for %{name}
57Requires: %{name} = %{version}-%{release}
58BuildRequires: pkgconfig
59
60%description devel
61This sub-package currently contains only pkgconfig file, which can be used with
62pkgconfig 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.
Note: See TracBrowser for help on using the repository browser.