avrdude/avrdude.spec.in

52 lines
934 B
Plaintext
Raw Normal View History

## -*- mode: rpm-spec; -*-
##
## $Id$
##
## @configure_input@
##
Summary: AVRDUDE is software for programming Atmel AVR Microcontrollers.
Name: avrdude
Version: @VERSION@
Release: 1
URL: http://savannah.nongnu.org/projects/avrdude
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Development/Tools
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
AVRDUDE is software for programming Atmel AVR Microcontrollers.
%prep
%setup -q
%build
./configure --prefix=%{_prefix} --sysconfdir=/etc --mandir=%{_mandir}
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{_prefix} \
sysconfdir=$RPM_BUILD_ROOT/etc \
mandir=$RPM_BUILD_ROOT%{_mandir} \
install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_prefix}/bin/avrdude
%{_mandir}/man1/avrdude.1.gz
%attr(0644,root,root) %config /etc/avrdude.conf
%changelog
* Wed Feb 26 2003 Theodore A. Roth <troth@openavr.org>
- Initial build.