Użytkownik Daniel Mróz napisał:

>Ja bym utworzył katalog "po" zaraz po dekompresji źródeł.
>
>  
>
nie wiem czy o to chodziło.
# $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 library zasta³a zaprojektowana do u¿wania przez
programistów potrzebuj±ych pracowaæ z implementacj± SSH.

%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/libssh/

%{__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)
%attr(755,root,root) %{_libdir}/lib*.so
%{_includedir}/*

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: libssh.spec,v $


_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym