rpms/avrdude/FC-6 avrdude.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Trond Danielsen (trondd) fedora-extras-commits at redhat.com
Fri Mar 2 15:27:58 UTC 2007


Author: trondd

Update of /cvs/extras/rpms/avrdude/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24530/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	avrdude.spec 
Log Message:
auto-import avrdude-5.3.1-4 on branch FC-6 from avrdude-5.3.1-4.src.rpm


--- NEW FILE avrdude.spec ---
Name:           avrdude
Version:        5.3.1
Release:        4%{?dist}
Summary:        Software for programming Atmel AVR Microcontroller

Group:          Applications/Engineering
License:        GPL
URL:            http://www.bsdhome.com/avrdude/
Source0:        http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  flex
BuildRequires:  bison
BuildRequires:  readline-devel
BuildRequires:  ncurses-devel
BuildRequires:  libusb-devel
BuildRequires:  texi2html
BuildRequires:  texinfo-tex
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info


%description
AVRDUDE is a program for programming Atmel's AVR CPU's. It can program the 
Flash and EEPROM, and where supported by the serial programming protocol, it 
can program fuse and lock bits. AVRDUDE also supplies a direct instruction 
mode allowing one to issue any programming instruction to the AVR chip 
regardless of whether AVRDUDE implements that specific feature of a 
particular chip.


%prep
%setup -q
chmod -x safemode.c doc/TODO
sed -i 's|/usr/local/etc/avrdude.conf|/etc/avrdude/avrdude.conf|g' doc/avrdude.texi avrdude.1
sed -i 's|/etc/avrdude.conf|/etc/avrdude/avrdude.conf|g' doc/avrdude.texi avrdude.1


%build
%configure --enable-doc --sysconfdir=%{_sysconfdir}/%{name}
make


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} installed-docs
rm -f $RPM_BUILD_ROOT%{_infodir}/dir


%clean
rm -rf $RPM_BUILD_ROOT


%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :


%preun
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi


%files
%defattr(-,root,root,-)
%doc README AUTHORS ChangeLog* COPYING NEWS doc/TODO installed-docs/* 
%config(noreplace) %{_sysconfdir}/%{name}
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_infodir}/%{name}.info.gz


%changelog
* Thu Feb 29 2007 Trond Danielsen <trond.danielsen at gmail.com> - 5.3.1-4
- Updated list of files.
- Corrected sed line in prep section.

* Wed Feb 28 2007 Trond Danielsen <trond.danielsen at gmail.com> - 5.3.1-3
- Added missing BuildRequires.
- Enable generation of documentation.
- Updated path to avrdude.conf in info page.

* Wed Feb 28 2007 Trond Danielsen <trond.danielsen at gmail.com> - 5.3.1-2
- Added missing BuildRequires readline-devel and ncurses-devel.
- Changed config file to noreplace and moved to separate folder.
- Corrected permission for file debuginfo package.

* Wed Feb 28 2007 Trond Danielsen <trond.danielsen at gmail.com> - 5.3.1-1
- Initial version.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/avrdude/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Mar 2007 12:56:18 -0000	1.1
+++ .cvsignore	2 Mar 2007 15:27:26 -0000	1.2
@@ -0,0 +1 @@
+avrdude-5.3.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/avrdude/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Mar 2007 12:56:18 -0000	1.1
+++ sources	2 Mar 2007 15:27:26 -0000	1.2
@@ -0,0 +1 @@
+58c2be9f7a864b930ed9e6f1858f5cc7  avrdude-5.3.1.tar.gz




More information about the fedora-extras-commits mailing list