1 | Summary: A GObject to SQLite object mapper |
---|
2 | Name: gom |
---|
3 | Version: 0.3.1 |
---|
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: gobject-introspection-devel |
---|
12 | BuildRequires: gdk-pixbuf2-devel |
---|
13 | BuildRequires: sqlite3-devel |
---|
14 | |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: Takemikaduchi |
---|
21 | |
---|
22 | %description |
---|
23 | Gom provides an object mapper from GObjects to SQLite. It helps you write |
---|
24 | applications that need to store structured data as well as make complex |
---|
25 | queries upon that data. |
---|
26 | |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Development tools for %{name} |
---|
30 | Summary(ja): %{name} の開発環境 |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Requires: pkgconfig |
---|
34 | |
---|
35 | %description devel |
---|
36 | Header files and libraries for building a extension library for the %{name}. |
---|
37 | |
---|
38 | |
---|
39 | %package docs |
---|
40 | Summary: Documentation for %{name} |
---|
41 | Summary(ja): %{name} 用のドキュメント |
---|
42 | Group: Documentation |
---|
43 | BuildArch: noarch |
---|
44 | |
---|
45 | %description docs |
---|
46 | This package contains documentation for %{name}. |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | |
---|
52 | %build |
---|
53 | %configure \ |
---|
54 | --disable-static \ |
---|
55 | --disable-gtk-doc |
---|
56 | |
---|
57 | make %{?_smp_mflags} |
---|
58 | |
---|
59 | %install |
---|
60 | rm -rf ${RPM_BUILD_ROOT} |
---|
61 | make install DESTDIR=${RPM_BUILD_ROOT} |
---|
62 | |
---|
63 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
64 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
65 | |
---|
66 | %find_lang %{name} |
---|
67 | |
---|
68 | %clean |
---|
69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
70 | |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | |
---|
74 | %postun -p /sbin/ldconfig |
---|
75 | |
---|
76 | |
---|
77 | %files -f %{name}.lang |
---|
78 | %defattr(-,root,root,-) |
---|
79 | %doc COPYING ChangeLog README NEWS |
---|
80 | %{_libdir}/libgom-1.0.so.* |
---|
81 | %{_libdir}/girepository-1.0/Gom-1.0.typelib |
---|
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 | * Wed Jul 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1 |
---|
97 | - initial build |
---|
98 | |
---|