]> git.pld-linux.org Git - packages/libssh.git/blob - libssh.spec
- NEW, by Jacek 'jackass' Brzozowski <metallowiec@op.pl>
[packages/libssh.git] / libssh.spec
1 Summary:        Library implementing the SSH protocol
2 Summary(pl):    Biblioteka implementuj±ca protokó³ SSH
3 Name:           libssh
4 Version:        0.11
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
9 # Source0-md5:  ad703c4702646c83ca4fcace92c220d3
10 Patch0:         %{name}-makefile.patch
11 URL:            http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  intltool
15 BuildRequires:  libmagic-devel
16 BuildRequires:  libtool
17 BuildRequires:  openssl-devel
18 BuildRequires:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The ssh library was designed to be used by programmers needing a
23 working SSH implementation by the mean of a library. The complete
24 control of the client is made by the programmer. With libssh, you can
25 remotely execute programs, transfer files, use a secure and
26 transparent tunnel for your remote programs. With its Secure FTP
27 implementation, you can play with remote files easily, without
28 third-party programs others than libcrypto (from openssl).
29
30 %description -l pl
31 Biblioteka ssh zosta³a zaprojektowana do u¿ywania przez programistów
32 potrzebuj±cych dzia³aj±cej implementacji SSH w postaci biblioteki. Za
33 pomoc± libssh mo¿na przesy³aæ pliki, zdalnie uruchamiaæ programy b±d¼
34 te¿ tworzyæ na ich potrzeby bezpieczne i przezroczyste tunele. Dziêki
35 zawartej implementacji protoko³u Secure FTP programista ma mo¿liwo¶æ
36 ³atwego wykonywania operacji na zdalnych plikach bez konieczno¶ci
37 korzystania z dodatkowego zewnêtrznego oprogramowania poza bibliotek±
38 libcrypto (pakiet openssl).
39
40 %package devel
41 Summary:        Header files for libssh library
42 Summary(pl):    Pliki nag³ówkowe biblioteki libssh
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45
46 %description devel
47 Header files for libssh library.
48
49 %description devel -l pl
50 Pliki nag³ówkowe biblioteki libssh.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 mkdir po
57
58 %build
59 %{__intltoolize}
60 %{__gettextize}
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_libdir}
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT \
74         libdir=%{_libdir}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc README
82 %attr(755,root,root) %{_libdir}/lib*.so
83
84 %files devel
85 %defattr(644,root,root,755)
86 %{_includedir}/*
This page took 0.131715 seconds and 3 git commands to generate.