git.annexia.org
/
fedora-mingw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build static subpackages (Erik van Pienbroek)
[fedora-mingw.git]
/
libssh2
/
mingw32-libssh2.spec
diff --git
a/libssh2/mingw32-libssh2.spec
b/libssh2/mingw32-libssh2.spec
index
1a63774
..
7f00ccf
100644
(file)
--- a/
libssh2/mingw32-libssh2.spec
+++ b/
libssh2/mingw32-libssh2.spec
@@
-6,7
+6,7
@@
Name: mingw32-libssh2
Version: 0.18
Name: mingw32-libssh2
Version: 0.18
-Release:
5
%{?dist}
+Release:
6
%{?dist}
Summary: MinGW Windows library implementing the SSH2 protocol
License: BSD
Summary: MinGW Windows library implementing the SSH2 protocol
License: BSD
@@
-41,6
+41,15
@@
SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
SECSH-DHGEX(04), and SECSH-NUMBERS(10).
SECSH-DHGEX(04), and SECSH-NUMBERS(10).
+%package static
+Summary: Static version of the MinGW Windows SSH2 library
+Requires: %{name} = %{version}-%{release}
+Group: Development/Libraries
+
+%description static
+Static version of the MinGW Windows SSH2 library.
+
+
%prep
%setup -q -n libssh2-%{version}
%prep
%setup -q -n libssh2-%{version}
@@
-55,7
+64,7
@@
autoreconf
%build
%build
-%{_mingw32_configure} --
dis
able-static --enable-shared
+%{_mingw32_configure} --
en
able-static --enable-shared
make %{?_smp_mflags}
make %{?_smp_mflags}
@@
-72,7
+81,7
@@
rm -rf $RPM_BUILD_ROOT
%files
%files
-%defattr(-,root,root)
+%defattr(-,root,root
,-
)
%doc COPYING
%{_mingw32_bindir}/libssh2-1.dll
%{_mingw32_libdir}/libssh2.dll.a
%doc COPYING
%{_mingw32_bindir}/libssh2-1.dll
%{_mingw32_libdir}/libssh2.dll.a
@@
-82,7
+91,15
@@
rm -rf $RPM_BUILD_ROOT
%{_mingw32_includedir}/libssh2_sftp.h
%{_mingw32_includedir}/libssh2_sftp.h
+%files static
+%defattr(-,root,root,-)
+%{_mingw32_libdir}/libssh2.a
+
%changelog
%changelog
+* Fri Apr 3 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.18-6
+- Added -static subpackage
+- Fixed %%defattr line
+
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 0.18-5
- Rebuild for mingw32-gcc 4.4
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 0.18-5
- Rebuild for mingw32-gcc 4.4