[packages/libiscsi] - up to 1.10.0 - updated files - drop .la, pkgconfig is now available

baggins baggins at pld-linux.org
Mon Mar 24 17:44:40 CET 2014


commit b773584b270fea846081c89bba0ea49f31d99b61
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 24 17:43:57 2014 +0100

    - up to 1.10.0
    - updated files
    - drop .la, pkgconfig is now available

 libiscsi.spec | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/libiscsi.spec b/libiscsi.spec
index 7c495c1..1766f43 100644
--- a/libiscsi.spec
+++ b/libiscsi.spec
@@ -1,20 +1,20 @@
 Summary:	Clientside library to implement the iSCSI protocol
 Summary(pl.UTF-8):	Biblioteka kliencka implementująca protokół iSCSI
 Name:		libiscsi
-Version:	1.6.0
+Version:	1.10.0
 Release:	1
 License:	LGPL v2.1+ (library), GPL v2+ (tools)
 Group:		Libraries
 #Source0Download: https://github.com/sahlberg/libiscsi/downloads
-Source0:	https://github.com/downloads/sahlberg/libiscsi/%{name}-%{version}.tar.gz
-# Source0-md5:	a97cd1a1c10fc3a0e0b5c8121fab27d1
+Source0:	https://github.com/sahlberg/libiscsi/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
+# Source0-md5:	650266b18b2516d32a5a0aa8027e06d3
 URL:		https://github.com/sahlberg/libiscsi
 BuildRequires:	popt-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Libiscsi is a clientside library to implement the iSCSI protocol
-that can be used to access resource of an iSCSI Target.
+Libiscsi is a clientside library to implement the iSCSI protocol that
+can be used to access resource of an iSCSI Target.
 
 The library is fully async with regards to iSCSC commands and SCSI
 tasks, but a sync layer is also provided for ease of use for simpler
@@ -66,13 +66,18 @@ A handful of useful iSCSI utilities, such as logging in to and
 enumerating all targets on a portal and all devices of a target.
 
 %description tools -l pl.UTF-8
-Zestaw przydatnych narzędzi iSCSI, takich jak logowanie czy
-listowanie wszystkich celów oraz urządzeń.
+Zestaw przydatnych narzędzi iSCSI, takich jak logowanie czy listowanie
+wszystkich celów oraz urządzeń.
 
 %prep
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -82,6 +87,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libiscsi.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -93,13 +100,13 @@ rm -rf $RPM_BUILD_ROOT
 # COPYING specifies some details, doesn't contain LGPL/GPL text
 %doc COPYING README TODO
 %attr(755,root,root) %{_libdir}/libiscsi.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libiscsi.so.1
+%attr(755,root,root) %ghost %{_libdir}/libiscsi.so.3
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libiscsi.so
-%{_libdir}/libiscsi.la
 %{_includedir}/iscsi
+%{_pkgconfigdir}/libiscsi.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -110,3 +117,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/iscsi-inq
 %attr(755,root,root) %{_bindir}/iscsi-ls
 %attr(755,root,root) %{_bindir}/ld_iscsi.so
+%attr(755,root,root) %{_bindir}/iscsi-readcapacity16
+%attr(755,root,root) %{_bindir}/iscsi-swp
+%{_mandir}/man1/iscsi-inq.1*
+%{_mandir}/man1/iscsi-ls.1*
+%{_mandir}/man1/iscsi-swp.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libiscsi.git/commitdiff/b773584b270fea846081c89bba0ea49f31d99b61



More information about the pld-cvs-commit mailing list