source: projects/specs/trunk/g/gom/gom-vl.spec @ 12469

Revision 12469, 2.5 KB checked in by tomop, 4 years ago (diff)

python-3.8.5 and related packages.

Line 
1Summary:        A GObject to SQLite object mapper
2Name:           gom
3Version:        0.4
4Release:        2%{?_dist_release}
5Group:          system
6Vendor:         Project Vine
7Distribution:   Vine Linux
8
9License:        LGPLv2+
10URL:            https://wiki.gnome.org/Projects/Gom
11%global         shortver %(echo %{version} | cut -d. -f1-2)
12Source0:        https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
13
14BuildRequires:  meson
15BuildRequires:  gobject-introspection-devel
16BuildRequires:  gdk-pixbuf2-devel
17BuildRequires:  sqlite3-devel
18BuildRequires:  python3-pygobject
19BuildRequires:  python3-rpm-macros
20BuildRequires:  gtk-doc
21
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24%description
25Gom provides an object mapper from GObjects to SQLite. It helps you write
26applications that need to store structured data as well as make complex
27queries upon that data.
28
29
30%package        devel
31Summary:        Development tools for %{name}
32Summary(ja):    %{name} の開発環境
33Group:          programming
34Requires:       %{name} = %{version}-%{release}
35Requires:       pkgconfig
36
37%description    devel
38Header files and libraries for building a extension library for the %{name}.
39
40
41%package        docs
42Summary:        Documentation for %{name}
43Summary(ja):    %{name} 用のドキュメント
44Group:          documentation
45BuildArch:      noarch
46
47%description    docs
48This 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
66rm -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
Note: See TracBrowser for help on using the repository browser.