gom-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Summary: A GObject to SQLite object mapper
  2. Name: gom
  3. Version: 0.4
  4. Release: 2%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://wiki.gnome.org/Projects/Gom
  10. %global shortver %(echo %{version} | cut -d. -f1-2)
  11. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  12. BuildRequires: meson
  13. BuildRequires: gobject-introspection-devel
  14. BuildRequires: gdk-pixbuf2-devel
  15. BuildRequires: sqlite3-devel
  16. BuildRequires: python3-pygobject
  17. BuildRequires: python3-rpm-macros
  18. BuildRequires: gtk-doc
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. %description
  21. Gom provides an object mapper from GObjects to SQLite. It helps you write
  22. applications that need to store structured data as well as make complex
  23. queries upon that data.
  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 %{name}.
  32. %package docs
  33. Summary: Documentation for %{name}
  34. Summary(ja): %{name} 用のドキュメント
  35. Group: documentation
  36. BuildArch: noarch
  37. %description docs
  38. This package contains documentation for %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %meson \
  43. %ifnarch %{ix86}
  44. -Denable-gtk-doc=true
  45. %else
  46. -Denable-gtk-doc=false
  47. %endif
  48. %meson_build
  49. %install
  50. rm -rf ${RPM_BUILD_ROOT}
  51. %meson_install
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files
  57. %defattr(-,root,root,-)
  58. %license COPYING
  59. %doc README NEWS
  60. %{_libdir}/libgom-1.0.so.*
  61. %{_libdir}/girepository-1.0/Gom-1.0.typelib
  62. %dir %{python3_sitearch}/gi
  63. %dir %{python3_sitearch}/gi/overrides
  64. %{python3_sitearch}/gi/overrides/Gom.py
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_includedir}/%{name}-1.0
  68. %{_libdir}/libgom-1.0.so
  69. %{_libdir}/pkgconfig/%{name}-1.0.pc
  70. %{_datadir}/gir-1.0/Gom-1.0.gir
  71. %ifnarch %{ix86}
  72. %files docs
  73. %defattr(-,root,root,-)
  74. %{_datadir}/gtk-doc/html/%{name}
  75. %endif
  76. %changelog
  77. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-2
  78. - rebuilt with python-3.8.
  79. * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-1
  80. - new upstream release.
  81. * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.3-1
  82. - new upstream release.
  83. * Wed Jul 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
  84. - initial build