xmltoman/xmltoman.spec

58 lines
1.4 KiB
RPMSpec
Raw Normal View History

2008-03-12 17:51:49 +00:00
Name: xmltoman
2008-05-29 02:47:04 +00:00
Version: 0.4
Release: 1%{?dist}
2008-03-12 17:51:49 +00:00
Summary: Scripts for converting XML to roff or HTML
Group: Applications/Publishing
License: GPLv2+
URL: http://sourceforge.net/projects/xmltoman/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: xmltoman-0.3-timestamps.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(XML::Parser)
BuildArch: noarch
%description
This package provides xmltoman and xmlmantohtml scripts, to compile
the xml representation of manual page to either roff source, or HTML
(while providing the CSS stylesheet for eye-candy look). XSL stylesheet
for doing rougly the same job is provided.
%prep
%setup -q
%patch0 -p1 -b .timestamps
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/xmltoman
%{_bindir}/xmlmantohtml
%{_datadir}/xmltoman
%doc COPYING README
%changelog
2008-05-29 02:47:04 +00:00
* Thu May 29 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.4-1
- New upstream release
2008-03-12 17:51:49 +00:00
* Wed Mar 12 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.3-2
- Preserve timestamps, sanitize requires (thanks to Parag AN)
* Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.3-1
- Initial packaging attempt