]> git.pld-linux.org Git - packages/libssh.git/blobdiff - libssh.spec
- release 3 (by relup.sh)
[packages/libssh.git] / libssh.spec
index ac3de77d3593dddfe76d5456067651777867fa07..0c9f672514db1c9bd16a7a7a1eb63d8dbbf0e752 100644 (file)
@@ -1,22 +1,22 @@
 Summary:       Library implementing the SSH protocol
 Summary(pl.UTF-8):     Biblioteka implementująca protokół SSH
 Name:          libssh
-Version:       0.4.0
-Release:       0.git.1
+Version:       0.7.5
+Release:       3
 Epoch:         1
-License:       LGPL
+License:       LGPL v2.1+; parts are BSD-licensed
 Group:         Libraries
-#Source0:      http://www.libssh.org/files/%{name}-%{version}.tar.gz
-Source0:       %{name}-%{version}-git.tar.gz
-# Source0-md5: 0c8db6b22944b0d4f50d3d3dbdf646ae
+#Source0Download: https://red.libssh.org/projects/libssh/files
+#Source0:      https://red.libssh.org/attachments/download/218/%{name}-%{version}.tar.xz
+# (used temporarily, when red.libssh.org was down)
+Source0:       https://git.libssh.org/projects/libssh.git/snapshot/%{name}-%{version}.tar.bz2
+# Source0-md5: 8f044c07902cd3de3e363faa78681772
 URL:           http://www.libssh.org/
 BuildRequires: cmake >= 2.6.0
+BuildRequires: heimdal-devel
 BuildRequires: openssl-devel >= 0.9.8
+BuildRequires: rpmbuild(macros) >= 1.600
 BuildRequires: zlib-devel
-BuildRequires: doxygen
-BuildRequires: tetex-dvips
-BuildRequires: tetex-format-latex
-BuildRequires: tetex-makeindex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,18 +51,13 @@ Header files for libssh library.
 Pliki nagłówkowe biblioteki libssh.
 
 %prep
-%setup -q -n %{name}-%{version}-git
+%setup -q
 
 %build
 install -d build
 cd build
-%cmake \
-       -DCMAKE_BUILD_TYPE="Release" \
-       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" == "lib64"
-       -DLIB_SUFFIX=64 \
-%endif
-       ..
+%cmake .. \
+       -DWITH_SSH1=ON
 
 %{__make}
 
@@ -73,19 +68,25 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        libdir=%{_libdir}
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc README
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/lib*.so.?
+%doc AUTHORS BSD ChangeLog README
+%attr(755,root,root) %{_libdir}/libssh.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libssh.so.4
+%attr(755,root,root) %{_libdir}/libssh_threads.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libssh_threads.so.4
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/libssh.so
+%attr(755,root,root) %{_libdir}/libssh.so
+%attr(755,root,root) %{_libdir}/libssh_threads.so
 %{_includedir}/libssh
+%{_pkgconfigdir}/libssh.pc
+%{_pkgconfigdir}/libssh_threads.pc
+%{_libdir}/cmake/libssh
This page took 0.109578 seconds and 4 git commands to generate.