Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-udtgate-15
dba-udtgate-15.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-udtgate-15.spec of Package dba-udtgate-15
%define real_name udtgate %define version 1.5 %define vers 15 %define maketest 0 %define prefix /DBA/%{real_name}/%{version} Name: dba-%{real_name}-%{vers} Summary: UDP data transfer gateway Version: %{version} Release: 1 License: yes URL: http://http://sourceforge.net/projects/udtgate Group: Productivity/Networking/Other Source0: http://downloads.sourceforge.net/project/udtgate/udtgate/udtgate-1.5-fix2/udtgate-1.5-fix2.tar.gz Source1: http://downloads.sourceforge.net/project/udt/udt/4.11/udt.sdk.4.11.tar.gz BuildRoot: %{_tmppath}/%{real_name}-%{version}-build Patch0: cstring-udtgate.patch Patch1: cstring-udt4.patch BuildRequires: gcc-c++ #%if 0%{?fedora_version} || 0%{?centos_version} >= 501 || 0%{?rhel_version} >= 501 #BuildRequires: xz-devel #%endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif # #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c %description UDPGate is a socks4+tcp gateway for fast (real fast!) transfers across high latency WAN links %prep %setup -b 1 -D -q -n udt4/src %patch1 -p0 # < %{_builddir}/cstring-udt4.patch %setup -b 0 -q -n %{real_name}-%{version}-fix2 %patch0 -p0 # < %{_builddir}/cstring-udtgate.patch %build cd %{_builddir}/udt4/src make -e os=LINUX arch=AMD64 cp -r %{_builddir}/udt4/src %{_builddir}/udt4/include cd %{_builddir}/%{real_name}-%{version}-fix2 export LDFLAGS=-L%{_builddir}/udt4/include ./configure --prefix=%{buildroot}%{prefix} --exec-prefix=%{buildroot}%{prefix} --with-udt=%{_builddir}/udt4 make %install %{__mkdir_p} %{buildroot}%{prefix} make install mkdir -p %{buildroot}%{prefix}/lib cp %{_builddir}/udt4/src/libudt.so %{buildroot}%{prefix}/lib #sed -e 's#%{buildroot}##g' -i %{buildroot}%{prefix}/lib/libminisocks.la #sed -e 's#%{_builddir}##g' -i %{buildroot}%{prefix}/lib/libminisocks.la rm %{buildroot}%{prefix}/lib/libminisocks.la %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root,-) #%dir %{prefix} %{prefix} %changelog * Fri Nov 22 2013 Holger Manthey <holger.manthey@bertelsmann.de> - initial commit
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