1 | %define pkg_name mupdf |
---|
2 | %define pkg_version 1.13.0 |
---|
3 | %define pkg_release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: A lightweight PDF and XPS viewer |
---|
6 | Name: %{pkg_name} |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | |
---|
10 | License: AGPLv3+ |
---|
11 | Group: Applications/Publishing |
---|
12 | URL: http://mupdf.com/ |
---|
13 | # Source: http://mupdf.com/downloads/%{name}-%{version}-source.tar.gz |
---|
14 | Source: https://mupdf.com/downloads/%{name}-%{version}-source.tar.xz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root |
---|
17 | BuildRequires: xorg-x11-devel |
---|
18 | BuildRequires: freeglut-devel |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: ara_t |
---|
23 | |
---|
24 | |
---|
25 | %description |
---|
26 | MuPDF is a lightweight PDF and XPS viewer. |
---|
27 | The renderer in MuPDF is tailored for high quality anti-aliased graphics. |
---|
28 | It renders text with metrics and spacing accurate to within fractions of |
---|
29 | a pixel for the highest fidelity in reproducing the look of a printed page |
---|
30 | on screen. |
---|
31 | |
---|
32 | %package static |
---|
33 | Summary: Static library for MuPDF |
---|
34 | Group: Development/Libraries |
---|
35 | Requires: mupdf = %{version}-%{release} |
---|
36 | |
---|
37 | %description static |
---|
38 | A static library for MuPDF. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
43 | %setup -q -n %{name}-%{version}-source |
---|
44 | |
---|
45 | %install |
---|
46 | %{make_install} prefix=%{_prefix} libdir=%{_libdir} |
---|
47 | |
---|
48 | %clean |
---|
49 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
50 | |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-, root, root) |
---|
54 | %{_bindir}/ |
---|
55 | %{_datadir}/ |
---|
56 | |
---|
57 | %files static |
---|
58 | %defattr(-, root, root) |
---|
59 | %{_libdir}/libmupdf*.a |
---|
60 | %{_includedir}/ |
---|
61 | |
---|
62 | |
---|
63 | %changelog |
---|
64 | * Wed May 02 2018 Toshiaki Ara <ara_t@384.jp> 1.13.0-1 |
---|
65 | - new upstream release |
---|
66 | |
---|
67 | * Sun Apr 01 2018 Toshiaki Ara <ara_t@384.jp> 1.12.0-1 |
---|
68 | - new upstream release |
---|
69 | - add BuildRequires: freeglut-devel |
---|
70 | - change download URL |
---|
71 | |
---|
72 | * Sat Jun 17 2017 Toshiaki Ara <ara_t@384.jp> 1.11-1 |
---|
73 | - new upstream release |
---|
74 | |
---|
75 | * Tue Dec 27 2016 Toshiaki Ara <ara_t@384.jp> 1.10a-1 |
---|
76 | - new upstream release |
---|
77 | |
---|
78 | * Sun Aug 21 2016 Toshiaki Ara <ara_t@384.jp> 1.9a-1 |
---|
79 | - update to 1.9a |
---|
80 | |
---|
81 | * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4 |
---|
82 | - correct SPEC file |
---|
83 | |
---|
84 | * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3 |
---|
85 | - correct Group |
---|
86 | |
---|
87 | * Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-2 |
---|
88 | - change directory for library |
---|
89 | |
---|
90 | * Sun Jan 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-1 |
---|
91 | - new package |
---|