- Split into separate packages (bug #60409).

This commit is contained in:
Tim Waugh 2005-12-08 17:19:49 +00:00
parent ee08cb814e
commit 38081cbe39

View File

@ -5,6 +5,7 @@ Version: 1.3.2
Release: 16
Prereq: sgml-common >= 0.5
Prereq: docbook-dtds
Requires: %{name}-libs = %{version}
Source0: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
Source1: http://download.sourceforge.net/openjade/OpenSP-%{opensp_ver}.tar.gz
Patch0: openjade-1.3.1-manpage.patch
@ -17,7 +18,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Prefix: /usr
Obsoletes: jade
Provides: jade
BuildRequires: autoconf, automake, gettext-devel
%description
@ -30,13 +30,28 @@ XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
%package devel
Summary: Files for developing applications that use openjade/OpenSP.
Requires: %{name} = %{version}
Requires: %{name}-libs = %{version}
Group: Development/Libraries
%description devel
The header files, static library, libtool library and man pages for
developing applications that use openjade/OpenSP.
%package libs
Summary: Shared libraries needed by openjade and tools.
Group: System Environment/Libraries
%description libs
Shared libraries needed by openjade and tools.
%package tools
Summary: Tools from the openjade package.
Group: Applications/Text
Requires: %{name}-libs = %{version}
%description tools
Tools from the openjade package, such as nsgmls.
%define openjadetop %{_builddir}/%{name}-%{version}
%prep
%setup -q -c -a1
@ -132,10 +147,39 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%doc */doc/ openjade-*/jadedoc/ openjade-*/dsssl/ */pubtext/ */unicode/
%doc --parents */README */COPYING openjade-*/VERSION
%{_bindir}/*
%{_bindir}/jade
%{_bindir}/openjade
%{_mandir}/*/jade.*
%{_mandir}/*/openjade.*
%files libs
%defattr(-,root,root)
%{_libdir}/*.so.*
%{prefix}/share/sgml
%{_mandir}/*/*
%files tools
%defattr(-,root,root)
%{_bindir}/nsgmls
%{_bindir}/onsgmls
%{_bindir}/osgmlnorm
%{_bindir}/ospam
%{_bindir}/ospcat
%{_bindir}/ospent
%{_bindir}/osx
%{_bindir}/sgml2xml
%{_bindir}/sgmlnorm
%{_bindir}/spam
%{_bindir}/spent
%{_mandir}/*/nsgmls.*
%{_mandir}/*/onsgmls.*
%{_mandir}/*/osgmlnorm.*
%{_mandir}/*/ospam.*
%{_mandir}/*/ospent.*
%{_mandir}/*/osx.*
%{_mandir}/*/sgml2xml.*
%{_mandir}/*/sgmlnorm.*
%{_mandir}/*/spam.*
%{_mandir}/*/spent.*
%files devel
%defattr(-,root,root)
@ -146,6 +190,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Dec 8 2005 Tim Waugh <twaugh@redhat.com>
- Split into separate packages (bug #60409).
- Don't ship Makefiles as doc, since they contain arch-specific
stuff (bug #168821).