Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-libgit2
mingw64-libgit2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-libgit2.spec of Package mingw64-libgit2
# # spec file for package mingw64-libgit2 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _basename libgit2 Name: mingw64-%{_basename} Version: 0.22.2 Release: 0 #!BuildIgnore: post-build-checks Summary: C git library License: GPL-2.0-with-GCC-exception Group: Development/Libraries/C and C++ Url: http://libgit2.github.com/ Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz Patch0: libgit2-0.21.2-ssp.patch Patch1: libgit2-0.22.2-mingw.patch BuildRequires: mingw64-cross-cmake BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem BuildRequires: mingw64-zlib-devel BuildRequires: mingw64-libopenssl-devel BuildRequires: mingw64-libssh2-devel BuildRequires: python-base %_mingw64_package_header_debug BuildArch: noarch %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 Summary: C git library Group: Development/Libraries/C and C++ Requires: %name = %version Requires: mingw64-libopenssl-devel %description devel This package contains all necessary include files and libraries needed to compile and develop applications that use libgit2. %_mingw64_debug_package %prep %setup -q -n %{_basename}-%{version} %patch -P 0 -p1 %patch -P 1 -p1 %build %{_mingw64_cmake} \ -DTHREADSAFE:BOOL=ON \ -DUSE_SSH:BOOL=ON \ -DWIN32:BOOL=ON \ -DMINGW:BOOL=ON %{_mingw64_cmake_build} %install %{_mingw64_cmake_install} %files %defattr (-,root,root) %doc AUTHORS COPYING README.md %{_mingw64_bindir}/%{_basename}.dll %files devel %defattr (-,root,root) %doc examples %{_mingw64_libdir}/%{_basename}.dll.a %{_mingw64_includedir}/git2* %{_mingw64_libdir}/pkgconfig/libgit2.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor