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