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