automatic port from devel-java [release 0.4-2mamba;Sun Dec 26 2010]
This commit is contained in:
parent
61f151f5e1
commit
289efcb84b
@ -1,2 +1,6 @@
|
||||
# xmltoman
|
||||
|
||||
xmltoman and xmlmantohtml are two small scripts to convert xml to man pages in
|
||||
groff format or html. It features the usual man page items such a "description",
|
||||
"options", "see also" etc
|
||||
|
||||
|
25
xmltoman-0.3-timestamps.patch
Normal file
25
xmltoman-0.3-timestamps.patch
Normal file
@ -0,0 +1,25 @@
|
||||
Preserve timestamps, thanks Parag.
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=xmltoman-review#c2
|
||||
|
||||
diff -urp xmltoman-0.3.orig/Makefile xmltoman-0.3/Makefile
|
||||
--- xmltoman-0.3.orig/Makefile 2003-10-03 15:43:17.000000000 +0200
|
||||
+++ xmltoman-0.3/Makefile 2008-03-12 13:16:56.000000000 +0100
|
||||
@@ -12,12 +12,12 @@ xmltoman.1: xml/xmltoman.1.xml
|
||||
xmlmantohtml.1: xml/xmlmantohtml.1.xml
|
||||
./xmltoman $< > $@
|
||||
|
||||
-install:
|
||||
- install -D xmltoman $(DESTDIR)/$(PREFIX)/bin/xmltoman
|
||||
- install -D xmlmantohtml $(DESTDIR)/$(PREFIX)/bin/xmlmantohtml
|
||||
- install -D -m 0644 xmltoman.dtd $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.dtd
|
||||
- install -D -m 0644 xmltoman.css $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.css
|
||||
- install -D -m 0644 xmltoman.xsl $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.xsl
|
||||
+install -p:
|
||||
+ install -p -D xmltoman $(DESTDIR)/$(PREFIX)/bin/xmltoman
|
||||
+ install -p -D xmlmantohtml $(DESTDIR)/$(PREFIX)/bin/xmlmantohtml
|
||||
+ install -p -D -m 0644 xmltoman.dtd $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.dtd
|
||||
+ install -p -D -m 0644 xmltoman.css $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.css
|
||||
+ install -p -D -m 0644 xmltoman.xsl $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.xsl
|
||||
|
||||
dist:
|
||||
[ -d $(DISTNAME) ] && rm -rf $(DISTNAME) || true
|
52
xmltoman.spec
Normal file
52
xmltoman.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: xmltoman
|
||||
Version: 0.4
|
||||
Release: 2mamba
|
||||
Summary: Scripts for converting XML to roff or HTML
|
||||
Group: Applications/Publishing
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: gil <puntogil@libero.it>
|
||||
URL: http://sourceforge.net/projects/xmltoman
|
||||
Source: http://dfn.dl.sourceforge.net/sourceforge/xmltoman/xmltoman-%{version}.tar.gz
|
||||
Patch0: xmltoman-0.3-timestamps.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: perl-XML-Parser
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
xmltoman and xmlmantohtml are two small scripts to convert xml to man pages in
|
||||
groff format or html. It features the usual man page items such a "description",
|
||||
"options", "see also" etc
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall PREFIX=%{_prefix}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/xmltoman
|
||||
%{_bindir}/xmlmantohtml
|
||||
%dir %{_datadir}/xmltoman
|
||||
%{_datadir}/xmltoman/xmltoman.dtd
|
||||
%{_datadir}/xmltoman/xmltoman.css
|
||||
%{_datadir}/xmltoman/xmltoman.xsl
|
||||
%doc COPYING ChangeLog README
|
||||
|
||||
%changelog
|
||||
* Sun Dec 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-2mamba
|
||||
- automatic port from devel-java
|
||||
|
||||
* Sat Dec 20 2008 gil <puntogil@libero.it> 0.4-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user