package created using the webbuild interface [release 0.23.4-1mamba;Sat Jan 16 2016]
This commit is contained in:
parent
df5a0d54b8
commit
8969121ad7
@ -1,2 +1,4 @@
|
||||
# libgit2
|
||||
|
||||
libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language with bindings.
|
||||
|
||||
|
72
libgit2.spec
Normal file
72
libgit2.spec
Normal file
@ -0,0 +1,72 @@
|
||||
Name: libgit2
|
||||
Version: 0.23.4
|
||||
Release: 1mamba
|
||||
Summary: A portable, pure C implementation of the Git core methods provided as a re-entrant linkable library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://libgit2.github.com/
|
||||
## GITSOURCE https://github.com/libgit2/libgit2.git v0.23.4
|
||||
Source: https://github.com/libgit2/libgit2.git/v%{version}/libgit2-%{version}.tar.bz2
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libssh2-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language with bindings.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgit2.so.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/git2.h
|
||||
%dir %{_includedir}/git2
|
||||
%{_includedir}/git2/*.h
|
||||
%dir %{_includedir}/git2/sys
|
||||
%{_includedir}/git2/sys/*.h
|
||||
%{_libdir}/libgit2.so
|
||||
%{_libdir}/pkgconfig/libgit2.pc
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.23.4-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user