]>
Commit | Line | Data |
---|---|---|
3d42e4d2 | 1 | Summary: Library implementing the SSH protocol |
5f7c7686 | 2 | Summary(pl.UTF-8): Biblioteka implementująca protokół SSH |
3d42e4d2 | 3 | Name: libssh |
4 | Version: 0.11 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Libraries | |
8 | Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz | |
9 | # Source0-md5: ad703c4702646c83ca4fcace92c220d3 | |
10 | Patch0: %{name}-makefile.patch | |
11 | URL: http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
3d42e4d2 | 14 | BuildRequires: libmagic-devel |
3d42e4d2 | 15 | BuildRequires: openssl-devel |
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 | ||
5f7c7686 JR |
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ą | |
3d42e4d2 | 36 | libcrypto (pakiet openssl). |
37 | ||
38 | %package devel | |
39 | Summary: Header files for libssh library | |
5f7c7686 | 40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh |
3d42e4d2 | 41 | Group: Development/Libraries |
42 | Requires: %{name} = %{version}-%{release} | |
43 | ||
44 | %description devel | |
45 | Header files for libssh library. | |
46 | ||
5f7c7686 JR |
47 | %description devel -l pl.UTF-8 |
48 | Pliki nagłówkowe biblioteki libssh. | |
3d42e4d2 | 49 | |
50 | %prep | |
51 | %setup -q | |
52 | %patch0 -p1 | |
53 | ||
3d42e4d2 | 54 | %build |
b0873ee2 | 55 | cp -f /usr/share/automake/config.* . |
3d42e4d2 | 56 | %{__autoconf} |
57 | %{__autoheader} | |
58 | %configure | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | install -d $RPM_BUILD_ROOT%{_libdir} | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT \ | |
67 | libdir=%{_libdir} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc README | |
75 | %attr(755,root,root) %{_libdir}/lib*.so | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %{_includedir}/* |