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.

RevLine 
[9682]1Summary:        A GObject to SQLite object mapper
2Name:           gom
[12446]3Version:        0.4
[12469]4Release:        2%{?_dist_release}
5Group:          system
[12446]6Vendor:         Project Vine
7Distribution:   Vine Linux
8
[9682]9License:        LGPLv2+
10URL:            https://wiki.gnome.org/Projects/Gom
[12446]11%global         shortver %(echo %{version} | cut -d. -f1-2)
12Source0:        https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
[9682]13
[12005]14BuildRequires:  meson
[9682]15BuildRequires:  gobject-introspection-devel
16BuildRequires:  gdk-pixbuf2-devel
17BuildRequires:  sqlite3-devel
[12005]18BuildRequires:  python3-pygobject
19BuildRequires:  python3-rpm-macros
20BuildRequires:  gtk-doc
[9682]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} の開発環境
[12469]33Group:          programming
[9682]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} 用のドキュメント
[12469]44Group:          documentation
[9682]45BuildArch:      noarch
46
47%description    docs
48This 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
66rm -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
Note: See TracBrowser for help on using the repository browser.