rpms/xmltoman/devel xmltoman-0.3-timestamps.patch, NONE, 1.1 xmltoman.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lubomir Kundrak (lkundrak)
fedora-extras-commits at redhat.com
Wed Mar 12 17:52:22 UTC 2008
Author: lkundrak
Update of /cvs/pkgs/rpms/xmltoman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2377/devel
Modified Files:
.cvsignore sources
Added Files:
xmltoman-0.3-timestamps.patch xmltoman.spec
Log Message:
initial import
xmltoman-0.3-timestamps.patch:
--- NEW FILE xmltoman-0.3-timestamps.patch ---
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
--- NEW FILE xmltoman.spec ---
Name: xmltoman
Version: 0.3
Release: 2%{?dist}
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
* Wed Mar 12 2008 Lubomir Kundrak <lkundrak at redhat.com> - 0.3-2
- Preserve timestamps, sanitize requires (thanks to Parag AN)
* Sun Mar 09 2008 Lubomir Kundrak <lkundrak at redhat.com> - 0.3-1
- Initial packaging attempt
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xmltoman/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 Mar 2008 17:20:46 -0000 1.1
+++ .cvsignore 12 Mar 2008 17:51:49 -0000 1.2
@@ -0,0 +1 @@
+xmltoman-0.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xmltoman/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Mar 2008 17:20:46 -0000 1.1
+++ sources 12 Mar 2008 17:51:49 -0000 1.2
@@ -0,0 +1 @@
+30272d184b99f5920994bda9abe4baf7 xmltoman-0.3.tar.gz
More information about the fedora-extras-commits
mailing list