mupdf-vl.spec 2.3 KB

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