Package init

This commit is contained in:
lyn1001 2020-06-19 17:12:44 +08:00
parent fe27851322
commit 343d78f458
3 changed files with 50 additions and 0 deletions

BIN
gom-0.3.3.tar.xz Normal file

Binary file not shown.

46
gom.spec Normal file
View File

@ -0,0 +1,46 @@
Name: gom
Version: 0.3.3
Release: 8
Summary: GObject to SQLite object mapper library
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Gom
Source0: https://download.gnome.org/sources/gom/0.3/gom-%{version}.tar.xz
BuildRequires: gobject-introspection-devel gtk-doc meson pkgconfig(gdk-pixbuf-2.0) pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-2.0) pkgconfig(sqlite3) pygobject3-devel python3-devel
%description
Gom provides an object mapper from GObjects to SQLite. It helps you write applications
that need to store structured data as well as make complex queries upon that data.
%package devel
Summary: Development files for gom
Requires: gom = %{version}-%{release}
%description devel
The gom-devel package contains libraries and header files for developing applications that use gom.
%prep
%autosetup -n gom-%{version} -p1
%build
%meson -Denable-gtk-doc=true
%meson_build
%install
%meson_install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc COPYING
%{_libdir}/{girepository-1.0/Gom-1.0.typelib,libgom-1.0.so.0*}
%{python3_sitearch}/{gi,gi/overrides,gi/overrides/*}
%files devel
%{_includedir}/gom-1.0/
%{_libdir}/{libgom-1.0.so,pkgconfig/gom-1.0.pc}
%{_datadir}/gir-1.0/Gom-1.0.gir
%doc %{_datadir}/gtk-doc/
%changelog
* Fri Apr 24 2020 yanan li <liyanan032@huawei.com> - 0.3.3-8
- Package init

4
gom.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: gom
tag_prefix: ^
seperator: .