From f52f25b16d36ea846fd6fe10e930139d48ada35b Mon Sep 17 00:00:00 2001 From: "Tom \"spot\" Callaway" Date: Mon, 11 Oct 2010 16:10:54 -0400 Subject: [PATCH] el6 --- sources | 2 +- srecord.spec | 63 ++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 52 insertions(+), 13 deletions(-) diff --git a/sources b/sources index 38b6dd8..c8198e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4c801c0d5a59239c05485c05f5684879 srecord-1.51.tar.gz +b1e4aefa4943c008b701cdbeac72dfee srecord-1.56.tar.gz diff --git a/srecord.spec b/srecord.spec index 464153f..56fdb6c 100644 --- a/srecord.spec +++ b/srecord.spec @@ -1,15 +1,14 @@ -Name: srecord -Version: 1.51 -Release: 1%{?dist} -Summary: Manipulate EPROM load files +Name: srecord +Version: 1.56 +Release: 2%{?dist} +Summary: Manipulate EPROM load files +Group: Development/Tools +License: GPLv3+ and LGPLv3+ +URL: http://srecord.sourceforge.net/ +Source0: http://downloads.sourceforge.net/srecord/srecord-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Group: Development/Tools -License: GPLv3+ -URL: http://srecord.sourceforge.net/ -Source0: http://downloads.sourceforge.net/srecord/srecord-%{version}.tar.gz -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 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 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 %setup -q @@ -45,25 +52,57 @@ make %install rm -rf %{buildroot} +mkdir -p %{buildroot}%{_libdir} make DESTDIR="%{buildroot}" install +rm -rf %{buildroot}%{_libdir}/*.a +rm -rf %{buildroot}%{_libdir}/*.la +chmod +x %{buildroot}%{_libdir}/libsrecord.so.* %check # Test scripts requirements: cmp, diff, uudecode make sure %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files %defattr (-,root,root,-) %doc LICENSE BUILDING README %{_bindir}/* +%{_libdir}/libsrecord.so.* %{_mandir}/man1/*.1* +%{_mandir}/man3/*.3* %{_mandir}/man5/*.5* +%files devel +%defattr (-,root,root,-) +%{_includedir}/srecord/ +%{_libdir}/libsrecord.so +%{_libdir}/pkgconfig/srecord.pc %changelog +* Wed Sep 29 2010 jkeating - 1.56-2 +- Rebuilt for gcc bug 634757 + +* Sat Sep 18 2010 Tom "spot" Callaway - 1.56-1 +- update to 1.56 + +* Thu Jul 15 2010 Tom "spot" Callaway - 1.55-2 +- BuildRequires: libtool + +* Thu Jul 15 2010 Tom "spot" Callaway - 1.55-1 +- update to 1.55 + +* Fri Jan 29 2010 Tom "spot" Callaway - 1.54-1 +- update to 1.54, adds library + +* Thu Nov 12 2009 Tom "spot" Callaway - 1.53-1 +- update to 1.53 + * Sat Sep 12 2009 Tom "spot" Callaway - 1.51-1 - Update to 1.51