From 0866295d28b102e2202f7ccca6caa148fca0b6d6 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 26 Aug 2007 21:52:53 +0000 Subject: [PATCH 1/5] Initialize branch FC-6 for uisp --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..d5b6362 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +FC-6 From fa533ae3c1b3627e5e50810b196f60b8f6fc41cb Mon Sep 17 00:00:00 2001 From: Trond Danielsen Date: Tue, 9 Oct 2007 21:03:01 +0000 Subject: [PATCH 2/5] Initial import into FC-6 branch. --- sources | 1 + 1 file changed, 1 insertion(+) diff --git a/sources b/sources index e69de29..d857429 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b1e499d5a1011489635c1a0e482b1627 uisp-20050207.tar.gz From 9f41b5d8a4c2df2e6a76bb68238b1b35bf5bb116 Mon Sep 17 00:00:00 2001 From: Trond Danielsen Date: Tue, 9 Oct 2007 21:04:43 +0000 Subject: [PATCH 3/5] Added spec file and Werror patch. --- uisp.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++ uisp_Werror.patch | 24 ++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 uisp.spec create mode 100644 uisp_Werror.patch diff --git a/uisp.spec b/uisp.spec new file mode 100644 index 0000000..0a24d35 --- /dev/null +++ b/uisp.spec @@ -0,0 +1,64 @@ +Name: uisp +Version: 20050207 +Release: 1%{?dist} +Summary: Universal In-System Programmer for Atmel AVR and 8051 + + +Group: Applications/Engineering +License: GPL +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 +%patch -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 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 = \ From 190fda65e16a91a3d044cdf97159d0a360c1d321 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:14:03 +0000 Subject: [PATCH 4/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7fe861f..73baf2b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := uisp SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From b20eab41f3d600622119fb5223b2e97a48797f29 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:41:03 +0000 Subject: [PATCH 5/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 73baf2b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: uisp -# $Id$ -NAME := uisp -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index d5b6362..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -FC-6