]> git.pld-linux.org Git - packages/libssh.git/blame_incremental - libssh.spec
- release 3 (by relup.sh)
[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.7.5
5Release: 3
6Epoch: 1
7License: LGPL v2.1+; parts are BSD-licensed
8Group: Libraries
9#Source0Download: https://red.libssh.org/projects/libssh/files
10#Source0: https://red.libssh.org/attachments/download/218/%{name}-%{version}.tar.xz
11# (used temporarily, when red.libssh.org was down)
12Source0: https://git.libssh.org/projects/libssh.git/snapshot/%{name}-%{version}.tar.bz2
13# Source0-md5: 8f044c07902cd3de3e363faa78681772
14URL: http://www.libssh.org/
15BuildRequires: cmake >= 2.6.0
16BuildRequires: heimdal-devel
17BuildRequires: openssl-devel >= 0.9.8
18BuildRequires: rpmbuild(macros) >= 1.600
19BuildRequires: zlib-devel
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
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ą
39libcrypto (pakiet openssl).
40
41%package devel
42Summary: Header files for libssh library
43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh
44Group: Development/Libraries
45Requires: %{name} = %{epoch}:%{version}-%{release}
46
47%description devel
48Header files for libssh library.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki libssh.
52
53%prep
54%setup -q
55
56%build
57install -d build
58cd build
59%cmake .. \
60 -DWITH_SSH1=ON
61
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} -C build install \
68 DESTDIR=$RPM_BUILD_ROOT \
69 libdir=%{_libdir}
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
77%files
78%defattr(644,root,root,755)
79%doc AUTHORS BSD ChangeLog README
80%attr(755,root,root) %{_libdir}/libssh.so.*.*.*
81%attr(755,root,root) %ghost %{_libdir}/libssh.so.4
82%attr(755,root,root) %{_libdir}/libssh_threads.so.*.*.*
83%attr(755,root,root) %ghost %{_libdir}/libssh_threads.so.4
84
85%files devel
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_libdir}/libssh.so
88%attr(755,root,root) %{_libdir}/libssh_threads.so
89%{_includedir}/libssh
90%{_pkgconfigdir}/libssh.pc
91%{_pkgconfigdir}/libssh_threads.pc
92%{_libdir}/cmake/libssh
This page took 0.088765 seconds and 4 git commands to generate.