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

Revision 12005, 2.2 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

RevLine 
[9682]1Summary:        A GObject to SQLite object mapper
2Name:           gom
[12005]3Version:        0.3.3
[9682]4Release:        1%{?_dist_release}
5License:        LGPLv2+
6Group:          System Environment/Libraries
7URL:            https://wiki.gnome.org/Projects/Gom
8
9Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.xz
10
[12005]11BuildRequires:  meson
[9682]12BuildRequires:  gobject-introspection-devel
13BuildRequires:  gdk-pixbuf2-devel
14BuildRequires:  sqlite3-devel
[12005]15BuildRequires:  python3-pygobject
16BuildRequires:  python3-rpm-macros
17BuildRequires:  gtk-doc
[9682]18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
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:          Development/Libraries
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%build
[12005]55%meson \
56  -Denable-gtk-doc=true
[9682]57
[12005]58%meson_build
[9682]59
60%install
61rm -rf ${RPM_BUILD_ROOT}
[12005]62%meson_install
[9682]63
64%clean
65%{__rm} -rf ${RPM_BUILD_ROOT}
66
67
68%post -p /sbin/ldconfig
69
70%postun -p /sbin/ldconfig
71
72
[12005]73%files
[9682]74%defattr(-,root,root,-)
[12005]75%license COPYING
76%doc README NEWS
[9682]77%{_libdir}/libgom-1.0.so.*
78%{_libdir}/girepository-1.0/Gom-1.0.typelib
[12005]79%dir %{python3_sitearch}/gi
80%dir %{python3_sitearch}/gi/overrides
81%{python3_sitearch}/gi/overrides/Gom.py
[9682]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
[12005]96* Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.3-1
97- new upstream release.
98
[9682]99* Wed Jul 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
100- initial build
101
Note: See TracBrowser for help on using the repository browser.