X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libssh2%2Fmingw32-libssh2.spec;h=7f00ccfb5d87f2205a9cff553703f3b33a1c9683;hb=b5b5a8177d7e9f3dae1a253381200b866c829605;hp=1a63774d37d9bcfc55b55c125f4350b220312258;hpb=f5fb0d87bb47b6a323131a45dea1e19c8718ce71;p=fedora-mingw.git diff --git a/libssh2/mingw32-libssh2.spec b/libssh2/mingw32-libssh2.spec index 1a63774..7f00ccf 100644 --- a/libssh2/mingw32-libssh2.spec +++ b/libssh2/mingw32-libssh2.spec @@ -6,7 +6,7 @@ Name: mingw32-libssh2 Version: 0.18 -Release: 5%{?dist} +Release: 6%{?dist} 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). +%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} @@ -55,7 +64,7 @@ autoreconf %build -%{_mingw32_configure} --disable-static --enable-shared +%{_mingw32_configure} --enable-static --enable-shared make %{?_smp_mflags} @@ -72,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root) +%defattr(-,root,root,-) %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 +%files static +%defattr(-,root,root,-) +%{_mingw32_libdir}/libssh2.a + %changelog +* Fri Apr 3 2009 Erik van Pienbroek - 0.18-6 +- Added -static subpackage +- Fixed %%defattr line + * Fri Feb 20 2009 Richard W.M. Jones - 0.18-5 - Rebuild for mingw32-gcc 4.4