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