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