- correct bad file entry under -devel
This commit is contained in:
parent
f146d41a0f
commit
51c541d2c5
31
libssh2.spec
31
libssh2.spec
@ -1,18 +1,16 @@
|
|||||||
Name: libssh2
|
Name: libssh2
|
||||||
Version: 1.2
|
Version: 1.2.2
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A library implementing the SSH2 protocol
|
Summary: A library implementing the SSH2 protocol
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.libssh2.org/
|
URL: http://www.libssh2.org
|
||||||
Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz
|
Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Patch0: transport_c_7a9d369.patch
|
|
||||||
|
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libssh2 is a library implementing the SSH2 protocol as defined by
|
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
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description docs
|
%description docs
|
||||||
The %{name}-docs package contains man pages and examples for
|
The %{name}-docs package contains man pages and examples for
|
||||||
@ -42,7 +41,6 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
# make sure things are UTF-8...
|
# make sure things are UTF-8...
|
||||||
for i in ChangeLog NEWS ; do
|
for i in ChangeLog NEWS ; do
|
||||||
@ -60,15 +58,15 @@ make %{?_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
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
|
# clean things up a bit for packaging
|
||||||
( cd example && make clean )
|
( 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 {} +
|
find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} +
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# tests are currently not doing so well under rpmbuild
|
# tests are currently not doing so well under rpmbuild
|
||||||
#(cd tests && make check)
|
#(cd tests && make check)
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -92,11 +90,20 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-2
|
||||||
|
- correct bad file entry under -devel
|
||||||
|
|
||||||
|
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 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 <cweyl@alumni.drew.edu> 1.2-2
|
* Mon Sep 21 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.2-2
|
||||||
- patch based on 683aa0f6b52fb1014873c961709102b5006372fc
|
- patch based on 683aa0f6b52fb1014873c961709102b5006372fc
|
||||||
- disable tests (*sigh*)
|
- disable tests (*sigh*)
|
||||||
|
Loading…
Reference in New Issue
Block a user