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

Revision 12395, 2.8 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

Line 
1Summary:        C implementation of the Git core methods as a library with a solid API
2Name:           libgit2
3Version:        1.0.0
4Release:        1%{?_dist_release}
5Group:          System Environment/Libraries
6Vendor:         Project Vine
7Distribution:   Vine Linux
8
9License:        GPLv2
10URL:            https://libgit2.org/
11Source0:        https://github.com/libgit2/libgit2/releases/download/v%{version}/%{name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  cmake
15BuildRequires:  openssl-devel
16BuildRequires:  http-parser-devel
17BuildRequires:  curl-devel
18BuildRequires:  libssh2-devel
19BuildRequires:  zlib-devel
20
21%description
22libgit2 is a portable, pure C implementation of the Git core methods
23provided as a re-entrant linkable library with a solid API, allowing
24you to write native speed custom Git applications in any language
25which supports C bindings.
26
27
28%package        devel
29Summary:        Development tools for %{name}
30Summary(ja):    %{name} の開発環境
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33Requires:       pkgconfig
34Requires:       openssl-devel
35Requires:       http-parser-devel
36Requires:       libssh2-devel
37Requires:       zlib-devel
38
39%description    devel
40Header files and libraries for building a extension library for the %{name}.
41
42
43%prep
44%setup -q
45
46%build
47rm -rf build && mkdir build && pushd build
48%cmake -DINSTALL_DOCS=OFF \
49    ../
50
51make %{?_smp_mflags}
52popd
53
54
55%install
56rm -rf ${RPM_BUILD_ROOT}
57pushd build
58make install DESTDIR=${RPM_BUILD_ROOT}
59popd
60
61find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
62find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
63
64
65%clean
66%{__rm} -rf ${RPM_BUILD_ROOT}
67
68%post -p /sbin/ldconfig
69
70%postun -p /sbin/ldconfig
71
72
73%files
74%defattr(-,root,root,-)
75%license COPYING
76%doc AUTHORS README.md
77%{_libdir}/%{name}.so.*
78
79%files devel
80%defattr(-,root,root,-)
81%{_includedir}/git2/
82%{_includedir}/git2.h
83%{_libdir}/%{name}.so
84%{_libdir}/pkgconfig/%{name}.pc
85
86
87%changelog
88* Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.0-1
89- new upstream release.
90
91* Mon Mar 25 2019 Toshiaki Ara <ara_t@384.jp> 0.27.8-2
92- correct date
93
94* Mon Mar 25 2019 Toshiaki Ara <ara_t@384.jp> 0.27.8-1
95- update to 0.27.8
96- add BuildRequires: curl-devel
97
98* Thu Nov 01 2018 Toshiaki Ara <ara_t@384.jp> 0.27.4-2
99- rebuild with openssl-1.1.1
100
101* Mon Aug 20 2018 Toshiaki Ara <ara_t@384.jp> 0.27.4-1
102- new upstream release
103
104* Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24.1-1
105- new upstream release
106
107* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.3-1
108- new upstream release
109
110* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-2
111- add BuildRequires: openssl-devel, http-parser-devel, libssh2-devel, zlib-devel
112
113* Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-1
114- initial build
115
Note: See TracBrowser for help on using the repository browser.