This commit is contained in:
Tom Callaway 2010-01-29 22:36:37 +00:00
parent 3766d147d3
commit b437505d5a
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 Name: srecord
Version: 1.53 Version: 1.54
Release: 1%{?dist} Release: 1%{?dist}
Summary: Manipulate EPROM load files 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 BuildRequires: diffutils, sharutils, groff, boost-devel, libgcrypt-devel
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
%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,42 @@ 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
* 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 * Thu Nov 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.53-1
- update to 1.53 - update to 1.53