source: projects/specs/trunk/lib/libg/libgit2-glib/libgit2-glib-vl.spec @ 12395

Revision 12395, 3.5 KB checked in by tomop, 4 years ago (diff)

updated 4 packages

gyp-0.1-4.gite87d37d6

http-parser-2.9.4-1

libgit2-glib-0.28.0.1-1

libgit2-1.0.0-1

RevLine 
[11776]1%{!?python3_sitearch: %define python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
[9478]2
[11776]3%global _vpath_srcdir .
4%global _vpath_builddir builddir
5%global __global_cflags ""
6%global __global_ldflags ""
[9478]7
[11776]8
9Summary: GLib wrapper for libgit2
10Summary(ja):  libgit2 用 GLib ラッパー
11Name:    libgit2-glib
[12395]12Version: 0.28.0.1
[11776]13Release: 1%{?_dist_release}
[12395]14Group:   System Environment/Libraries
15Vendor:   Project Vine
16Distribution: Vine Linux
17
[11776]18License: LGPLv2.1
19URL:     https://wiki.gnome.org/Projects/Libgit2-glib
[12395]20%global  shortver %(echo %{version} | cut -d . -f 1,2)
21Source0: https://download.gnome.org/sources/libgit2-glib/%{shortver}/%{name}-%{version}.tar.xz
[11776]22
[12395]23# Patch from upstream
24Patch0:  libgit2-1.patch
[11776]25
[9478]26BuildRequires: glib2-devel
27BuildRequires: libgit2-devel
28BuildRequires: gobject-introspection-devel
29BuildRequires: gtk-doc
[11776]30BuildRequires: python3-devel
31BuildRequires: meson vala-devel vala-tools pygobject3-devel
[9478]32
[11776]33BuildRoot:  %{_tmppath}/%{name}-%{version}-root
[9478]34
35%description
36libgit2-glib is a glib wrapper library around the libgit2 git access library.
37
38%description -l ja
39libgit2-glib は GIT アクセス用ライブラリ libgit2 用の glib ラッパーライブラリです。
40
41
42%package        devel
43Summary:        Development tools for %{name}
44Summary(ja):    %{name} の開発環境
45Group:          Development/Libraries
46Requires:       %{name} = %{version}-%{release}
47Requires:       pkgconfig
48
49%description    devel
50Header files and libraries for building a extension library for the %{name}.
51
52
53%package        docs
54Summary:        Documentation for %{name}
55Summary(ja):    %{name} 用のドキュメント
56Group:          Documentation
57BuildArch:      noarch
58
59%description    docs
60This package contains documentation for %{name}.
61
62
63%prep
64%setup -q
[12395]65%patch0 -p1
[9478]66
67%build
[11776]68%meson -Dgtk_doc=true -Dpython=true
69%meson_build
[9478]70
71%install
72%{__rm} -rf ${RPM_BUILD_ROOT}
[11776]73%meson_install
[9478]74
[11776]75find ${RPM_BUILD_ROOT} -name '*.a' -exec rm -f {} \;
76find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \;
[9478]77
[11776]78%check
79%meson_test
80
81
[9478]82%clean
83%{__rm} -rf ${RPM_BUILD_ROOT}
84
85%post -p /sbin/ldconfig
86
87%postun -p /sbin/ldconfig
88
89
90%files
91%defattr(-,root,root,-)
[12395]92%license COPYING
93%doc AUTHORS ChangeLog NEWS README
[9478]94%{_libdir}/%{name}-1.0.so.*
95%{_libdir}/girepository-1.0/Ggit-1.0.typelib
[11776]96%{python3_sitearch}/gi/overrides/*
[9478]97
98%files devel
99%defattr(-,root,root,-)
100%{_includedir}/%{name}-1.0
101%{_libdir}/%{name}-1.0.so
102%{_libdir}/pkgconfig/%{name}-1.0.pc
103%{_datadir}/gir-1.0/Ggit-1.0.gir
[11776]104%{_datadir}/vala
[9478]105
106%files docs
[11776]107%doc examples
[9478]108%defattr(-,root,root,-)
109%{_datadir}/gtk-doc/html/%{name}-1.0
110
111
112%changelog
[12395]113* Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.28.0.1-1
114- new upstream release.
115- dropped Patch1.
116- imported Patch0 from upstream.
117
[11776]118* Tue Aug 21 2018 Toshiaki Ara <ara_t@384.jp> 0.26.4-1
119- new upstream release
120- add BuildRequires: python3-devel
121- add BuildRequires: meson vala-devel vala-tools pygobject3-devel
122- Switch to the meson build system
123
[10405]124* Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24.0-1
125- new upstream release
126
[9791]127* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.6-1
128- new upstream release
129
[9536]130* Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.8-1
131- new upstream release
132
[9520]133* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.6-1
134- new upstream release
135
[9487]136* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-2
137- rebuild with libgit2-0.22.2-2
138
[9478]139* Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-1
140- initial build
141
Note: See TracBrowser for help on using the repository browser.