rpms/libssh/F-11 libssh-0.2-libdir.patch, NONE, 1.1 libssh.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jan F. Chadima jfch2222 at fedoraproject.org
Thu Jun 4 13:16:03 UTC 2009


Author: jfch2222

Update of /cvs/pkgs/rpms/libssh/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3128/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	libssh-0.2-libdir.patch libssh.spec 
Log Message:
Initial import


libssh-0.2-libdir.patch:

--- NEW FILE libssh-0.2-libdir.patch ---
diff -up libssh-0.2/libssh/Makefile.in.libdir libssh-0.2/libssh/Makefile.in
--- libssh-0.2/libssh/Makefile.in.libdir	2009-06-01 17:36:23.726517145 +0200
+++ libssh-0.2/libssh/Makefile.in	2009-06-01 17:37:31.506349284 +0200
@@ -15,7 +15,7 @@ exec_prefix = @exec_prefix@
 bindir = $(exec_prefix)/bin
 incldir= $(prefix)/include
 infodir = $(prefix)/info
-libdir = $(prefix)/lib/
+libdir = @libdir@
 mandir = $(prefix)/man/man1
 
 CC = @CC@


--- NEW FILE libssh.spec ---
Name:           libssh
Version:        0.2 
Release:        2%{?dist}
Summary:        A library implementing the SSH2 protocol (0xbadc0de version)

Group:          System Environment/Libraries
License:        LGPLv2+
URL:            http://0xbadc0de.be/?part=libssh
Source0:        http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
Patch0:         libssh-0.2-libdir.patch
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  openssl-devel
BuildRequires:  zlib-devel   

%description
The SSH library with
-Full C library functions for manipulating a client-side SSH connection                                                                     
-Fully configurable sessions                                                                                                                
-Support for AES-128,AES-192,AES-256,blowfish, in cbc mode                                                                                  
-use multiple SSH connections in a same process, at same time.                                                                              
-usable SFTP implementation                                                                                                                 
-Public key and password authentication                                                                                                     

%package devel
Summary:         Development files for %{name}
Group:           Development/Libraries
Requires:         %{name} = %{version}-%{release}

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q
%patch0 -p1 -b .libdir

%build
%configure --disable-static --enable-shared
make # doesn't build with %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} + 
chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/*

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG COPYING README
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so

%changelog
* Tue Jun 02 2009 Jan F. Chadima <jchadima at redhat.com> - 0.2-2
- Small changes during review

* Mon Jun 01 2009 Jan F. Chadima <jchadima at redhat.com> - 0.2-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libssh/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Jun 2009 17:17:28 -0000	1.1
+++ .cvsignore	4 Jun 2009 13:15:32 -0000	1.2
@@ -0,0 +1 @@
+libssh-0.2.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libssh/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Jun 2009 17:17:28 -0000	1.1
+++ sources	4 Jun 2009 13:15:32 -0000	1.2
@@ -0,0 +1 @@
+8a76c03579a3e27046e6bafe88ffd171  libssh-0.2.tgz




More information about the fedora-extras-commits mailing list