]> git.pld-linux.org Git - packages/libssh.git/blame - libssh.spec
- up to 0.7.3; fixed CVE-2016-0739, CVE-2015-3146
[packages/libssh.git] / libssh.spec
CommitLineData
3d42e4d2 1Summary: Library implementing the SSH protocol
eacbfac0 2Summary(pl.UTF-8): Biblioteka implementująca protokół SSH
3d42e4d2 3Name: libssh
757caa24 4Version: 0.7.3
81014400 5Release: 1
5deab50c 6Epoch: 1
26932d9e 7License: LGPL v2.1+; parts are BSD-licensed
3d42e4d2 8Group: Libraries
b81cb09a
JB
9# dead atm.
10#Source0: https://red.libssh.org/attachments/download/87/%{name}-%{version}.tar.xz
11Source0: https://git.libssh.org/projects/libssh.git/snapshot/%{name}-%{version}.tar.gz
757caa24 12# Source0-md5: 421e7adf7e8b3e22f16c963b85b97b15
411f4352
AG
13URL: http://www.libssh.org/
14BuildRequires: cmake >= 2.6.0
b81cb09a 15BuildRequires: heimdal-devel
411f4352 16BuildRequires: openssl-devel >= 0.9.8
1687778b 17BuildRequires: rpmbuild(macros) >= 1.600
3d42e4d2 18BuildRequires: zlib-devel
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22The ssh library was designed to be used by programmers needing a
23working SSH implementation by the mean of a library. The complete
24control of the client is made by the programmer. With libssh, you can
25remotely execute programs, transfer files, use a secure and
26transparent tunnel for your remote programs. With its Secure FTP
27implementation, you can play with remote files easily, without
28third-party programs others than libcrypto (from openssl).
29
5f7c7686
JR
30%description -l pl.UTF-8
31Biblioteka ssh została zaprojektowana do używania przez programistów
32potrzebujących działającej implementacji SSH w postaci biblioteki. Za
33pomocą libssh można przesyłać pliki, zdalnie uruchamiać programy bądź
34też tworzyć na ich potrzeby bezpieczne i przezroczyste tunele. Dzięki
35zawartej implementacji protokołu Secure FTP programista ma możliwość
36łatwego wykonywania operacji na zdalnych plikach bez konieczności
37korzystania z dodatkowego zewnętrznego oprogramowania poza biblioteką
3d42e4d2 38libcrypto (pakiet openssl).
39
40%package devel
41Summary: Header files for libssh library
eacbfac0 42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh
3d42e4d2 43Group: Development/Libraries
5deab50c 44Requires: %{name} = %{epoch}:%{version}-%{release}
3d42e4d2 45
46%description devel
47Header files for libssh library.
48
5f7c7686
JR
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki libssh.
3d42e4d2 51
52%prep
e27e5035 53%setup -q
3d42e4d2 54
3d42e4d2 55%build
0d5dc366 56install -d build
411f4352 57cd build
26932d9e
JB
58%cmake .. \
59 -DWITH_SSH1=ON
411f4352
AG
60
61%{__make}
3d42e4d2 62
63%install
64rm -rf $RPM_BUILD_ROOT
3d42e4d2 65
0d5dc366 66%{__make} -C build install \
3d42e4d2 67 DESTDIR=$RPM_BUILD_ROOT \
68 libdir=%{_libdir}
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
26932d9e
JB
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
3d42e4d2 76%files
77%defattr(644,root,root,755)
26932d9e
JB
78%doc AUTHORS BSD ChangeLog README
79%attr(755,root,root) %{_libdir}/libssh.so.*.*.*
80%attr(755,root,root) %ghost %{_libdir}/libssh.so.4
81%attr(755,root,root) %{_libdir}/libssh_threads.so.*.*.*
82%attr(755,root,root) %ghost %{_libdir}/libssh_threads.so.4
3d42e4d2 83
84%files devel
85%defattr(644,root,root,755)
26932d9e
JB
86%attr(755,root,root) %{_libdir}/libssh.so
87%attr(755,root,root) %{_libdir}/libssh_threads.so
bc97a6a9 88%{_includedir}/libssh
26932d9e
JB
89%{_pkgconfigdir}/libssh.pc
90%{_pkgconfigdir}/libssh_threads.pc
b81cb09a 91%{_libdir}/cmake/libssh
This page took 0.062052 seconds and 4 git commands to generate.