SHA256
1
0
forked from pool/krb5

- update to version 1.10.2

OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=67
This commit is contained in:
Michael Calmer 2012-06-06 15:36:07 +00:00 committed by Git OBS Bridge
parent ea9e71d4e1
commit 0d84237124
3 changed files with 12 additions and 40 deletions

View File

@ -1,11 +0,0 @@
Index: trunk/doc/Makefile
===================================================================
--- doc/Makefile
+++ doc/Makefile
@@ -1,5 +1,5 @@
SRCDIR=../src
-DVI=texi2dvi4a2ps # texi2dvi
+DVI=texi2dvi # texi2dvi
DVIPS=dvips -o "$@"
PSPDF=ps2pdf
INFO=makeinfo

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 6 17:34:26 CEST 2012 - mc@suse.de
- update to version 1.10.2
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 22 10:21:56 CEST 2011 - mc@suse.de Mon Aug 22 10:21:56 CEST 2011 - mc@suse.de

View File

@ -30,7 +30,6 @@ Url: http://web.mit.edu/kerberos/www/
Source: krb5-%{version}.tar.bz2 Source: krb5-%{version}.tar.bz2
Source3: %{name}-rpmlintrc Source3: %{name}-rpmlintrc
Patch0: krb5-1.3.5-perlfix.dif Patch0: krb5-1.3.5-perlfix.dif
Patch1: krb5-1.6.3-texi2dvi-fix.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
@ -52,9 +51,15 @@ Authors:
%prep %prep
%setup -n %{srcRoot} %setup -n %{srcRoot}
%patch0 %patch0
%patch1
%build %build
sed -i -e '1s!\[twoside\]!!;s!%\(\\usepackage{hyperref}\)!\1!' doc/api/library.tex
sed -i -e '1c\
\\documentclass{article}\
\\usepackage{fixunder}\
\\usepackage{functions}\
\\usepackage{fancyheadings}\
\\usepackage{hyperref}' doc/implement/implement.tex
%install %install
cd doc cd doc
@ -63,13 +68,6 @@ make
make implementor.ps make implementor.ps
make -C api make -C api
make -C implement make -C implement
#make -C kadm5
#cd api
#latex2html -dir ../html/library -mkdir library.tex
#latex2html -dir ../html/libdes -mkdir libdes.tex
#cd ../implement
#latex2html -dir ../html/implement -mkdir implement.tex
#cd ..
mv *.html html/ mv *.html html/
cd .. cd ..
find . -type f -name '*.ps' -exec gzip -9 {} \; find . -type f -name '*.ps' -exec gzip -9 {} \;
@ -80,26 +78,6 @@ rm -f %{buildroot}/usr/share/man/man1/tmac.doc*
rm -f /usr/share/man/man1/tmac.doc* rm -f /usr/share/man/man1/tmac.doc*
rm -rf /usr/lib/mit/share rm -rf /usr/lib/mit/share
rm -rf %{buildroot}/usr/lib/mit/share rm -rf %{buildroot}/usr/lib/mit/share
#rm -f doc/html/*/WARNINGS
#rm -f doc/html/*/images.aux
#rm -f doc/html/*/labels.pl
#### check for duplicate files and replace them with a link
#cd doc/html/library
#if cmp --quiet library.html index.html ; then
# rm -f index.html
# ln -s library.html index.html
#fi
#cd ../libdes
#if cmp --quiet libdes.html index.html ; then
# rm -f index.html
# ln -s libdes.html index.html
#fi
#cd ../implement
#if cmp --quiet implement.html index.html ; then
# rm -f index.html
# ln -s implement.html index.html
#fi
#cd ../..
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}