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 | |
---|
9 | License: LGPLv2+ |
---|
10 | URL: https://wiki.gnome.org/Projects/Gom |
---|
11 | %global shortver %(echo %{version} | cut -d. -f1-2) |
---|
12 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRequires: meson |
---|
15 | BuildRequires: gobject-introspection-devel |
---|
16 | BuildRequires: gdk-pixbuf2-devel |
---|
17 | BuildRequires: sqlite3-devel |
---|
18 | BuildRequires: python3-pygobject |
---|
19 | BuildRequires: python3-rpm-macros |
---|
20 | BuildRequires: gtk-doc |
---|
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} の開発環境 |
---|
33 | Group: programming |
---|
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} 用のドキュメント |
---|
44 | Group: documentation |
---|
45 | BuildArch: noarch |
---|
46 | |
---|
47 | %description docs |
---|
48 | This package contains documentation for %{name}. |
---|
49 | |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | |
---|
54 | |
---|
55 | %build |
---|
56 | %meson \ |
---|
57 | %ifnarch %{ix86} |
---|
58 | -Denable-gtk-doc=true |
---|
59 | %else |
---|
60 | -Denable-gtk-doc=false |
---|
61 | %endif |
---|
62 | %meson_build |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf ${RPM_BUILD_ROOT} |
---|
67 | %meson_install |
---|
68 | |
---|
69 | |
---|
70 | %clean |
---|
71 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
72 | |
---|
73 | |
---|
74 | %post -p /sbin/ldconfig |
---|
75 | %postun -p /sbin/ldconfig |
---|
76 | |
---|
77 | |
---|
78 | %files |
---|
79 | %defattr(-,root,root,-) |
---|
80 | %license COPYING |
---|
81 | %doc README NEWS |
---|
82 | %{_libdir}/libgom-1.0.so.* |
---|
83 | %{_libdir}/girepository-1.0/Gom-1.0.typelib |
---|
84 | %dir %{python3_sitearch}/gi |
---|
85 | %dir %{python3_sitearch}/gi/overrides |
---|
86 | %{python3_sitearch}/gi/overrides/Gom.py |
---|
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 | |
---|
95 | %ifnarch %{ix86} |
---|
96 | %files docs |
---|
97 | %defattr(-,root,root,-) |
---|
98 | %{_datadir}/gtk-doc/html/%{name} |
---|
99 | %endif |
---|
100 | |
---|
101 | %changelog |
---|
102 | * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-2 |
---|
103 | - rebuilt with python-3.8. |
---|
104 | |
---|
105 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-1 |
---|
106 | - new upstream release. |
---|
107 | |
---|
108 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.3-1 |
---|
109 | - new upstream release. |
---|
110 | |
---|
111 | * Wed Jul 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1 |
---|
112 | - initial build |
---|
113 | |
---|