libgit2-glib-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: GLib wrapper for libgit2
  2. Summary(ja): libgit2 用 GLib ラッパー
  3. Name: libgit2-glib
  4. Version: 0.23.6
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2.1
  7. Group: System Environment/Libraries
  8. URL: https://wiki.gnome.org/Projects/Libgit2-glib
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.23/%{name}-%{version}.tar.xz
  10. BuildRequires: glib2-devel
  11. BuildRequires: libgit2-devel
  12. BuildRequires: gobject-introspection-devel
  13. BuildRequires: gtk-doc
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. libgit2-glib is a glib wrapper library around the libgit2 git access library.
  20. %description -l ja
  21. libgit2-glib は GIT アクセス用ライブラリ libgit2 用の glib ラッパーライブラリです。
  22. %package devel
  23. Summary: Development tools for %{name}
  24. Summary(ja): %{name} の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Header files and libraries for building a extension library for the %{name}.
  30. %package docs
  31. Summary: Documentation for %{name}
  32. Summary(ja): %{name} 用のドキュメント
  33. Group: Documentation
  34. BuildArch: noarch
  35. %description docs
  36. This package contains documentation for %{name}.
  37. %prep
  38. %setup -q
  39. %build
  40. %configure \
  41. --disable-static
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  47. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc COPYING ChangeLog NEWS README
  55. %{_libdir}/%{name}-1.0.so.*
  56. %{_libdir}/girepository-1.0/Ggit-1.0.typelib
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/%{name}-1.0
  60. %{_libdir}/%{name}-1.0.so
  61. %{_libdir}/pkgconfig/%{name}-1.0.pc
  62. %{_datadir}/gir-1.0/Ggit-1.0.gir
  63. %files docs
  64. %defattr(-,root,root,-)
  65. %{_datadir}/gtk-doc/html/%{name}-1.0
  66. %changelog
  67. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.6-1
  68. - new upstream release
  69. * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.8-1
  70. - new upstream release
  71. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.6-1
  72. - new upstream release
  73. * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-2
  74. - rebuild with libgit2-0.22.2-2
  75. * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-1
  76. - initial build