parent
c6d0e671e3
commit
e78f0a18e0
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/gom-0.2.1.tar.xz
|
||||
61
gom.spec
Normal file
61
gom.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: gom
|
||||
Version: 0.2.1
|
||||
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.2/gom-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: intltool
|
||||
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
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||
|
||||
%find_lang gom
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f gom.lang
|
||||
%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
|
||||
* Mon Aug 25 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.1-1
|
||||
- Initial Fedora packaging
|
||||
Loading…
Reference in New Issue
Block a user