]> git.pld-linux.org Git - packages/avrdude.git/blobdiff - avrdude.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/avrdude.git] / avrdude.spec
index f052c522c4ada1bf9ee2cd3abf25c96b7c50f662..a057a2bac3a04418e86076063644b7ed0d3942d3 100644 (file)
@@ -1,34 +1,45 @@
 Summary:       Software for programming Atmel AVR Microcontrollers
-Summary(pl):   Oprogramowanie do programowania mikrokontrolerów Atmel AVR
+Summary(pl.UTF-8):     Oprogramowanie do programowania mikrokontrolerów Atmel AVR
 Name:          avrdude
-Version:       4.3.0
+Version:       5.3.1
 Release:       1
 License:       GPL
 Group:         Development/Tools
-Source0:       http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 99ded29038a237c71a914518116b6af0
+Source0:       http://savannah.nongnu.org/download/avrdude/%{name}-%{version}.tar.gz
+# Source0-md5: 58c2be9f7a864b930ed9e6f1858f5cc7
 Patch0:                %{name}-info.patch
+Patch1:                %{name}-doc.patch
+Patch2:                %{name}-configure.patch
 URL:           http://savannah.nongnu.org/projects/avrdude/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: libusb-devel
 BuildRequires: readline-devel
-BuildRequires: tetex-dvips
-BuildRequires: tetex-fonts-latex
-BuildRequires: tetex-format-pdftex
-BuildRequires: tetex-format-plain
 BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 AVRDUDE is software for programming Atmel AVR Microcontrollers.
 
-%description -l pl
-AVRDUDE to oprogramowanie do programowania mikrokontrolerów Atmel AVR.
+%description -l pl.UTF-8
+AVRDUDE to oprogramowanie do programowania mikrokontrolerów Atmel AVR.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       ac_cv_lib_termcap_tputs=no \
+       --enable-doc
 %{__make}
 
 %install
@@ -40,16 +51,16 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog* NEWS README doc/avrdude-html
+%doc AUTHORS ChangeLog* NEWS README 
 %attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %{_mandir}/man?/*
-%{_infodir}/avr*
-%config(noreplace) %verify(not md5 size mtime) /etc/%{name}.conf
+%{_infodir}/avrdude.info*
This page took 0.093755 seconds and 4 git commands to generate.