[10130] | 1 | %define pkg_name mupdf |
---|
[11622] | 2 | %define pkg_version 1.13.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 |
---|
[11622] | 64 | * Wed May 02 2018 Toshiaki Ara <ara_t@384.jp> 1.13.0-1 |
---|
| 65 | - new upstream release |
---|
| 66 | |
---|
[11603] | 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 | |
---|
[11114] | 72 | * Sat Jun 17 2017 Toshiaki Ara <ara_t@384.jp> 1.11-1 |
---|
| 73 | - new upstream release |
---|
| 74 | |
---|
[10859] | 75 | * Tue Dec 27 2016 Toshiaki Ara <ara_t@384.jp> 1.10a-1 |
---|
| 76 | - new upstream release |
---|
| 77 | |
---|
[10749] | 78 | * Sun Aug 21 2016 Toshiaki Ara <ara_t@384.jp> 1.9a-1 |
---|
| 79 | - update to 1.9a |
---|
| 80 | |
---|
[10130] | 81 | * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4 |
---|
| 82 | - correct SPEC file |
---|
| 83 | |
---|
[10140] | 84 | * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3 |
---|
[10130] | 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 |
---|