rpms/xsd/F-11 import.log, NONE, 1.1 xsd-3.2.0-manfix.patch, NONE, 1.1 xsd-3.2.0-xsdcxx-rename.patch, NONE, 1.1 xsd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Antti Andreimann anttix at fedoraproject.org
Tue Jul 7 15:25:38 UTC 2009


Author: anttix

Update of /cvs/pkgs/rpms/xsd/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5370/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log xsd-3.2.0-manfix.patch 
	xsd-3.2.0-xsdcxx-rename.patch xsd.spec 
Log Message:
imported xsd package for F-11



--- NEW FILE import.log ---
xsd-3_2_0-4_fc12:F-11:xsd-3.2.0-4.fc12.src.rpm:1246980245

xsd-3.2.0-manfix.patch:

--- NEW FILE xsd-3.2.0-manfix.patch ---
diff -up xsd-3.2.0-2/documentation/xsd.1.manfix xsd-3.2.0-2/documentation/xsd.1
--- xsd-3.2.0-2/documentation/xsd.1.manfix	2009-05-20 23:10:39.000000000 +0300
+++ xsd-3.2.0-2/documentation/xsd.1	2009-05-20 23:13:21.000000000 +0300
@@ -1697,7 +1697,7 @@ will issue diagnostic messages to
 and exit with non-zero exit code.
 .SH BUGS
 Send bug reports to the xsd-users at codesynthesis.com mailing list.
-./' SH SEE ALSO
+.SH SEE ALSO
 .SH COPYRIGHT
 Copyright (c) 2005-2008 Code Synthesis Tools CC.
 

xsd-3.2.0-xsdcxx-rename.patch:

--- NEW FILE xsd-3.2.0-xsdcxx-rename.patch ---
diff -up xsd-3.2.0-2/documentation/xsd.1.xsdcxx-rename xsd-3.2.0-2/documentation/xsd.1
--- xsd-3.2.0-2/documentation/xsd.1.xsdcxx-rename	2008-09-23 13:36:25.000000000 +0300
+++ xsd-3.2.0-2/documentation/xsd.1	2009-05-20 23:10:39.000000000 +0300
@@ -3,14 +3,14 @@
 .\"
 .TH XSD 1 "September 2008" "XSD 3.2.0"
 .SH NAME
-xsd \- W3C XML Schema to C++ Compiler
+xsdcxx \- W3C XML Schema to C++ Compiler
 .\"
 .\"
 .\"
 .\"--------------------------------------------------------------------
 .SH SYNOPSIS
 .\"--------------------------------------------------------------------
-.B xsd
+.B xsdcxx
 .I command
 .B [
 .I options
@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler
 .I file
 .B ...]
 .in
-.B xsd help
+.B xsdcxx help
 .B [
 .I command
 .B ]
 .in
-.B xsd version
+.B xsdcxx version
 .\"
 .\"
 .\"
 .\"--------------------------------------------------------------------
 .SH DESCRIPTION
 .\"--------------------------------------------------------------------
-.B xsd
+.B xsdcxx
 generates vocabulary-specific, statically-typed C++ mapping from W3C XML
 Schema definitions. Particular mapping to produce is selected by a
 .IR command .
@@ -96,7 +96,7 @@ Print usage information and exit. Use
 .PP
 .RS
 .RS 3
-.B xsd help
+.B xsdcxx help
 .I command
 .RE
 .PP
@@ -181,7 +181,7 @@ for the current translation unit is empt
 with namespace
 .B http://example.com/hello
 and you run
-.B xsd
+.B xsdcxx
 on this file, then the string in question would be:
 
 .B \ http://example.com/hello
@@ -550,7 +550,7 @@ for the current translation unit is empt
 with namespace
 .B http://example.com/hello
 and you run
-.B xsd
+.B xsdcxx
 on this file, then the string in question would be:
 
 .B \ http://example.com/hello element
@@ -1691,7 +1691,7 @@ option. With this approach you don't nee
 .\"
 .SH DIAGNOSTICS
 If the input file is not a valid W3C XML Schema definition,
-.B xsd
+.B xsdcxx
 will issue diagnostic messages to
 .B STDERR
 and exit with non-zero exit code.
diff -up xsd-3.2.0-2/documentation/xsd.xhtml.xsdcxx-rename xsd-3.2.0-2/documentation/xsd.xhtml
--- xsd-3.2.0-2/documentation/xsd.xhtml.xsdcxx-rename	2008-08-07 14:54:35.000000000 +0300
+++ xsd-3.2.0-2/documentation/xsd.xhtml	2009-05-20 23:10:39.000000000 +0300
@@ -50,19 +50,19 @@
 
   <h1>NAME</h1>
 
-  <p>xsd - W3C XML Schema to C++ Compiler</p>
+  <p>xsdcxx - W3C XML Schema to C++ Compiler</p>
 
   <h1>SYNOPSIS</h1>
 
   <dl id="synopsis">
-    <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
-    <dt><code><b>xsd help</b> [<i>command</i>]</code></dt>
-    <dt><code><b>xsd version</b></code></dt>
+    <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
+    <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt>
+    <dt><code><b>xsdcxx version</b></code></dt>
   </dl>
 
   <h1>DESCRIPTION</h1>
 
-  <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed
+  <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed
   C++ mapping from W3C XML Schema definitions. Particular mapping to
   produce is selected by a <code><i>command</i></code>. Each mapping has
   a number of mapping-specific <code><i>options</i></code> that should
@@ -104,7 +104,7 @@
 
     <dt><code><b>help</b></code></dt>
     <dd>Print usage information and exit. Use
-      <p><code><b>xsd help</b> <i>command</i></code></p>
+      <p><code><b>xsdcxx help</b> <i>command</i></code></p>
       for command-specific help.
     </dd>
 
@@ -164,7 +164,7 @@
       <p>The <code><i>filename</i></code> for the current translation unit
         is empty. For example, if you have file <code><b>hello.xsd</b></code>
         with namespace <code><b>http://example.com/hello</b></code> and you run
-        <code><b>xsd</b></code> on this file, then the string in question
+        <code><b>xsdcxx</b></code> on this file, then the string in question
         would be:</p>
 
       <p><code> <b>http://example.com/hello</b></code></p>
@@ -493,7 +493,7 @@
       <p>The <code><i>filename</i></code> for the current translation unit
         is empty. For example, if you have file <code><b>hello.xsd</b></code>
         with namespace <code><b>http://example.com/hello</b></code> and you run
-        <code><b>xsd</b></code> on this file, then the string in question
+        <code><b>xsdcxx</b></code> on this file, then the string in question
         would be:</p>
 
       <p><code> <b>http://example.com/hello element</b></code></p>
@@ -1447,7 +1447,7 @@ namespace .*
   <h1>DIAGNOSTICS</h1>
 
   <p>If the input file is not a valid W3C XML Schema definition,
-    <code><b>xsd</b></code> will issue diagnostic messages to STDERR
+    <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR
     and exit with non-zero exit code.</p>
 
   <h1>BUGS</h1>


--- NEW FILE xsd.spec ---
Name:           xsd
Version:        3.2.0
Release:        4%{?dist}
Summary:        W3C XML schema to C++ data binding compiler

Group:          Development/Tools
# Exceptions permit otherwise GPLv2 incompatible combination with ASL 2.0
License:        GPLv2 with exceptions and ASL 2.0  
URL:            http://www.codesynthesis.com/products/xsd/
Source0:        http://www.codesynthesis.com/download/xsd/3.2/xsd-%{version}+dep.tar.bz2
Patch0:         xsd-3.2.0-xsdcxx-rename.patch
Patch1:         xsd-3.2.0-manfix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  m4 boost-devel xerces-c-devel
# Requires:  ace-devel - only needed for applications using
#                        Adaptive Communication Environment (ACE) streams,
#                        enable when Fedora gets ACE packages.
#                        See http://www.cs.wustl.edu/~schmidt/ACE.html and
#                        https://bugzilla.redhat.com/show_bug.cgi?id=450164
Requires:       xerces-c-devel

%description
CodeSynthesis XSD is an open-source, cross-platform W3C XML Schema to
C++ data binding compiler. Provided with an XML instance specification
(XML Schema), it generates C++ classes that represent the given
vocabulary as well as parsing and serialization code.
You can then access the data stored in XML using types and functions
that semantically correspond to your application domain rather than
dealing with intricacies of reading and writing XML.


%package        doc
Group:          Documentation
Summary:        API documentation files for %{name}

%description    doc
This package contains API documentation for %{name}.


%prep
%setup -q -n xsd-%{version}+dep
pushd xsd-*
%patch0 -p1 -b .xsdcxx-rename
%patch1 -p1 -b .manfix
popd


%build
MAKEFLAGS="verbose=1" CXXFLAGS=$RPM_OPT_FLAGS ./build.sh


%install
rm -rf $RPM_BUILD_ROOT
rm -rf apidocdir

MAKEFLAGS="install_prefix=$RPM_BUILD_ROOT%{_prefix}" ./build.sh install

# Split API documentation to -doc subpackage.
mkdir apidocdir
mv $RPM_BUILD_ROOT%{_datadir}/doc/xsd/*.{xhtml,css} apidocdir/
mv $RPM_BUILD_ROOT%{_datadir}/doc/xsd/cxx/ apidocdir/
mv $RPM_BUILD_ROOT%{_datadir}/doc/xsd/ docdir/

# Convert to utf-8.
for file in docdir/NEWS; do
    mv $file timestamp
    iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
    touch -r timestamp $file
done

# Rename binary to xsdcxx to avoid conflicting with mono-web package.
mv $RPM_BUILD_ROOT%{_bindir}/xsd $RPM_BUILD_ROOT%{_bindir}/xsdcxx
mv $RPM_BUILD_ROOT%{_mandir}/man1/xsd.1 $RPM_BUILD_ROOT%{_mandir}/man1/xsdcxx.1

# Remove duplicate docs.
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxsd

# Remove Microsoft Visual C++ compiler helper files.
rm -rf $RPM_BUILD_ROOT%{_includedir}/xsd/cxx/compilers

# Remove redundant PostScript files that rpmlint grunts about not being UTF8
# See: https://bugzilla.redhat.com/show_bug.cgi?id=502024#c27
# for Boris Kolpackov's explanation about those
find apidocdir -name "*.ps" | xargs rm -f
# Remove other unwanted crap
find apidocdir -name "*.doxygen" \
            -o -name "makefile" \
            -o -name "*.html2ps" | xargs rm -f

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc docdir/*
%{_bindir}/xsdcxx
%{_includedir}/xsd/
%{_mandir}/man1/xsdcxx.1*

%files doc
%defattr(-,root,root,-)
%doc apidocdir/*


%changelog
* Tue Jul 07 2009 Antti Andreimann <Antti.Andreimann at mail.ee> 3.2.0-4
- Removed redundant PostScript files from the doc package

* Mon Jul 06 2009 Antti Andreimann <Antti.Andreimann at mail.ee> 3.2.0-3
- Added ACE homepage to SPEC file comments
- Added verbose=1 to MAKEFLAGS so compiler flags could be
  verified from build logs.

* Mon Jul 04 2009 Antti Andreimann <Antti.Andreimann at mail.ee> 3.2.0-2
- Changed License tag to clarify which exceptions we are talking about

* Wed May 20 2009 Antti Andreimann <Antti.Andreimann at mail.ee> 3.2.0-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xsd/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	7 Jul 2009 04:25:09 -0000	1.1
+++ .cvsignore	7 Jul 2009 15:25:08 -0000	1.2
@@ -0,0 +1 @@
+xsd-3.2.0+dep.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xsd/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	7 Jul 2009 04:25:09 -0000	1.1
+++ sources	7 Jul 2009 15:25:08 -0000	1.2
@@ -0,0 +1 @@
+db1ad2ea36ae987c8cad939b2b07b152  xsd-3.2.0+dep.tar.bz2




More information about the fedora-extras-commits mailing list