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