Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be69e2520c | ||
|
|
9fd316313f | ||
|
|
36ed89d79f | ||
| bb776550c6 |
5 changed files with 89 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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 $$/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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
b1e499d5a1011489635c1a0e482b1627 uisp-20050207.tar.gz
|
||||
64
uisp.spec
Normal file
64
uisp.spec
Normal file
|
|
@ -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 <trond.danielsen@fedoraproject.org> - 20050207-1
|
||||
- Initial version.
|
||||
- Summary and description taken from spec file included in uisp.
|
||||
24
uisp_Werror.patch
Normal file
24
uisp_Werror.patch
Normal file
|
|
@ -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 = \
|
||||
Loading…
Add table
Add a link
Reference in a new issue