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