/[packages]/cauldron/libssh2/current/SPECS/libssh2.spec
ViewVC logotype

Diff of /cauldron/libssh2/current/SPECS/libssh2.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1378822 by umeabot, Sun Sep 23 15:44:29 2018 UTC revision 1378823 by daviddavid, Tue Mar 19 12:09:03 2019 UTC
# Line 1  Line 1 
1  %define rname libssh2  %define rname           libssh2
2    
3  %define major 1  %define major           1
4  %define libname %mklibname ssh2_ %{major}  %define libname         %mklibname ssh2_ %{major}
5  %define develname %mklibname ssh2 -d  %define develname       %mklibname ssh2 -d
6    
7  Summary:        A library implementing the SSH2 protocol  Summary:        A library implementing the SSH2 protocol
8  Name:           %{rname}  Name:           %{rname}
9  Version:        1.8.0  Version:        1.8.1
10  Release:        %mkrel 2  Release:        %mkrel 1
11  Group:          System/Libraries  Group:          System/Libraries
12  License:        BSD  License:        BSD
13  URL:            http://www.libssh2.org/  URL:            http://www.libssh2.org/
14  Source0:        http://www.libssh2.org/download/%{rname}-%{version}.tar.gz  Source0:        http://www.libssh2.org/download/%{rname}-%{version}.tar.gz
15  Source1:        http://www.libssh2.org/download/%{rname}-%{version}.tar.gz.asc  Source1:        http://www.libssh2.org/download/%{rname}-%{version}.tar.gz.asc
16  BuildRequires:  pkgconfig  BuildRequires:  pkgconfig
17  BuildRequires:  pkgconfig(openssl)  BuildRequires:  pkgconfig(openssl) >= 1.1
18  BuildRequires:  pkgconfig(zlib)  BuildRequires:  pkgconfig(zlib)
19  BuildRequires:  libtool  BuildRequires:  libtool
20    
# Line 54  This package contains the static %{rname Line 54  This package contains the static %{rname
54  %build  %build
55  %serverbuild  %serverbuild
56  %configure2_5x \  %configure2_5x \
57        --disable-static \
58      --without-libgcrypt-prefix \      --without-libgcrypt-prefix \
59      --with-openssl=%{_prefix} \      --with-openssl=%{_prefix} \
60      --with-libz=%{_prefix}      --with-libz=%{_prefix}
61    
62  %make  %make_build
63  # The SSH test will fail if we don't have /dev/tty,  # The SSH test will fail if we don't have /dev/tty,
64  if [ ! -c /dev/tty ]; then  if [ ! -c /dev/tty ]; then
65          echo Skipping SSH test due to missing /dev/tty          echo Skipping SSH test due to missing /dev/tty
# Line 72  echo "exit 0" > tests/ssh2.sh Line 73  echo "exit 0" > tests/ssh2.sh
73  make -C tests check  make -C tests check
74    
75  %install  %install
76  %makeinstall_std  %make_install
77    
78    find %{buildroot} -name '*.la' -delete
79    
80  %files -n %{libname}  %files -n %{libname}
81  %doc COPYING ChangeLog NEWS README  %doc COPYING ChangeLog NEWS README
# Line 81  make -C tests check Line 84  make -C tests check
84  %files -n %{develname}  %files -n %{develname}
85  %{_includedir}/*  %{_includedir}/*
86  %{_libdir}/*.so  %{_libdir}/*.so
 %{_libdir}/*.a  
 %{_libdir}/*.la  
87  %{_mandir}/man3/*  %{_mandir}/man3/*
88  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc

Legend:
Removed from v.1378822  
changed lines
  Added in v.1378823

  ViewVC Help
Powered by ViewVC 1.1.30