From 3f7fce1e7f359bb6deb3f69e4a42e3b13905862b Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jan 29 2010 22:36:37 +0000 Subject: 1.54 --- diff --git a/.cvsignore b/.cvsignore index 788f295..a9270db 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -srecord-1.53.tar.gz +srecord-1.54.tar.gz diff --git a/sources b/sources index 4fe17a9..fee3edb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -631fb97df922572842bedda62091e242 srecord-1.53.tar.gz +09727804ac2a43542ef2abfa46b37695 srecord-1.54.tar.gz diff --git a/srecord.spec b/srecord.spec index 4678c64..7271ff8 100644 --- a/srecord.spec +++ b/srecord.spec @@ -1,15 +1,14 @@ -Name: srecord -Version: 1.53 -Release: 1%{?dist} -Summary: Manipulate EPROM load files - -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 +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) + +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 - 1.54-1 +- update to 1.54, adds library + * Thu Nov 12 2009 Tom "spot" Callaway - 1.53-1 - update to 1.53