]> git.pld-linux.org Git - packages/libssh.git/blame - libssh.spec
- doesn't compile with make -j != 1
[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
5deab50c 4Version: 0.2
3d42e4d2 5Release: 1
5deab50c 6Epoch: 1
3d42e4d2 7License: LGPL
8Group: Libraries
9Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
5deab50c 10# Source0-md5: 8a76c03579a3e27046e6bafe88ffd171
3d42e4d2 11URL: http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh
3d42e4d2 12BuildRequires: libmagic-devel
3d42e4d2 13BuildRequires: openssl-devel
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
49%setup -q
3d42e4d2 50
3d42e4d2 51%build
3d42e4d2 52%configure
b4b61522 53%{__make} -j1
3d42e4d2 54
55%install
56rm -rf $RPM_BUILD_ROOT
3d42e4d2 57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT \
60 libdir=%{_libdir}
61
5deab50c 62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
64
3d42e4d2 65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
70%doc README
5deab50c 71%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
3d42e4d2 72
73%files devel
74%defattr(644,root,root,755)
5deab50c 75%{_libdir}/libssh.so
3d42e4d2 76%{_includedir}/*
This page took 0.060536 seconds and 4 git commands to generate.