[10130] | 1 | %define pkg_name mupdf |
---|
[12246] | 2 | %define pkg_version 1.16.1 |
---|
[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 |
---|
[12246] | 19 | BuildRequires: mesa-libEGL-devel |
---|
[10130] | 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: ara_t |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | MuPDF is a lightweight PDF and XPS viewer. |
---|
| 28 | The renderer in MuPDF is tailored for high quality anti-aliased graphics. |
---|
| 29 | It renders text with metrics and spacing accurate to within fractions of |
---|
| 30 | a pixel for the highest fidelity in reproducing the look of a printed page |
---|
| 31 | on screen. |
---|
| 32 | |
---|
| 33 | %package static |
---|
| 34 | Summary: Static library for MuPDF |
---|
| 35 | Group: Development/Libraries |
---|
| 36 | Requires: mupdf = %{version}-%{release} |
---|
| 37 | |
---|
| 38 | %description static |
---|
| 39 | A static library for MuPDF. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 44 | %setup -q -n %{name}-%{version}-source |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | %{make_install} prefix=%{_prefix} libdir=%{_libdir} |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-, root, root) |
---|
| 55 | %{_bindir}/ |
---|
| 56 | %{_datadir}/ |
---|
| 57 | |
---|
[10749] | 58 | %files static |
---|
[10130] | 59 | %defattr(-, root, root) |
---|
[10749] | 60 | %{_libdir}/libmupdf*.a |
---|
[10130] | 61 | %{_includedir}/ |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %changelog |
---|
[12246] | 65 | * Wed Oct 09 2019 Toshiaki Ara <ara_t@384.jp> 1.16.1-1 |
---|
| 66 | - new upstream release |
---|
| 67 | - add BuildRequires: mesa-libEGL-devel |
---|
| 68 | |
---|
| 69 | * Sun Oct 07 2018 Toshiaki Ara <ara_t@384.jp> 1.14.0-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
[11622] | 72 | * Wed May 02 2018 Toshiaki Ara <ara_t@384.jp> 1.13.0-1 |
---|
| 73 | - new upstream release |
---|
| 74 | |
---|
[11603] | 75 | * Sun Apr 01 2018 Toshiaki Ara <ara_t@384.jp> 1.12.0-1 |
---|
| 76 | - new upstream release |
---|
| 77 | - add BuildRequires: freeglut-devel |
---|
| 78 | - change download URL |
---|
| 79 | |
---|
[11114] | 80 | * Sat Jun 17 2017 Toshiaki Ara <ara_t@384.jp> 1.11-1 |
---|
| 81 | - new upstream release |
---|
| 82 | |
---|
[10859] | 83 | * Tue Dec 27 2016 Toshiaki Ara <ara_t@384.jp> 1.10a-1 |
---|
| 84 | - new upstream release |
---|
| 85 | |
---|
[10749] | 86 | * Sun Aug 21 2016 Toshiaki Ara <ara_t@384.jp> 1.9a-1 |
---|
| 87 | - update to 1.9a |
---|
| 88 | |
---|
[10130] | 89 | * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4 |
---|
| 90 | - correct SPEC file |
---|
| 91 | |
---|
[10140] | 92 | * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3 |
---|
[10130] | 93 | - correct Group |
---|
| 94 | |
---|
| 95 | * Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-2 |
---|
| 96 | - change directory for library |
---|
| 97 | |
---|
| 98 | * Sun Jan 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-1 |
---|
| 99 | - new package |
---|