This commit is contained in:
Tom Callaway 2010-01-29 22:36:37 +00:00
parent 3766d147d3
commit 3f7fce1e7f
3 changed files with 38 additions and 14 deletions

View File

@ -1 +1 @@
srecord-1.53.tar.gz
srecord-1.54.tar.gz

View File

@ -1 +1 @@
631fb97df922572842bedda62091e242 srecord-1.53.tar.gz
09727804ac2a43542ef2abfa46b37695 srecord-1.54.tar.gz

View File

@ -1,15 +1,14 @@
Name: srecord
Version: 1.53
Release: 1%{?dist}
Summary: Manipulate EPROM load files
Name: srecord
Version: 1.54
Release: 1%{?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
%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,42 @@ 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
* 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