summaryrefslogtreecommitdiff
path: root/redhat/xsd.spec
blob: 60088fecc76f90c30d7f91a10cd2f612bf353607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
%ifarch i686
%define arch i686
%endif

%ifarch x86_64
%define arch x86_64
%endif

Summary: XML Schema to C++ data binding compiler
Name: xsd
Version: 4.0.0
Release: 1
License: GPLv2 + exceptions
Group: Development/Tools
URL: http://www.codesynthesis.com/products/xsd/
Source: %{name}-%{version}-%{arch}-linux-gnu.tar.bz2
Prefix: %{_prefix}
Buildroot: %{_tmppath}/%{name}-root
AutoReqProv: no

%description
CodeSynthesis XSD is an 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.

%prep
%setup -q -n %{name}-%{version}-%{arch}-linux-gnu

%build

# We don't want the binaries to be stripped.
#
%ifarch x86_64
%define __os_install_post /usr/lib/rpm/brp-compress
%endif

%install

rm -rf ${RPM_BUILD_ROOT}

mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_includedir}
mkdir -p $RPM_BUILD_ROOT%{_docdir}/xsd
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1

cp -rL bin/* $RPM_BUILD_ROOT%{_bindir}/

cp -rL libxsd/xsd $RPM_BUILD_ROOT%{_includedir}/

cp -rL NEWS $RPM_BUILD_ROOT%{_docdir}/xsd/
cp -rL README $RPM_BUILD_ROOT%{_docdir}/xsd/
cp -rL doc/default.css $RPM_BUILD_ROOT%{_docdir}/xsd/
cp -rL doc/xsd.xhtml $RPM_BUILD_ROOT%{_docdir}/xsd/
cp -rL doc/cxx/tree $RPM_BUILD_ROOT%{_docdir}/xsd/
cp -rL doc/cxx/parser $RPM_BUILD_ROOT%{_docdir}/xsd/
cp -rL examples $RPM_BUILD_ROOT%{_docdir}/xsd/

cp -rL doc/xsd.1 $RPM_BUILD_ROOT%{_mandir}/man1/


%clean
rm -rf ${RPM_BUILD_ROOT}

%post

%preun

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

%changelog
* Fri Jul 18 2014 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release (4.0.0)

* Tue Apr 27 2010 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Tue Sep 30 2008 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Wed Feb 06 2008 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Tue Jul 31 2007 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Tue Jan 23 2007 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Sep 18 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Jul 10 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon May 01 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Apr 18 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Sun Mar 13 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Sun Feb 05 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Jan 16 2006 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Dec 05 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Tue Nov 08 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Oct 20 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Mon Oct 03 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Fri Sep 16 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Thu Sep 01 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Thu Aug 25 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Sat Aug 06 2005 Boris Kolpackov <boris@codesynthesis.com>
  - new upstream release

* Wed Jul 20 2005 Boris Kolpackov <boris@codesynthesis.com>
  - spec file written for xsd