source: projects/specs/trunk/s/sg3_utils/sg3_utils-vl.spec @ 8119

Revision 8119, 7.8 KB checked in by Takemikaduchi, 10 years ago (diff)

rebuild or new upstream release

Line 
1%define rescan_version 1.57
2
3Summary: Utilities for devices that use SCSI command sets
4Summary(ja): SCSIコマンドセットを利用するデバイスのためのユーティリティ
5Name: sg3_utils
6Version: 1.37
7Release: 1%{?_dist_release}
8License: GPLv2+ and BSD
9Group: Applications/System
10Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
11Source1: http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh-%{rescan_version}
12URL: http://sg.danny.cz/sg/
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14Requires: %{name}-libs = %{version}-%{release}
15
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20Collection of Linux utilities for devices that use the SCSI command set.
21Includes utilities to copy data based on "dd" syntax and semantics (called
22sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check
23mode and log pages (sginfo, sg_modes and sg_logs); spin up and down
24disks (sg_start); do self tests (sg_senddiag); and various other functions.
25See the README, CHANGELOG and COVERAGE files. Requires the linux kernel 2.4
26series or later. In the 2.4 series SCSI generic device names (e.g. /dev/sg0)
27must be used. In the 2.6 series other device names may be used as
28well (e.g. /dev/sda).
29
30Warning: Some of these tools access the internals of your system
31and the incorrect usage of them may render your system inoperable.
32
33%package libs
34Summary: Shared library for %{name}
35Summary(ja): %{name} の共有ライブラリ
36Group: System Environment/Libraries
37
38%description libs
39This package contains the shared library for %{name}.
40
41%package devel
42Summary: Development library and header files for the sg3_utils library
43Summary(ja): %{name} ライブラリの開発ファイル
44Group: Development/Libraries
45Requires: %{name}-libs = %{version}-%{release}
46Requires: glibc-headers
47
48%description devel
49This package contains the %{name} library and its header files for
50developing applications.
51
52%prep
53%setup -q
54
55
56%build
57%configure --disable-static
58
59# Don't use rpath!
60sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
61sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
62
63make %{?_smp_mflags}
64
65
66%install
67make install DESTDIR=$RPM_BUILD_ROOT
68rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
69
70install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/rescan-scsi-bus.sh
71
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76
77%post libs -p /sbin/ldconfig
78
79%postun libs -p /sbin/ldconfig
80
81
82%files
83%defattr(-,root,root)
84%doc ChangeLog COVERAGE CREDITS INSTALL README README.sg_start
85%attr(755,root,root) %{_bindir}/*
86%{_mandir}/man8/*
87
88%files libs
89%defattr(-,root,root)
90%{_libdir}/*.so.*
91
92%files devel
93%defattr(-,root,root)
94%{_includedir}/scsi/*.h
95%{_libdir}/*.so
96
97 
98%changelog
99* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.37-1
100- update to 1.37
101
102* Fri May 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.27-2
103- rebuild for Vine 6
104
105* Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.27-1
106- initial build for Vine Linux
107
108* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-2
109- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
110
111* Tue Apr 28 2009 Dan Horák <dan@danny.cz> - 1.27-1
112- update to version 1.27
113- changelog: http://sg.danny.cz/sg/p/sg3_utils.ChangeLog
114
115* Tue Mar 31 2009 Dan Horák <dan@danny.cz> - 1.26-4
116- add dependency between the libs subpackage and the main package (#492921)
117
118* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
119- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
120
121* Mon Nov  3 2008 Dan Horák <dan@danny.cz> - 1.26-2
122- update URL
123- include rescan-scsi-bus script 1.29
124
125* Mon Jun 30 2008 Dan Horák <dan@danny.cz> - 1.26-1
126- update to upstream version 1.26
127
128* Fri Mar 28 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-4
129- Dropped really unnecessary Provides of sg_utils (#226414)
130- Use --disable-static in configure (#226414)
131
132* Thu Mar 27 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-3
133- Specfile cleanup, removal of static development libraries (#226414)
134
135* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.25-2
136- Autorebuild for GCC 4.3
137
138* Mon Oct 22 2007 Phil Knirsch <pknirsch@redhat.com> - 1.25-1
139- Fixed URLs
140- Updated to sg3_utils-1.25
141
142* Thu Aug 16 2007 Phil Knirsch <pknirsch@redhat.com> - 1.23-2
143- License review and update
144
145* Fri Feb 02 2007 Phil Knirsch <pknirsch@redhat.com> - 1.23-1
146- Update to sg3_utils-1.23
147- Updated summary
148
149* Mon Nov 13 2006 Phil Knirsch <pknirsch@redhat.com> - 1.22-1
150- Update to sg3_utils-1.22
151
152* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.20-2.1
153- rebuild
154
155* Wed Jun 07 2006 Phil Knirsch <pknirsch@redhat.com> - 1.20-2
156- Fixed rebuild problem on latest toolchain
157- Added missing buildprereqs
158
159* Fri May 19 2006 Phil Knirsch <pknirsch@redhat.com> - 1.20-1
160- Update to sg3_utils-1.20.
161
162* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.19-1.1
163- bump again for double-long bug on ppc(64)
164
165* Fri Feb 10 2006 Phil Knirsch <pknirsch@redhat.com> - 1.19-1
166- Update to sg3_utils-1.19.
167- Fixed rebuild problem on 64bit archs.
168
169* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.17-1.1
170- rebuilt for new gcc4.1 snapshot and glibc changes
171
172* Mon Nov 07 2005 Phil Knirsch <pknirsch@redhat.com> 1.17-1
173- Update to sg3-utils-1.17
174- Split package up into 3 subpackages: sg3_utils, devel and libs
175- Some minor updates to the specfile
176
177* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 1.06-5
178- bump release and rebuild with gcc 4
179
180* Fri Feb 18 2005 Phil Knirsch <pknirsch@redhat.com> 1.06-4
181- rebuilt
182
183* Tue Aug 03 2004 Phil Knirsch <pknirsch@redhat.com> 1.06-3
184- rebuilt
185
186* Thu Mar 11 2004 Tim Powers <timp@redhat.com> 1.06-2
187- rebuild
188
189* Wed Feb 18 2004 Phil Knirsch <pknirsch@redhat.com> 1.06-1
190- Initial version for RHEL3 U2.
191
192* Fri Jan 09 2004 - dgilbert@interlog.com
193- sg3_utils.spec for mandrake; more sginfo work, sg_scan, sg_logs
194  * sg3_utils-1.06
195
196* Wed Nov 12 2003 - dgilbert@interlog.com
197- sg_readcap: sizes; sg_logs: double fetch; sg_map 256 sg devices; sginfo
198  * sg3_utils-1.05
199
200* Tue May 13 2003 - dgilbert@interlog.com
201- default sg_turs '-n=' to 1, sg_logs gets '-t' for temperature, CREDITS
202  * sg3_utils-1.04
203
204* Wed Apr 02 2003 - dgilbert@interlog.com
205- 6 byte CDBs for sg_modes, sg_start on block devs, sg_senddiag, man pages
206  * sg3_utils-1.03
207
208* Wed Jan 01 2003 - dgilbert@interlog.com
209- interwork with block SG_IO, fix in sginfo, '-t' for sg_turs
210  * sg3_utils-1.02
211
212* Wed Aug 14 2002 - dgilbert@interlog.com
213- raw switch in sg_inq
214  * sg3_utils-1.01
215
216* Sun Jul 28 2002 - dgilbert@interlog.com
217- decode sg_logs pages, add dio to sgm_dd, drop "gen=1" arg, "of=/dev/null"
218  * sg3_utils-1.00
219
220* Sun Mar 17 2002 - dgilbert@interlog.com
221- add sg_modes+sg_logs for sense pages, expand sg_inq, add fua+sync to sg_dd++
222  * sg3_utils-0.99
223
224* Sat Feb 16 2002 - dgilbert@interlog.com
225- resurrect sg_reset; snprintf cleanup, time,gen+cdbsz args to sg_dd++
226  * sg3_utils-0.98
227
228* Sun Dec 23 2001 - dgilbert@interlog.com
229- move isosize to archive directory; now found in util-linux-2.10s and later
230  * sg3_utils-0.97
231
232* Fri Dec 21 2001 - dgilbert@interlog.com
233- add sgm_dd, sg_read, sg_simple4 and sg_simple16 [add mmap-ed IO support]
234  * sg3_utils-0.96
235
236* Sat Sep 15 2001 - dgilbert@interlog.com
237- sg_map can do inquiry; sg_dd, sgp_dd + sgq_dd dio help
238  * sg3_utils-0.95
239
240* Thu Apr 19 2001 - dgilbert@interlog.com
241- add sg_start, improve sginfo and sg_map [Kurt Garloff]
242  * sg3_utils-0.94
243
244* Mon Mar 5 2001 - dgilbert@interlog.com
245- add scsi_devfs_scan, add sg_include.h, 'coe' more general in sgp_dd
246  * sg3_utils-0.93
247
248* Tue Jan 16 2001 - dgilbert@interlog.com
249- clean sg_err.h include dependencies, bug fixes, Makefile in archive directory
250  * sg3_utils-0.92
251
252* Thu Dec 21 2000 - dgilbert@interlog.com
253- signals for sg_dd, man pages and additions for sg_rbuf and isosize
254  * sg3_utils-0.91
255
256* Mon Dec 11 2000 - dgilbert@interlog.com
257- Initial creation of package, containing
258  * sg3_utils-0.90
Note: See TracBrowser for help on using the repository browser.