Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-c-ares
mingw32-c-ares.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-c-ares.spec of Package mingw32-c-ares
# # spec file for package mingw32-c-ares # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 pkg_name c-ares Name: mingw32-c-ares Version: 1.27.0 Release: 0 Summary: MinGW port of asynchronous name resolver library License: MIT Group: Development/Libraries/C and C++ URL: https://c-ares.org/ Source: https://c-ares.org/download/%{pkg_name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: libtool #!BuildIgnore: post-build-checks BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem %_mingw32_package_header_debug BuildArch: noarch %description c-ares is a C library that performs DNS requests and name resolution asynchronously. %package -n mingw32-libcares2 Summary: Asynchronous name resolution library Group: System/Libraries %description -n mingw32-libcares2 c-ares is a C library that performs DNS requests and name resolution asynchronously. %package devel Summary: Headers for c-ares, an asynchronous name resolution library Group: Development/Libraries/C and C++ Obsoletes: mingw32-libcares2-devel < %{version}-%{release} Provides: mingw32-libcares2-devel = %{version}-%{release} %description devel c-ares is a C library that performs DNS requests and name resolution asynchronously. %_mingw32_debug_package %prep %autosetup -n %{pkg_name}-%{version} %build # I think there's a bug in the configure script where, if # cross-compiling, it cannot correctly determine the target executable # extension (ie. .exe). As a result it doesn't correctly detect that # the target is Windows and so tries to use Unix-specific functions # which don't exist. In any case we can work around this by forcing # the extension via this export. # - RWMJ 2008-09-30 export config_TARGET_EXEEXT=.exe echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} %{_mingw32_configure} --enable-shared --disable-static \ --disable-tcl --disable-readline %{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} %files -n mingw32-libcares2 %{_mingw32_bindir}/libcares-2.dll %files devel %{_mingw32_mandir}/man3/ares_* %{_mingw32_libdir}/libcares.dll.a %{_mingw32_libdir}/pkgconfig/libcares.pc %{_mingw32_includedir}/*.h %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