Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Monitoring
dba-libssh2-143-static
dba-libssh2-143-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-libssh2-143-static.spec of Package dba-libssh2-143-static
%define version 1.4.3 %define vers 143 %define pkg_name libssh2 %define prefix /DBA/%{pkg_name}/%{version} %define maketest 0 Name: dba-%{pkg_name}-%{vers}-static Summary: A library implementing the SSH2 protocol Version: %{version} Release: 1 Group: Development/Libraries Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/%{pkg_name}-%{version}.tar.gz Source1: filter-provides.sh Source2: %{pkg_name}-rpmlintrc URL: http://www.libssh2.org/ License: BSD BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _use_internal_dependency_generator 0 %define __find_provides %{SOURCE1} %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: openssl-devel zlib-devel pkgconfig %if 0%{?centos_version} || 0%{?rhel_version} BuildRequires: which libtool %if 0%{?rhel_version} == 406 BuildRequires: gcc-c++ %endif %endif %if 0%{?suse_version} >= 1200 BuildRequires: libtool %endif %description libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10). %prep %setup -q -n %{pkg_name}-%{version} %{__chmod} +x %{SOURCE1} %if 0%{?suse_version} <= 1100 %{__rm} -f m4/libtool.m4 %{__rm} -f m4/ltoptions.m4 %{__rm} -f m4/ltsugar.m4 %{__rm} -f m4/ltversion.m4 %{__rm} -f m4/lt~obsolete.m4 %endif %build ./buildconf --force ./configure \ --prefix=%{prefix} \ --enable-static --disable-shared --with-pic --disable-rpath --with-libz=%{_usr} --with-openssl=%{_usr} %install %{__make} install DESTDIR=%{buildroot} find %{buildroot}%{prefix} -name "*.old" -o -name "*.la" |xargs -i rm -f {} %post # add pc file to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e libssh2.pc ]; then %{__rm} -f libssh2.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/libssh2.pc . fi %check %if %maketest %{__make} check %endif %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Mon Nov 25 2013 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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