3f7fce1
Name:		srecord
cc903b4
Version:	1.61
cc903b4
Release:	1%{?dist}
3f7fce1
Summary:	Manipulate EPROM load files
3f7fce1
Group:		Development/Tools
3f7fce1
License:	GPLv3+ and LGPLv3+
3f7fce1
URL:		http://srecord.sourceforge.net/
3f7fce1
Source0:	http://downloads.sourceforge.net/srecord/srecord-%{version}.tar.gz
4c0d007
BuildRequires:	diffutils, sharutils, groff, boost-devel, libgcrypt-devel, libtool
2106060
# for ps2pdf
2106060
BuildRequires:	ghostscript
5845f56
5845f56
%description
5845f56
The SRecord package is a collection of powerful tools for manipulating
5845f56
EPROM load files.
5845f56
63f48af
- The SRecord package understands a number of file formats: Motorola
5845f56
  S-Record, Intel, Tektronix, Binary.  These file formats may be read
5845f56
  and written.  Also C array definitions, for output only.
5845f56
63f48af
- The SRecord package has a number of tools: srec_cat for copying and
5845f56
  and converting files, srec_cmp for comparing files and srec_info for
5845f56
  printing summaries.
5845f56
63f48af
- The SRecord package has a number for filters: checksum to add checksums
5845f56
  to the data, crop to keep address ranges, exclude to remove address
5845f56
  ranges, fill to plug holes in the data, length to insert the data
5845f56
  length, maximum to insert the data address maximum, minimum to insert
5845f56
  the data address minimum, offset to adjust addresses, and split for
5845f56
  wide data buses and memory striping.
5845f56
5845f56
More than one filter may be applied to each input file.  Different filters
5845f56
may be applied to each input file.  All filters may be applied to all
5845f56
file formats.
5845f56
3f7fce1
%package devel
3f7fce1
Summary:	Development headers and libraries for srecord
3f7fce1
Group:		Development/Libraries
3f7fce1
Requires:	%{name} = %{version}-%{release}
3f7fce1
3f7fce1
%description devel
3f7fce1
Development headers and libraries for developing applications against
3f7fce1
srecord.
5845f56
5845f56
%prep
5845f56
%setup -q
5845f56
5845f56
%build
5845f56
%configure
6a687d6
# Fails to build in SMP machines using "make %{?_smp_mflags}"
6a687d6
make
5845f56
5845f56
%install
3f7fce1
mkdir -p %{buildroot}%{_libdir}
65edf47
make DESTDIR="%{buildroot}" install
3f7fce1
rm -rf %{buildroot}%{_libdir}/*.a
3f7fce1
rm -rf %{buildroot}%{_libdir}/*.la
3f7fce1
chmod +x %{buildroot}%{_libdir}/libsrecord.so.*
5845f56
cc903b4
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
cc903b4
mv %{buildroot}%{_defaultdocdir}/%{name}/* %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
cc903b4
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
cc903b4
5845f56
%check
5845f56
# Test scripts requirements: cmp, diff, uudecode
5845f56
make sure
5845f56
3f7fce1
%post -p /sbin/ldconfig
3f7fce1
3f7fce1
%postun -p /sbin/ldconfig
5845f56
5845f56
%files
5845f56
%doc LICENSE BUILDING README
cc903b4
%{_defaultdocdir}/%{name}-%{version}/
5845f56
%{_bindir}/*
3f7fce1
%{_libdir}/libsrecord.so.*
5845f56
%{_mandir}/man1/*.1*
3f7fce1
%{_mandir}/man3/*.3*
5845f56
%{_mandir}/man5/*.5*
5845f56
3f7fce1
%files devel
3f7fce1
%{_includedir}/srecord/
3f7fce1
%{_libdir}/libsrecord.so
3f7fce1
%{_libdir}/pkgconfig/srecord.pc
5845f56
5845f56
%changelog
cc903b4
* Mon Jan  7 2013 Tom Callaway <spot@fedoraproject.org> - 1.61-1
cc903b4
- update to 1.61
cc903b4
bde212c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-2
bde212c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bde212c
79088dd
* Mon Jun 25 2012 Tom Callaway <spot@fedoraproject.org> - 1.60-1
79088dd
- update to 1.60
79088dd
3092f50
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.57-3
3092f50
- Rebuilt for c++ ABI breakage
3092f50
3d65a03
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.57-2
3d65a03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3d65a03
8ebfad7
* Sat Jun 11 2011 Tom Callaway <spot@fedoraproject.org> 1.57-1
8ebfad7
- update to 1.57
8ebfad7
8296d1b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-3
8296d1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8296d1b
Jesse Keating a625f1f
* Wed Sep 29 2010 jkeating - 1.56-2
Jesse Keating a625f1f
- Rebuilt for gcc bug 634757
Jesse Keating a625f1f
a38b925
* Sat Sep 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.56-1
a38b925
- update to 1.56
a38b925
4c0d007
* Thu Jul 15 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.55-2
4c0d007
- BuildRequires: libtool
4c0d007
ae1cf64
* Thu Jul 15 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.55-1
ae1cf64
- update to 1.55
ae1cf64
3f7fce1
* Fri Jan 29 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.54-1
3f7fce1
- update to 1.54, adds library
3f7fce1
70bd156
* Thu Nov 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.53-1
70bd156
- update to 1.53
70bd156
fa7cb3b
* Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.51-1
fa7cb3b
- Update to 1.51
fa7cb3b
d805b6a
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-3
d805b6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d805b6a
9c8ea33
* Fri Jul 10 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.50-2
9c8ea33
- add BuildRequires: libgcrypt-devel
9c8ea33
00fa8e1
* Fri Jul 10 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.50-1
00fa8e1
- update to 1.50
00fa8e1
6ce44f0
* Wed Mar  4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.47-1
6ce44f0
- update to 1.47
6ce44f0
c02fa93
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-3
c02fa93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c02fa93
941f488
* Mon Feb 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.46-2
941f488
- fix gcc 4.4 compile issues (cstdio)
941f488
4c7a33b
* Tue Jan 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.46-1
4c7a33b
- update to 1.46
4c7a33b
65edf47
* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.45-1
65edf47
- update to 1.45
65edf47
7ed91fe
* Tue Mar 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.39-2
7ed91fe
- BR: boost-devel
7ed91fe
63f48af
* Mon Mar 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.39-1
63f48af
- update to 1.39
63f48af
a9a9b7a
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.36-2
a9a9b7a
- Autorebuild for GCC 4.3
a9a9b7a
92efc0f
* Sat Aug 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.36-1
92efc0f
- Update to 1.36.
92efc0f
- License: GPLv3+.
92efc0f
21c9609
* Sat Jun 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.35-1
21c9609
- Update to 1.35.
21c9609
b680601
* Tue May 22 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.33-1
b680601
- Update to 1.33.
b680601
2e34108
* Tue Apr 24 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.32-1
2e34108
- Update to 1.32.
2e34108
caf651e
* Thu Apr  5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.31-1
caf651e
- Update to 1.31.
caf651e
6ba58a4
* Fri Mar 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.30-1
6ba58a4
- Update to 1.30.
6ba58a4
54fdadf
* Tue Mar 13 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.29-1
54fdadf
- Update to 1.29.
54fdadf
bd25c72
* Thu Mar  8 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.28-1
bd25c72
- Update to 1.28.
bd25c72
e1ce749
* Wed Jan 31 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.27-1
e1ce749
- Update to 1.27.
e1ce749
589939e
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.26-2
589939e
- Rebuild for FC6.
589939e
1fd5f74
* Tue Jun 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.26-1
1fd5f74
- Update to 1.26.
1fd5f74
c2b4817
* Wed Mar  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.24-1
c2b4817
- Update to 1.24.
c2b4817
cf8d6eb
* Wed Feb 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.23-2
cf8d6eb
- Rebuild.
cf8d6eb
6a687d6
* Fri Sep 23 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.23-1
6a687d6
- Update to 1.23.
6a687d6
5845f56
* Thu Sep 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.22-2
5845f56
- Updated the source tarball (PATCHLEVEL "1.22.D002").
5845f56
  The author repackages updates without changing the tarball version (ARGH!).
5845f56
5845f56
* Mon Sep 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.22-1
5845f56
- Update to 1.22.
5845f56
5845f56
* Sun Aug  7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-1
5845f56
- Version 1.21.