rpms/upslug2/F-7 upslug2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Nov 7 13:23:57 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/upslug2/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1734

Modified Files:
	.cvsignore sources 
Added Files:
	upslug2.spec 
Log Message:
* Wed Nov  7 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.0-0.2.20071107.svn39
- Add snapshot date to release field (bz 350181)
- Do not repeat the package name in the summary (bz 350181)



--- NEW FILE upslug2.spec ---
%define svn_revision 39
%define snapshot_date 20071107

Name:           upslug2
Version:        0.0
Release:        0.2.%{snapshot_date}.svn%{svn_revision}%{?dist}
Summary:        Firmware update utility for the nslu2
Group:          Development/Tools
License:        MIT
URL:            http://www.nslu2-linux.org/wiki/Main/UpSlug2
# To recreate:
# svn export -r %{svn_revision} http://svn.nslu2-linux.org/svnroot/upslug2/trunk %{name}
# tar cvfz %{name}-svn-%{svn_revision}.tar.gz %{name}
Source0:        %{name}-svn-%{svn_revision}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  automake libpcap-devel

%description
upslug2 is a command line program intended to allow the upgrade of a LinkSys
NSLU2 firmware to new or different versions.  Unlike upslug and the LinkSys
(Sercomm) upgrade utilities, upslug2 will synthesise a complete 'image'
from a kernel and a root file system, as such it duplicates part of the
functionality of 'slugimage'.

upslug2 also optimizes the upload to avoid transmitted parts of the image which
need not be written or are 'blank' (set to the erased flash value of all 1's).


%prep
%setup -q -n %{name}
autoreconf -i


%build
%configure --with-libpcap
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
install -p -m 644 upslug2.8 $RPM_BUILD_ROOT/%{_mandir}/man8


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_sbindir}/upslug2
%{_mandir}/man8/upslug2.8.gz


%changelog
* Wed Nov  7 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.0-0.2.20071107.svn39
- Add snapshot date to release field (bz 350181)
- Do not repeat the package name in the summary (bz 350181)

* Wed Oct 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.0-0.1.svn39
- Initial Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/upslug2/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Nov 2007 19:02:57 -0000	1.1
+++ .cvsignore	7 Nov 2007 13:23:23 -0000	1.2
@@ -0,0 +1 @@
+upslug2-svn-39.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/upslug2/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Nov 2007 19:02:57 -0000	1.1
+++ sources	7 Nov 2007 13:23:23 -0000	1.2
@@ -0,0 +1 @@
+77408f1cafb800a57e1f3fea3cd031d2  upslug2-svn-39.tar.gz




More information about the fedora-extras-commits mailing list