[521] | 1 | Summary: Scripts for converting XML to roff or HTML |
---|
| 2 | Summary(ja): XML から roff または HTML に変換するためのスクリプト |
---|
| 3 | Name: xmltoman |
---|
| 4 | Version: 0.4 |
---|
[5569] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | |
---|
| 7 | Group: Applications/Publishing |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://sourceforge.net/projects/xmltoman/ |
---|
| 10 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
| 11 | Patch0: xmltoman-0.3-timestamps.patch |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | BuildRequires: perl(XML::Parser) |
---|
| 15 | BuildArch: noarch |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | This package provides xmltoman and xmlmantohtml scripts, to compile |
---|
| 19 | the xml representation of manual page to either roff source, or HTML |
---|
| 20 | (while providing the CSS stylesheet for eye-candy look). XSL stylesheet |
---|
| 21 | for doing rougly the same job is provided. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q |
---|
| 26 | %patch0 -p1 -b .timestamps |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | make %{?_smp_mflags} |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %install |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %files |
---|
| 43 | %defattr(-,root,root,-) |
---|
| 44 | %{_bindir}/xmltoman |
---|
| 45 | %{_bindir}/xmlmantohtml |
---|
| 46 | %{_datadir}/xmltoman |
---|
| 47 | %doc COPYING README |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %changelog |
---|
[5569] | 51 | * Sat Feb 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2 |
---|
| 52 | - rebuild with Vine6 environment |
---|
| 53 | |
---|
[521] | 54 | * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1 |
---|
| 55 | - initial build for Vine Linux |
---|
| 56 | |
---|
| 57 | * Thu May 29 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.4-1 |
---|
| 58 | - New upstream release |
---|
| 59 | |
---|
| 60 | * Wed Mar 12 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.3-2 |
---|
| 61 | - Preserve timestamps, sanitize requires (thanks to Parag AN) |
---|
| 62 | |
---|
| 63 | * Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.3-1 |
---|
| 64 | - Initial packaging attempt |
---|