Update to 0.3.3

- Switch to the meson build system
This commit is contained in:
Kalev Lember 2017-07-27 12:43:30 +02:00
parent 4f650ca9c4
commit c284fe4e87
3 changed files with 19 additions and 11 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/gom-0.3.0.tar.xz
/gom-0.3.1.tar.xz
/gom-0.3.2.tar.xz
/gom-0.3.3.tar.xz

View File

@ -1,6 +1,6 @@
Name: gom
Version: 0.3.2
Release: 4%{?dist}
Version: 0.3.3
Release: 1%{?dist}
Summary: GObject to SQLite object mapper library
License: LGPLv2+
@ -8,11 +8,14 @@ URL: https://wiki.gnome.org/Projects/Gom
Source0: https://download.gnome.org/sources/gom/0.3/gom-%{version}.tar.xz
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pygobject3-devel
BuildRequires: python3-devel
%description
Gom provides an object mapper from GObjects to SQLite. It helps you write
@ -31,23 +34,23 @@ developing applications that use %{name}.
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%meson -Denable-gtk-doc=true
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete
%find_lang gom
%meson_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f gom.lang
%files
%license COPYING
%{_libdir}/girepository-1.0/Gom-1.0.typelib
%{_libdir}/libgom-1.0.so.0*
%dir %{python3_sitearch}/gi
%dir %{python3_sitearch}/gi/overrides
%{python3_sitearch}/gi/overrides/*
%files devel
%{_includedir}/gom-1.0/
@ -57,6 +60,10 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%doc %{_datadir}/gtk-doc/
%changelog
* Thu Jul 27 2017 Kalev Lember <klember@redhat.com> - 0.3.3-1
- Update to 0.3.3
- Switch to the meson build system
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
4191f13d5ec1803a60c0e08330680d8f gom-0.3.2.tar.xz
SHA512 (gom-0.3.3.tar.xz) = 152924e704c92f39c493a8becc73fac1f7fe396f4f9e7c154dccec2b4413476821e43abf3c108cc1304de471e61f56c265f124710379ad8568b68f8902064e03