SPECS: crossavr-libc.spec - added manpages - fixed avr-man tool to...
yogib
yogib at pld-linux.org
Sat Nov 12 14:38:05 CET 2005
Author: yogib Date: Sat Nov 12 13:38:05 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added manpages
- fixed avr-man tool to read proper manpages
---- Files affected:
SPECS:
crossavr-libc.spec (1.23 -> 1.24)
---- Diffs:
================================================================
Index: SPECS/crossavr-libc.spec
diff -u SPECS/crossavr-libc.spec:1.23 SPECS/crossavr-libc.spec:1.24
--- SPECS/crossavr-libc.spec:1.23 Sat Nov 12 13:09:13 2005
+++ SPECS/crossavr-libc.spec Sat Nov 12 14:37:59 2005
@@ -3,7 +3,7 @@
Summary(pl): libc na AVR
Name: crossavr-libc
Version: 1.2.6
-Release: 1
+Release: 2
Epoch: 1
License: Modified BSD (see included LICENSE)
Group: Development/Tools
@@ -11,9 +11,12 @@
# Source0-md5: 481c280ae3e66f071bf4a74af3565539
Source1: http://savannah.nongnu.org/download/avr-libc/avr-libc-user-manual-%{version}.tar.bz2
# Source1-md5: cfa1a9768488aa96b4a55dd6aeb6c62f
+Source2: http://savannah.nongnu.org/download/avr-libc/avr-libc-manpages-%{version}.bz2
+# Source2-md5: 1ec7091540538919e1ada2841757dc3e
URL: http://www.nongnu.org/avr-libc/
BuildRequires: crossavr-binutils >= 2.14
BuildRequires: crossavr-gcc >= 3.3
+BuildRequires: sed >= 4.0
Requires: crossavr-gcc >= 3.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,9 +32,11 @@
AVR.
%prep
-%setup -q -n avr-libc-%{version} -a1
+%setup -q -n avr-libc-%{version} -a1 -a2
%build
+sed -i -e 's|@DOC_INST_DIR@|%{_datadir}/%{name}-%{version}|' scripts/avr-man.in
+
CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
CONFIG_SHELL="/bin/bash" \
PREFIX=%{arch}
@@ -41,12 +46,14 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_prefix}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} -C build install \
prefix=$RPM_BUILD_ROOT%{_prefix}
cp -rf doc/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -rf man $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
%if 0%{!?debug:1}
%{target}-strip -g $RPM_BUILD_ROOT%{arch}/lib/*.[oa] \
@@ -69,6 +76,7 @@
%{arch}/lib/*.[oa]
%dir %{arch}/lib/avr?
%{arch}/lib/avr?/*.[oa]
+%{_datadir}/%{name}-%{version}
%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -77,6 +85,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.24 2005/11/12 13:37:59 yogib
+- added manpages
+- fixed avr-man tool to read proper manpages
+
Revision 1.23 2005/11/12 12:09:13 yogib
- updated to 1.2.6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossavr-libc.spec?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list