gom-vl.spec 2.1 KB

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