libgxps-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: libgxps
  2. Summary: GObject based library for handling and rendering XPS documents.
  3. Version: 0.3.2
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://live.gnome.org/libgxps
  10. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  11. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: meson
  14. BuildRequires: gtk3-devel
  15. BuildRequires: libarchive-devel
  16. BuildRequires: libjpeg-turbo-devel
  17. BuildRequires: libtiff-devel
  18. BuildRequires: lcms2-devel
  19. BuildRequires: gobject-introspection-devel
  20. BuildRequires: gtk-doc
  21. %description
  22. libgxps is a GObject based library for handling and rendering XPS
  23. documents.
  24. %package devel
  25. Summary: Development tools for %{name}
  26. Summary(ja): %{name} の開発環境
  27. Group: programming
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. %description devel
  31. Header files and libraries for building a extension library for the
  32. %{name}.
  33. %package doc
  34. Summary: Documentation for %{name}
  35. Summary(ja): %{name} 用のドキュメント
  36. Group: documentation
  37. Requires: %{name} = %{version}-%{release}
  38. BuildArch: noarch
  39. %description doc
  40. This package contains documentation for %{name}.
  41. %debug_package
  42. %prep
  43. %setup -q
  44. %build
  45. %meson \
  46. -Denable-test=false \
  47. -Denable-gtk-doc=true
  48. %meson_build
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. %meson_install
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files
  55. %defattr(-,root,root,-)
  56. %license COPYING
  57. %doc ChangeLog AUTHORS NEWS README
  58. %{_bindir}/xpstojpeg
  59. %{_bindir}/xpstopdf
  60. %{_bindir}/xpstopng
  61. %{_bindir}/xpstops
  62. %{_bindir}/xpstosvg
  63. %{_libdir}/%{name}.so.*
  64. %{_libdir}/girepository-1.0/GXPS-0.1.typelib
  65. %files devel
  66. %defattr(-, root, root)
  67. %{_includedir}/%{name}
  68. %{_libdir}/%{name}.so
  69. %{_libdir}/pkgconfig/%{name}.pc
  70. %{_datadir}/gir-1.0/GXPS-0.1.gir
  71. %files doc
  72. %defattr(-, root, root)
  73. %{_datadir}/gtk-doc/html/%{name}
  74. %changelog
  75. * Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.2-1
  76. - new upstream release.
  77. - dropped ldconfig scriptlets.
  78. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.1-1
  79. - new upstream release.
  80. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.2-1
  81. - new upstream release
  82. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.1-1
  83. - new upstream release
  84. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-3
  85. - rebuild with libarchve-3.1.2
  86. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
  87. - rebuild with VineSeed environment
  88. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  89. - initial build