[10130] | 1 | %define pkg_name mupdf |
---|
[11603] | 2 | %define pkg_version 1.12.0 |
---|
[10749] | 3 | %define pkg_release 1%{?_dist_release} |
---|
[10130] | 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/ |
---|
[11603] | 13 | # Source: http://mupdf.com/downloads/%{name}-%{version}-source.tar.gz |
---|
| 14 | Source: https://mupdf.com/downloads/%{name}-%{version}-source.tar.xz |
---|
[10130] | 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root |
---|
| 17 | BuildRequires: xorg-x11-devel |
---|
[11603] | 18 | BuildRequires: freeglut-devel |
---|
[10130] | 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 | |
---|
[10749] | 57 | %files static |
---|
[10130] | 58 | %defattr(-, root, root) |
---|
[10749] | 59 | %{_libdir}/libmupdf*.a |
---|
[10130] | 60 | %{_includedir}/ |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %changelog |
---|
[11603] | 64 | * Sun Apr 01 2018 Toshiaki Ara <ara_t@384.jp> 1.12.0-1 |
---|
| 65 | - new upstream release |
---|
| 66 | - add BuildRequires: freeglut-devel |
---|
| 67 | - change download URL |
---|
| 68 | |
---|
[11114] | 69 | * Sat Jun 17 2017 Toshiaki Ara <ara_t@384.jp> 1.11-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
[10859] | 72 | * Tue Dec 27 2016 Toshiaki Ara <ara_t@384.jp> 1.10a-1 |
---|
| 73 | - new upstream release |
---|
| 74 | |
---|
[10749] | 75 | * Sun Aug 21 2016 Toshiaki Ara <ara_t@384.jp> 1.9a-1 |
---|
| 76 | - update to 1.9a |
---|
| 77 | |
---|
[10130] | 78 | * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4 |
---|
| 79 | - correct SPEC file |
---|
| 80 | |
---|
[10140] | 81 | * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3 |
---|
[10130] | 82 | - correct Group |
---|
| 83 | |
---|
| 84 | * Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-2 |
---|
| 85 | - change directory for library |
---|
| 86 | |
---|
| 87 | * Sun Jan 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-1 |
---|
| 88 | - new package |
---|