1 | Summary: A GObject to SQLite object mapper |
---|
2 | Name: gom |
---|
3 | Version: 0.3.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: LGPLv2+ |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: https://wiki.gnome.org/Projects/Gom |
---|
8 | |
---|
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.xz |
---|
10 | |
---|
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 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
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: Development/Libraries |
---|
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 | %build |
---|
55 | %meson \ |
---|
56 | -Denable-gtk-doc=true |
---|
57 | |
---|
58 | %meson_build |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf ${RPM_BUILD_ROOT} |
---|
62 | %meson_install |
---|
63 | |
---|
64 | %clean |
---|
65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
66 | |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %license COPYING |
---|
76 | %doc README NEWS |
---|
77 | %{_libdir}/libgom-1.0.so.* |
---|
78 | %{_libdir}/girepository-1.0/Gom-1.0.typelib |
---|
79 | %dir %{python3_sitearch}/gi |
---|
80 | %dir %{python3_sitearch}/gi/overrides |
---|
81 | %{python3_sitearch}/gi/overrides/Gom.py |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(-,root,root,-) |
---|
85 | %{_includedir}/%{name}-1.0 |
---|
86 | %{_libdir}/libgom-1.0.so |
---|
87 | %{_libdir}/pkgconfig/%{name}-1.0.pc |
---|
88 | %{_datadir}/gir-1.0/Gom-1.0.gir |
---|
89 | |
---|
90 | %files docs |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %{_datadir}/gtk-doc/html/%{name} |
---|
93 | |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.3-1 |
---|
97 | - new upstream release. |
---|
98 | |
---|
99 | * Wed Jul 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1 |
---|
100 | - initial build |
---|
101 | |
---|