Rev | Line | |
---|
[10130] | 1 | %define pkg_name mupdf |
---|
| 2 | %define pkg_version 1.8 |
---|
| 3 | %define pkg_release 4%{?_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: %{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 -n mupdf-static |
---|
| 56 | %defattr(-, root, root) |
---|
| 57 | %{_libdir}/libmupdf.a |
---|
| 58 | %{_includedir}/ |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %changelog |
---|
| 62 | * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4 |
---|
| 63 | - correct SPEC file |
---|
| 64 | |
---|
[10140] | 65 | * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3 |
---|
[10130] | 66 | - correct Group |
---|
| 67 | |
---|
| 68 | * Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-2 |
---|
| 69 | - change directory for library |
---|
| 70 | |
---|
| 71 | * Sun Jan 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-1 |
---|
| 72 | - new package |
---|
Note: See
TracBrowser
for help on using the repository browser.