1 Summary: Clientside library to implement the iSCSI protocol
2 Summary(pl.UTF-8): Biblioteka kliencka implementująca protokół iSCSI
6 License: LGPL v2.1+ (library), GPL v2+ (tools)
8 Source0: https://github.com/downloads/sahlberg/libiscsi/%{name}-%{version}.tar.gz
9 # Source0-md5: 53d0fc75c4d0e8db9344aa2565421930
10 URL: https://github.com/sahlberg/libiscsi
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Libiscsi is a clientside library to implement the iSCSI protocol
15 that can be used to access resource of an iSCSI Target.
17 The library is fully async with regards to iSCSC commands and SCSI
18 tasks, but a sync layer is also provided for ease of use for simpler
21 %description -l pl.UTF-8
22 Libiscsi to biblioteka kliencka implementująca protokół iSCSI. Można
23 jej używać do dostępu do zasobów na celu iSCSI (iSCSI Target).
25 Biblioteka jest w pełni asynchroniczna względem poleceń iSCSI i zadań
26 SCSI, ale dostępna jest także warstwa synchroniczna ułatwiająca użycie
27 w prostszych zastosowaniach.
30 Summary: Header files for %{name} library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Header files for %{name} library.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki %{name}.
43 Summary: Static %{name} library
44 Summary(pl.UTF-8): Statyczna biblioteka %{name}
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static %{name} library.
52 %description static -l pl.UTF-8
53 Statyczna biblioteka %{name}.
56 Summary: A handful of useful iSCSI utilities
57 Summary(pl.UTF-8): Zestaw przydatnych narzędzi iSCSI
59 Group: Applications/System
60 Requires: %{name} = %{version}-%{release}
63 A handful of useful iSCSI utilities, such as logging in to and
64 enumerating all targets on a portal and all devices of a target.
66 %description tools -l pl.UTF-8
67 Zestaw przydatnych narzędzi iSCSI, takich jak logowanie czy
68 listowanie wszystkich celów oraz urządzeń.
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libiscsi.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libiscsi.so.1
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libiscsi.so
98 %{_libdir}/libiscsi.la
102 %defattr(644,root,root,755)
103 %{_libdir}/libiscsi.a
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_bindir}/iscsi-inq
108 %attr(755,root,root) %{_bindir}/iscsi-ls
109 %attr(755,root,root) %{_bindir}/ld_iscsi.so