diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..903b524 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +uisp-20050207.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..d857429 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b1e499d5a1011489635c1a0e482b1627 uisp-20050207.tar.gz diff --git a/uisp.spec b/uisp.spec new file mode 100644 index 0000000..a440d1c --- /dev/null +++ b/uisp.spec @@ -0,0 +1,73 @@ +Name: uisp +Version: 20050207 +Release: 4%{?dist} +Summary: Universal In-System Programmer for Atmel AVR and 8051 + + +Group: Applications/Engineering +License: GPLv2+ +URL: http://www.nongnu.org/uisp +Source0: http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz +Patch0: uisp_Werror.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#BuildRequires: +#Requires: + +%description +Uisp is utility for downloading/uploading programs to AVR devices. Can also be +used for some Atmel 8051 type devices. In addition, uisp can erase the device, +write lock bits, verify and set the active segment. + +For use with the following hardware to program the devices: + pavr http://avr.jpk.co.nz/pavr/pavr.html + stk500 Atmel STK500 + dapa Direct AVR Parallel Access + stk200 Parallel Starter Kit STK200, STK300 + abb Altera ByteBlasterMV Parallel Port Download Cable + avrisp Atmel AVR ISP (?) + bsd http://www.bsdhome.com/avrprog/ (parallel) + fbprg http://ln.com.ua/~real/avreal/adapters.html (parallel) + dt006 http://www.dontronics.com/dt006.html (parallel) + dasa serial (RESET=RTS SCK=DTR MOSI=TXD MISO=CTS) + dasa2 serial (RESET=!TXD SCK=RTS MOSI=DTR MISO=CTS) + + +%prep +%setup -q +%patch0 -p0 + +%build +%configure +make + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGES CHANGES.old COPYING ChangeLog* TODO +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz + + +%changelog +* Mon Sep 8 2008 Tom "spot" Callaway - 20050207-4 +- fix patch + +* Mon Sep 8 2008 Tom "spot" Callaway - 20050207-3 +- fix license tag + +* Wed Feb 20 2008 Fedora Release Engineering - 20050207-2 +- Autorebuild for GCC 4.3 + +* Mon Mar 12 2007 Trond Danielsen - 20050207-1 +- Initial version. +- Summary and description taken from spec file included in uisp. diff --git a/uisp_Werror.patch b/uisp_Werror.patch new file mode 100644 index 0000000..8638c93 --- /dev/null +++ b/uisp_Werror.patch @@ -0,0 +1,24 @@ +diff -u ../uisp-20050207/src/Makefile.am src/Makefile.am +--- ../uisp-20050207/src/Makefile.am 2002-10-31 00:22:07.000000000 +0100 ++++ src/Makefile.am 2007-03-12 14:30:56.000000000 +0100 +@@ -31,7 +31,7 @@ + # Turn on all warnings and consider them errors. This kinda forces you to have + # to use gcc, but I'd rather have all warnings eliminated. + +-AM_CXXFLAGS = -Wall -Werror ++AM_CXXFLAGS = -Wall + + bin_PROGRAMS = uisp + uisp_SOURCES = \ +diff -u ../uisp-20050207/src/Makefile.in src/Makefile.in +--- ../uisp-20050207/src/Makefile.in 2005-02-07 22:48:13.000000000 +0100 ++++ src/Makefile.in 2007-03-12 14:31:08.000000000 +0100 +@@ -145,7 +145,7 @@ + + # Turn on all warnings and consider them errors. This kinda forces you to have + # to use gcc, but I'd rather have all warnings eliminated. +-AM_CXXFLAGS = -Wall -Werror ++AM_CXXFLAGS = -Wall + + bin_PROGRAMS = uisp + uisp_SOURCES = \