mupdf-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. %define pkg_name mupdf
  2. %define pkg_version 1.13.0
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: A lightweight PDF and XPS viewer
  5. Name: %{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: AGPLv3+
  9. Group: Applications/Publishing
  10. URL: http://mupdf.com/
  11. # Source: http://mupdf.com/downloads/%{name}-%{version}-source.tar.gz
  12. Source: https://mupdf.com/downloads/%{name}-%{version}-source.tar.xz
  13. BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root
  14. BuildRequires: xorg-x11-devel
  15. BuildRequires: freeglut-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: ara_t
  19. %description
  20. MuPDF is a lightweight PDF and XPS viewer.
  21. The renderer in MuPDF is tailored for high quality anti-aliased graphics.
  22. It renders text with metrics and spacing accurate to within fractions of
  23. a pixel for the highest fidelity in reproducing the look of a printed page
  24. on screen.
  25. %package static
  26. Summary: Static library for MuPDF
  27. Group: Development/Libraries
  28. Requires: mupdf = %{version}-%{release}
  29. %description static
  30. A static library for MuPDF.
  31. %prep
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %setup -q -n %{name}-%{version}-source
  34. %install
  35. %{make_install} prefix=%{_prefix} libdir=%{_libdir}
  36. %clean
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. %files
  39. %defattr(-, root, root)
  40. %{_bindir}/
  41. %{_datadir}/
  42. %files static
  43. %defattr(-, root, root)
  44. %{_libdir}/libmupdf*.a
  45. %{_includedir}/
  46. %changelog
  47. * Wed May 02 2018 Toshiaki Ara <ara_t@384.jp> 1.13.0-1
  48. - new upstream release
  49. * Sun Apr 01 2018 Toshiaki Ara <ara_t@384.jp> 1.12.0-1
  50. - new upstream release
  51. - add BuildRequires: freeglut-devel
  52. - change download URL
  53. * Sat Jun 17 2017 Toshiaki Ara <ara_t@384.jp> 1.11-1
  54. - new upstream release
  55. * Tue Dec 27 2016 Toshiaki Ara <ara_t@384.jp> 1.10a-1
  56. - new upstream release
  57. * Sun Aug 21 2016 Toshiaki Ara <ara_t@384.jp> 1.9a-1
  58. - update to 1.9a
  59. * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4
  60. - correct SPEC file
  61. * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3
  62. - correct Group
  63. * Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-2
  64. - change directory for library
  65. * Sun Jan 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-1
  66. - new package