From 51c541d2c56010d84d398e432b750b6d66bfb66b Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Jan 15 2010 02:23:27 +0000 Subject: - correct bad file entry under -devel --- diff --git a/libssh2.spec b/libssh2.spec index 380e41d..7e913b3 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -1,18 +1,16 @@ Name: libssh2 -Version: 1.2 +Version: 1.2.2 Release: 2%{?dist} Summary: A library implementing the SSH2 protocol Group: System Environment/Libraries License: BSD -URL: http://www.libssh2.org/ -Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz +URL: http://www.libssh2.org +Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: transport_c_7a9d369.patch - BuildRequires: openssl-devel -BuildRequires: zlib-devel +BuildRequires: zlib-devel %description libssh2 is a library implementing the SSH2 protocol as defined by @@ -30,10 +28,11 @@ Requires: %{name} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package docs +%package docs Summary: Documentation for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: pkgconfig %description docs The %{name}-docs package contains man pages and examples for @@ -42,7 +41,6 @@ developing applications that use %{name}. %prep %setup -q -%patch0 -p1 # make sure things are UTF-8... for i in ChangeLog NEWS ; do @@ -60,15 +58,15 @@ make %{?_smp_mflags} rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" -find %{buildroot} -name '*.la' -exec rm -f {} + +find %{buildroot} -name '*.la' -exec rm -f {} + # clean things up a bit for packaging ( cd example && make clean ) -rm -rf example/simple/.deps +rm -rf example/simple/.deps find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} + %check -# tests are currently not doing so well under rpmbuild +# tests are currently not doing so well under rpmbuild #(cd tests && make check) %clean @@ -92,11 +90,20 @@ rm -rf %{buildroot} %files devel %defattr(-,root,root,-) -%doc COPYING +%doc COPYING %{_includedir}/* %{_libdir}/*.so +%{_libdir}/pkgconfig/* %changelog +* Thu Jan 14 2010 Chris Weyl 1.2.2-2 +- correct bad file entry under -devel + +* Thu Jan 14 2010 Chris Weyl 1.2.2-1 +- update to 1.2.2 +- drop old patch now in upstream +- add new pkgconfig file to -devel + * Mon Sep 21 2009 Chris Weyl 1.2-2 - patch based on 683aa0f6b52fb1014873c961709102b5006372fc - disable tests (*sigh*) diff --git a/sources b/sources index 71db5eb..9919209 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -751f4b5b5d8091f84cfe25fa52226cf9 libssh2-1.2.tar.gz +fa8d9cd425bdd62f57244fc61fb54da7 libssh2-1.2.2.tar.gz