gom-vl.spec 2.3 KB

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