diff options
author | sparky | 2006-07-06 02:16:23 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 3d42e4d2f6a601587458cceb4ab636f5064c6eb0 (patch) | |
tree | b92986752eb98bb4e2b0a4f4e9b476444b42a5a5 | |
parent | 9cfaf6d0e46e3bb9aa8ae9cb70ca84caf54c7e51 (diff) | |
download | libssh-3d42e4d2f6a601587458cceb4ab636f5064c6eb0.zip libssh-3d42e4d2f6a601587458cceb4ab636f5064c6eb0.tar.gz |
- NEW, by Jacek 'jackass' Brzozowski <metallowiec@op.pl>
- fixed for lib64
Changed files:
libssh.spec -> 1.1
-rw-r--r-- | libssh.spec | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/libssh.spec b/libssh.spec new file mode 100644 index 0000000..2b0a9f6 --- /dev/null +++ b/libssh.spec @@ -0,0 +1,86 @@ +Summary: Library implementing the SSH protocol +Summary(pl): Biblioteka implementująca protokół SSH +Name: libssh +Version: 0.11 +Release: 1 +License: LGPL +Group: Libraries +Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz +# Source0-md5: ad703c4702646c83ca4fcace92c220d3 +Patch0: %{name}-makefile.patch +URL: http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: intltool +BuildRequires: libmagic-devel +BuildRequires: libtool +BuildRequires: openssl-devel +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The ssh library was designed to be used by programmers needing a +working SSH implementation by the mean of a library. The complete +control of the client is made by the programmer. With libssh, you can +remotely execute programs, transfer files, use a secure and +transparent tunnel for your remote programs. With its Secure FTP +implementation, you can play with remote files easily, without +third-party programs others than libcrypto (from openssl). + +%description -l pl +Biblioteka ssh została zaprojektowana do używania przez programistów +potrzebujących działającej implementacji SSH w postaci biblioteki. Za +pomocą libssh można przesyłać pliki, zdalnie uruchamiać programy bądź +też tworzyć na ich potrzeby bezpieczne i przezroczyste tunele. Dzięki +zawartej implementacji protokołu Secure FTP programista ma możliwość +łatwego wykonywania operacji na zdalnych plikach bez konieczności +korzystania z dodatkowego zewnętrznego oprogramowania poza biblioteką +libcrypto (pakiet openssl). + +%package devel +Summary: Header files for libssh library +Summary(pl): Pliki nagłówkowe biblioteki libssh +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libssh library. + +%description devel -l pl +Pliki nagłówkowe biblioteki libssh. + +%prep +%setup -q +%patch0 -p1 + +mkdir po + +%build +%{__intltoolize} +%{__gettextize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + libdir=%{_libdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%attr(755,root,root) %{_libdir}/lib*.so + +%files devel +%defattr(644,root,root,755) +%{_includedir}/* |