Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-libproxy
mingw32-libproxy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-libproxy.spec of Package mingw32-libproxy
# # spec file for package mingw32-libproxy # # 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/ # Name: mingw32-libproxy Version: 0.4.6 Release: 0 Summary: Libproxy provides consistent proxy configuration to applications License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries Url: http://code.google.com/p/libproxy/ Source: libproxy-%{version}.tar.gz Patch0: libproxy-0.4.6-windows.patch Patch1: libproxy-0.4.6-pkgconfig.patch Patch2: libproxy-0.4.6-gcc6.patch BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-filesystem BuildRequires: mingw32-libmodman-devel %_mingw32_package_header_debug BuildArch: noarch #!BuildIgnore: post-build-checks %description libproxy offers the following features: * extremely small core footprint (< 35K) * no external dependencies within libproxy core (libproxy modules may have dependencies) * only 3 functions in the stable external API * dynamic adjustment to changing network topology * a standard way of dealing with proxy settings across all scenarios %package devel Summary: Libproxy provides consistent proxy configuration to applications - Development Files Group: System/Libraries %description devel libproxy offers the following features: * extremely small core footprint (< 35K) * no external dependencies within libproxy core (libproxy modules may have dependencies) * only 3 functions in the stable external API * dynamic adjustment to changing network topology * a standard way of dealing with proxy settings across all scenarios %package tools Summary: A simple application using libproxy Group: System/Libraries %description tools A simple application that will use libproxy to give the results you can expect from other applications. It can be used to debug what would happen in various cases. %_mingw32_debug_package %prep %setup -q -n libproxy-%{version} %patch -P 0 -p1 -b .windows %patch -P 1 -p1 -b .pkgconfig %patch -P 2 -p1 -b .gcc6 %build rm -rf CMakeCache.txt MINGW32_CXXFLAGS="%_mingw32_cxxflags -std=c++11 -DWIN32" %{_mingw32_cmake} \ -DCMAKE_RC_COMPILER="%{_bindir}/%{_mingw32_windres}" \ -DSHARE_INSTALL_DIR=%{_mingw32_datadir} \ -DBIN_INSTALL_DIR=%{_mingw32_bindir} \ -DCMAKE_MODULE_PATH=%{_mingw32_datadir}/cmake/Modules \ -DWITH_PERL=OFF -DWITH_PYTHON=OFF -DWITH_DOTNET=OFF -DWITH_VALA=OFF . %{_mingw32_cmake_build} %install %{_mingw32_cmake_install} mv %{buildroot}%{_mingw32_libdir}/liblibproxy.dll.a \ %{buildroot}%{_mingw32_libdir}/libproxy.dll.a mkdir -p %{buildroot}%{_mingw32_bindir} mv %{buildroot}%{_mingw32_libdir}/*.dll \ %{buildroot}%{_mingw32_bindir} %files %defattr(-,root,root) %{_mingw32_bindir}/libproxy.dll %files devel %defattr(-,root,root) %{_mingw32_libdir}/libproxy.dll.a %{_mingw32_libdir}/pkgconfig/libproxy-1.0.pc %{_mingw32_includedir}/proxy.h %{_mingw32_datadir}/cmake/Modules/Findlibproxy.cmake %files tools %defattr(-,root,root) %{_mingw32_bindir}/proxy.exe %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