libgxps-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Name: libgxps
  2. Version: 0.3.1
  3. Release: 1%{?_dist_release}
  4. Summary: GObject based library for handling and rendering XPS documents.
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: LGPLv2+
  8. URL: https://live.gnome.org/libgxps
  9. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  10. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: meson
  13. BuildRequires: gtk3-devel
  14. BuildRequires: libarchive-devel
  15. BuildRequires: libjpeg-turbo-devel
  16. BuildRequires: libtiff-devel
  17. BuildRequires: lcms2-devel
  18. BuildRequires: gobject-introspection-devel
  19. BuildRequires: gtk-doc
  20. %description
  21. libgxps is a GObject based library for handling and rendering XPS
  22. documents.
  23. %package devel
  24. Summary: Development tools for %{name}
  25. Summary(ja): %{name} の開発環境
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. Header files and libraries for building a extension library for the
  31. %{name}.
  32. %package doc
  33. Summary: Documentation for %{name}
  34. Summary(ja): %{name} 用のドキュメント
  35. Group: Documentation
  36. Requires: %{name} = %{version}-%{release}
  37. BuildArch: noarch
  38. %description doc
  39. This package contains documentation for %{name}.
  40. %prep
  41. %setup -q
  42. %build
  43. %meson \
  44. -Denable-test=false \
  45. -Denable-gtk-doc=true
  46. %meson_build
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. %meson_install
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  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. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.1-1
  76. - new upstream release.
  77. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.2-1
  78. - new upstream release
  79. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.1-1
  80. - new upstream release
  81. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-3
  82. - rebuild with libarchve-3.1.2
  83. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
  84. - rebuild with VineSeed environment
  85. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  86. - initial build