- add creating ps file again. Fix was done in texlive

This commit is contained in:
Marcela Mašláňová 2008-02-21 13:38:16 +00:00
parent 49b2af397b
commit 358bd16f82

View File

@ -7,7 +7,7 @@ Version: 2.6.23
Release: 3%{?dist} Release: 3%{?dist}
Group: Applications/System Group: Applications/System
Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2 Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2
Source1: iproute-doc-2.6.22.tar.gz #Source1: iproute-doc-2.6.22.tar.gz
URL: http://linux-net.osdl.org/index.php/Iproute2 URL: http://linux-net.osdl.org/index.php/Iproute2
Patch1: iproute2-2.6.9-kernel.patch Patch1: iproute2-2.6.9-kernel.patch
Patch2: iproute2-ss050901-opt_flags.patch Patch2: iproute2-ss050901-opt_flags.patch
@ -19,7 +19,7 @@ Patch7: iproute2-backwardcompat.patch
License: GPLv2+ License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires: tetex-latex tetex-dvips linuxdoc-tools BuildRequires: tetex-latex tetex-dvips linuxdoc-tools
BuildRequires: flex linux-atm-libs-devel psutils db4-devel bison BuildRequires: flex linux-atm-libs-devel psutils db4-devel bison
%description %description
@ -35,7 +35,7 @@ capabilities of the Linux 2.4.x and 2.6.x kernel.
%patch4 -p1 %patch4 -p1
%patch5 -p1 -b .movelib %patch5 -p1 -b .movelib
#remove tex for the while #remove tex for the while
%patch6 -p1 -b .wotex #%patch6 -p1 -b .wotex
%patch7 -p1 -b .backw %patch7 -p1 -b .backw
%build %build
@ -43,7 +43,7 @@ export LIBDIR=%{_libdir}
cd iproute2-%{version} cd iproute2-%{version}
make %{?_smp_mflags} make %{?_smp_mflags}
#make -C doc make -C doc
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@ -71,14 +71,12 @@ install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cbq
cp -f etc/iproute2/* $RPM_BUILD_ROOT/%{_sysconfdir}/iproute2 cp -f etc/iproute2/* $RPM_BUILD_ROOT/%{_sysconfdir}/iproute2
rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug/* rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug/*
#copy the tex file from source #copy the tex file from source for time when tex was broken
#source1 was created from last functional version
tar -xvzf %{SOURCE1} #tar -xvzf %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version} #mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
pwd #cd %{name}-doc-2.6.22
cd %{name}-doc-2.6.22 #cp -pR *.ps ../doc
pwd
cp -pR *.ps ../doc
#create example avpkt file #create example avpkt file
cat <<EOF > $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cbq/cbq-0000.example cat <<EOF > $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cbq/cbq-0000.example
@ -114,6 +112,9 @@ EOF
%config(noreplace) %{_sysconfdir}/sysconfig/cbq/* %config(noreplace) %{_sysconfdir}/sysconfig/cbq/*
%changelog %changelog
* Thu Feb 21 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-4
- add creating ps file again. Fix was done in texlive
* Wed Feb 6 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-3 * Wed Feb 6 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-3
- rebuild without tetex files. It isn't working in rawhide yet. Added - rebuild without tetex files. It isn't working in rawhide yet. Added
new source for ps files. new source for ps files.