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