SPECS: avrdude.spec - added doc patch and --enable-doc option, res...
qboosh
qboosh at pld-linux.org
Sun Oct 23 00:35:49 CEST 2005
Author: qboosh Date: Sat Oct 22 22:35:49 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added doc patch and --enable-doc option, restored info
- BR: libusb-devel,readline-devel and ac,am,texinfo
- avoid libtermcap usage
---- Files affected:
SPECS:
avrdude.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/avrdude.spec
diff -u SPECS/avrdude.spec:1.10 SPECS/avrdude.spec:1.11
--- SPECS/avrdude.spec:1.10 Sat Oct 22 20:53:41 2005
+++ SPECS/avrdude.spec Sun Oct 23 00:35:43 2005
@@ -8,7 +8,14 @@
Group: Development/Tools
Source0: http://savannah.nongnu.org/download/avrdude/%{name}-%{version}.tar.gz
# Source0-md5: ac21da160853f7cf7f3f0578c756a52c
+Patch0: %{name}-info.patch
+Patch1: %{name}-doc.patch
URL: http://savannah.nongnu.org/projects/avrdude/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: libusb-devel
+BuildRequires: readline-devel
+BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -19,9 +26,17 @@
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ ac_cv_lib_termcap_tputs=no \
+ --enable-doc
%{__make}
%install
@@ -33,12 +48,19 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog* NEWS README
%attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
%{_mandir}/man?/*
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/%{name}.conf
+%{_infodir}/avrdude.info*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -46,6 +68,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2005/10/22 22:35:43 qboosh
+- added doc patch and --enable-doc option, restored info
+- BR: libusb-devel,readline-devel and ac,am,texinfo
+- avoid libtermcap usage
+
Revision 1.10 2005/10/22 18:53:41 yogib
- md5 fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/avrdude.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list