2006-12-19 00:16:52 +01:00
|
|
|
#
|
2010-04-14 15:16:17 +02:00
|
|
|
# spec file for package krb5-doc (Version 1.8.1)
|
2006-12-19 00:16:52 +01:00
|
|
|
#
|
2010-01-14 15:34:47 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:16:52 +01:00
|
|
|
#
|
2008-10-06 19:00:36 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:16:52 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-21 01:47:13 +01:00
|
|
|
|
2006-12-19 00:16:52 +01:00
|
|
|
Name: krb5-doc
|
2007-04-23 23:17:31 +02:00
|
|
|
BuildRequires: ghostscript-library latex2html texlive
|
2010-04-14 15:16:17 +02:00
|
|
|
Version: 1.8.1
|
2010-04-23 19:17:38 +02:00
|
|
|
Release: 2
|
2010-04-14 15:16:17 +02:00
|
|
|
%define srcRoot krb5-1.8.1
|
2006-12-19 00:16:52 +01:00
|
|
|
Summary: MIT Kerberos5 Implementation--Documentation
|
2009-07-08 19:41:43 +02:00
|
|
|
License: MIT License (or similar)
|
2007-09-14 16:20:57 +02:00
|
|
|
Url: http://web.mit.edu/kerberos/www/
|
2006-12-19 00:16:52 +01:00
|
|
|
Group: Documentation/Other
|
2010-04-14 15:16:17 +02:00
|
|
|
Source: krb5-1.8.1.tar.bz2
|
2008-06-23 04:16:38 +02:00
|
|
|
Source3: %{name}-%{version}-rpmlintrc
|
2006-12-19 00:16:52 +01:00
|
|
|
Patch0: krb5-1.3.5-perlfix.dif
|
2007-10-25 02:08:58 +02:00
|
|
|
Patch1: krb5-1.6.3-texi2dvi-fix.dif
|
2006-12-19 00:16:52 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-09-14 16:20:57 +02:00
|
|
|
BuildArch: noarch
|
2006-12-19 00:16:52 +01:00
|
|
|
|
|
|
|
%description
|
2007-08-09 20:01:33 +02:00
|
|
|
Kerberos V5 is a trusted-third-party network authentication
|
|
|
|
system,which can improve your network's security by eliminating the
|
|
|
|
insecurepractice of clear text passwords. This package includes
|
|
|
|
extended documentation for MIT Kerberos.
|
2006-12-19 00:16:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
The MIT Kerberos Team
|
|
|
|
Sam Hartman <hartmans@mit.edu>
|
|
|
|
Ken Raeburn <raeburn@mit.edu>
|
|
|
|
Tom Yu <tlyu@mit.edu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{srcRoot}
|
|
|
|
%patch0
|
2007-10-25 02:08:58 +02:00
|
|
|
%patch1
|
2006-12-19 00:16:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd doc
|
|
|
|
mkdir -p html
|
|
|
|
make
|
2007-04-20 01:22:05 +02:00
|
|
|
make implementor.ps
|
2006-12-19 00:16:52 +01:00
|
|
|
make -C api
|
|
|
|
make -C implement
|
2009-07-08 19:41:43 +02:00
|
|
|
#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 ..
|
2006-12-19 00:16:52 +01:00
|
|
|
mv *.html html/
|
|
|
|
cd ..
|
|
|
|
find . -type f -name '*.ps' -exec gzip -9 {} \;
|
|
|
|
chmod 644 doc/man2ps
|
2007-06-15 00:26:00 +02:00
|
|
|
chmod 644 doc/krb5-protocol/draft-jaganathan-rc4-hmac-03.txt
|
2006-12-19 00:16:52 +01:00
|
|
|
# cleanup
|
|
|
|
rm -f %{buildroot}/usr/share/man/man1/tmac.doc*
|
|
|
|
rm -f /usr/share/man/man1/tmac.doc*
|
|
|
|
rm -rf /usr/lib/mit/share
|
|
|
|
rm -rf %{buildroot}/usr/lib/mit/share
|
2009-07-08 19:41:43 +02:00
|
|
|
#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 ../..
|
2006-12-19 00:16:52 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-07-08 19:41:43 +02:00
|
|
|
%doc doc/*.ps.gz doc/api/*.ps.gz doc/implement/*.ps.gz
|
2006-12-19 00:16:52 +01:00
|
|
|
%doc doc/krb5-protocol doc/kadmin
|
|
|
|
%doc doc/html
|
2007-12-06 01:01:44 +01:00
|
|
|
|
2007-02-19 21:42:34 +01:00
|
|
|
%changelog
|