Author: qboosh Date: Sat Oct 28 10:22:21 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new (ANS version, with debian patch -21)
---- Files affected: SPECS: docbook-to-man.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/docbook-to-man.spec diff -u /dev/null SPECS/docbook-to-man.spec:1.1 --- /dev/null Sat Oct 28 12:22:21 2006 +++ SPECS/docbook-to-man.spec Sat Oct 28 12:22:15 2006 @@ -0,0 +1,80 @@ +# $Revision$, $Date$ +Summary: Converter from DocBook SGML into roff man macros +Summary(pl): Konwerter z formatu DocBook SGML do roff (używanego przez program man) +Name: docbook-to-man +Version: 2.0.0 +Release: 1 +License: MIT +Group: Applications/Publishing/SGML +# original: http://www.oasis-open.org/docbook/tools/dtm/%{name}.tar.gz +# we use ANS version, available in Debian +Source0: http://ftp.debian.org/debian/pool/main/d/docbook-to-man/%{name}_%{version}.orig.tar.gz +# Source0-md5: 84946e13a0e54057e9cbf8ad7eec4afa +Patch0: %{name}-debian.patch +Patch1: %{name}-opt.patch +Patch2: %{name}-PLD.patch +URL: http://www.oasis-open.org/docbook/tools/dtm/ +BuildRequires: docbook-dtd41-sgml +BuildRequires: opensp +Requires: docbook-dtd41-sgml +Requires: opensp +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +docbook-to-man is a batch converter that transforms UNIX-style +manpages from the DocBook SGML format into nroff/troff man macros. + +This is not the original version by Fred Dalrymple, but one with the +modifications by David Bolen with Debian changes. + +%description -l pl +docbook-to-man to wsadowy konwerter przekształcający strony manuala +uniksowego z formatu DocBook SGML do makr nroffa/troffa. + +Nie jest to oryginalna wersja autorstwa Freda Dalrymple'a, lecz wersja +z modyfikacjami Davida Bolena oraz zmianami z Debiana. + +%prep +%setup -q -n %{name}-%{version}.orig +%patch0 -p1 +%{__patch} -p1 -s < debian/patches/01-conglomeration.dpatch +%patch1 -p1 +%patch2 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + OPT="%{rpmcflags}" \ + ROOT=%{_prefix} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/sgml,%{_mandir}/man{1,5}} + +%{__make} install \ + ROOT=$RPM_BUILD_ROOT%{_prefix} + +install Doc/{docbook-to-man.1,instant.1} $RPM_BUILD_ROOT%{_mandir}/man1 +install Doc/transpec.1 $RPM_BUILD_ROOT%{_mandir}/man5/transpec.5 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README README.ANS +%attr(755,root,root) %{_bindir}/docbook-to-man +%attr(755,root,root) %{_bindir}/instant +%{_datadir}/sgml/transpec +%{_mandir}/man1/docbook-to-man.1* +%{_mandir}/man1/instant.1* +%{_mandir}/man5/transpec.5* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/10/28 10:22:15 qboosh +- new (ANS version, with debian patch -21) ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
