From c0f59cd637c034b663588da9482b809aaaf2bc92 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 19:21:44 +0000 Subject: import gom-0.3.3-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a04dc1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gom-0.3.3.tar.xz diff --git a/.gom.metadata b/.gom.metadata new file mode 100644 index 0000000..331a89f --- /dev/null +++ b/.gom.metadata @@ -0,0 +1 @@ +b50ffcb12dd628f35134d8eaaa461b260e305001 SOURCES/gom-0.3.3.tar.xz diff --git a/SPECS/gom.spec b/SPECS/gom.spec new file mode 100644 index 0000000..052a54c --- /dev/null +++ b/SPECS/gom.spec @@ -0,0 +1,79 @@ +Name: gom +Version: 0.3.3 +Release: 1%{?dist} +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 +BuildRequires: gtk-doc +BuildRequires: meson +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(sqlite3) + +%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 %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q +# Disable Python bindings +rm bindings/meson.build +touch bindings/meson.build + +%build +LANG=en_US.utf8 %meson -Denable-gtk-doc=true +LANG=en_US.utf8 %meson_build + +%install +LANG=en_US.utf8 %meson_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%license COPYING +%{_libdir}/girepository-1.0/Gom-1.0.typelib +%{_libdir}/libgom-1.0.so.0* + +%files devel +%{_includedir}/gom-1.0/ +%{_libdir}/libgom-1.0.so +%{_libdir}/pkgconfig/gom-1.0.pc +%{_datadir}/gir-1.0/Gom-1.0.gir +%doc %{_datadir}/gtk-doc/ + +%changelog +* Tue Jun 05 2018 Bastien Nocera - 0.3.3-1 ++ gom-0.3.3-1 +- Update to 0.3.3 +- Resolves: #1569961 + +* Tue Dec 29 2015 Kalev Lember - 0.3.2-1 +- Update to 0.3.2 +- Resolves: #1386973 + +* Fri Sep 11 2015 Bastien Nocera 0.2.1-3 +- Fix crasher during startup +Resolves: #1261939 + +* Wed Apr 22 2015 Bastien Nocera 0.2.1-2 +- Initial RHEL packaging +Resolves: #1184200 + +* Mon Aug 25 2014 Kalev Lember - 0.2.1-1 +- Initial Fedora packaging