openspace.spec
Jacek 'jackass' Brzozowski
metallowiec at op.pl
Sat Jun 10 23:36:42 CEST 2006
Użytkownik Stefan Szczygielski napisał:
>
>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).
>
>Jeszcze lepiej. Dwa razy korzystania nieładnie brzmiało.
>
>S. ;)
>
>
>
jeszcze lepiej :) a więc jeszcze raz poprawiony libssh
jeżeli nie ma więcej błędów to proszę o commit
-------------- next part --------------
# $Revision: $, $Date: $
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%{_prefix}/lib
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%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}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: libssh.spec,v $
-------------- next part --------------
--- libssh-0.11/Makefile.in~ 2005-03-04 20:54:59.000000000 +0100
+++ libssh-0.11/Makefile.in 2006-05-27 18:30:21.000000000 +0200
@@ -37,10 +37,6 @@
mkdir $(DISTLIB)
cp Makefile.in configure.in configure config.h.in install-sh \
mkinstalldirs config.sub config.guess $(DISTLIB)
- mkdir $(DISTLIB)/libssh
- mkdir $(DISTLIB)/include
- mkdir $(DISTLIB)/include/libssh
- mkdir $(DISTLIB)/doc
cp libssh/Makefile.in $(DISTLIB)/libssh/
cp libssh/*.c $(DISTLIB)/libssh/
cp include/libssh/libssh.h include/libssh/sftp.h \
@@ -55,12 +51,12 @@
(cd $$dir && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
- $(top_srcdir)/mkinstalldirs $(incldir)/libssh
- $(INSTALL) include/libssh/libssh.h $(incldir)/libssh/
- $(INSTALL) include/libssh/config.h $(incldir)/libssh/
- $(INSTALL) include/libssh/sftp.h $(incldir)/libssh/
- $(INSTALL) include/libssh/crypto.h $(incldir)/libssh/
- $(INSTALL) include/libssh/server.h $(incldir)/libssh/
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)/libssh
+ $(INSTALL) include/libssh/libssh.h $(DESTDIR)$(incldir)/libssh/
+ $(INSTALL) include/libssh/config.h $(DESTDIR)$(incldir)/libssh/
+ $(INSTALL) include/libssh/sftp.h $(DESTDIR)$(incldir)/libssh/
+ $(INSTALL) include/libssh/crypto.h $(DESTDIR)$(incldir)/libssh/
+ $(INSTALL) include/libssh/server.h $(DESTDIR)$(incldir)/libssh/
clean:
/bin/rm -f *~ *.o ssh sftp
@for dir in ${subdirs}; do \
--- libssh-0.11/libssh/Makefile.in~ 2006-05-27 12:40:30.000000000 +0200
+++ libssh-0.11/libssh/Makefile.in 2006-05-27 12:42:55.000000000 +0200
@@ -35,7 +35,7 @@
install: all
$(top_srcdir)/mkinstalldirs $(incldir)
$(top_srcdir)/mkinstalldirs $(libdir)
- $(INSTALL) libssh.$(DYLIB_EXTENSION) $(libdir)
+ $(INSTALL) libssh.$(DYLIB_EXTENSION) $(DESTDIR)$(libdir)
clean:
rm -f *~ libssh.a libssh.so *.o
distclean: clean
More information about the pld-devel-pl
mailing list