This commit is contained in:
Tom "spot" Callaway 2010-10-11 16:10:54 -04:00
parent 1bd1bcc20d
commit f52f25b16d
2 changed files with 52 additions and 13 deletions

View File

@ -1 +1 @@
4c801c0d5a59239c05485c05f5684879 srecord-1.51.tar.gz b1e4aefa4943c008b701cdbeac72dfee srecord-1.56.tar.gz

View File

@ -1,15 +1,14 @@
Name: srecord Name: srecord
Version: 1.51 Version: 1.56
Release: 1%{?dist} Release: 2%{?dist}
Summary: Manipulate EPROM load files Summary: Manipulate EPROM load files
Group: Development/Tools Group: Development/Tools
License: GPLv3+ License: GPLv3+ and LGPLv3+
URL: http://srecord.sourceforge.net/ URL: http://srecord.sourceforge.net/
Source0: http://downloads.sourceforge.net/srecord/srecord-%{version}.tar.gz Source0: http://downloads.sourceforge.net/srecord/srecord-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: diffutils, sharutils, groff, boost-devel, libgcrypt-devel BuildRequires: diffutils, sharutils, groff, boost-devel, libgcrypt-devel, libtool
%description %description
The SRecord package is a collection of powerful tools for manipulating The SRecord package is a collection of powerful tools for manipulating
@ -34,6 +33,14 @@ More than one filter may be applied to each input file. Different filters
may be applied to each input file. All filters may be applied to all may be applied to each input file. All filters may be applied to all
file formats. file formats.
%package devel
Summary: Development headers and libraries for srecord
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development headers and libraries for developing applications against
srecord.
%prep %prep
%setup -q %setup -q
@ -45,25 +52,57 @@ make
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
mkdir -p %{buildroot}%{_libdir}
make DESTDIR="%{buildroot}" install make DESTDIR="%{buildroot}" install
rm -rf %{buildroot}%{_libdir}/*.a
rm -rf %{buildroot}%{_libdir}/*.la
chmod +x %{buildroot}%{_libdir}/libsrecord.so.*
%check %check
# Test scripts requirements: cmp, diff, uudecode # Test scripts requirements: cmp, diff, uudecode
make sure make sure
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr (-,root,root,-) %defattr (-,root,root,-)
%doc LICENSE BUILDING README %doc LICENSE BUILDING README
%{_bindir}/* %{_bindir}/*
%{_libdir}/libsrecord.so.*
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%{_mandir}/man5/*.5* %{_mandir}/man5/*.5*
%files devel
%defattr (-,root,root,-)
%{_includedir}/srecord/
%{_libdir}/libsrecord.so
%{_libdir}/pkgconfig/srecord.pc
%changelog %changelog
* Wed Sep 29 2010 jkeating - 1.56-2
- Rebuilt for gcc bug 634757
* Sat Sep 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.56-1
- update to 1.56
* Thu Jul 15 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.55-2
- BuildRequires: libtool
* Thu Jul 15 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.55-1
- update to 1.55
* Fri Jan 29 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.54-1
- update to 1.54, adds library
* Thu Nov 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.53-1
- update to 1.53
* Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.51-1 * Sat Sep 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.51-1
- Update to 1.51 - Update to 1.51