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