2024-01-05 19:56:16 +01:00
|
|
|
Name: xsd
|
2024-01-05 19:56:16 +01:00
|
|
|
Version: 4.1.0
|
2024-01-05 19:56:16 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 19:56:16 +01:00
|
|
|
Summary: A W3C XML Schema to C++ translator
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 19:56:16 +01:00
|
|
|
URL: https://www.codesynthesis.com/products/xsd/
|
|
|
|
Source: https://codesynthesis.com/~boris/tmp/xsd/%{version}.a11/xsd-%{version}.a11+dep.tar.bz2
|
2024-01-05 19:56:16 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxerces-c-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: build
|
|
|
|
|
|
|
|
%description
|
|
|
|
CodeSynthesis XSD is a W3C XML Schema to C++ translator. It generates vocabulary-specific, statically-typed C++ mappings (also called bindings) from XML Schema definitions. XSD supports two C++ mappings: in-memory C++/Tree and event-driven C++/Parser.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: libxsd-devel
|
2024-01-05 19:56:16 +01:00
|
|
|
Obsoletes: libxsd-devel < 4.1.0
|
2024-01-05 19:56:16 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 19:56:16 +01:00
|
|
|
%setup -q -n xsd-%{version}.a11+dep
|
2024-01-05 19:56:16 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 19:56:16 +01:00
|
|
|
# FIXME: make fixes building examples but we don't care at the time
|
2024-01-05 19:56:16 +01:00
|
|
|
%make CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" verbose=1
|
|
|
|
#|| true<< _EOF
|
|
|
|
#_EOF
|
2024-01-05 19:56:16 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall install_prefix=%{buildroot}%{_prefix}
|
|
|
|
# %{_bindir}/xsd is already provided by mono-web
|
|
|
|
mv %{buildroot}%{_bindir}/xsd %{buildroot}%{_bindir}/xsdcxx
|
|
|
|
mv %{buildroot}%{_mandir}/man1/xsd.1 %{buildroot}%{_mandir}/man1/xsdcxx.1
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/xsdcxx
|
|
|
|
%{_mandir}/man1/xsdcxx.1*
|
|
|
|
%doc xsd/LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/xsd
|
|
|
|
%{_includedir}/xsd/*
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_docdir}/xsd
|
|
|
|
%{_docdir}/xsd/*
|
|
|
|
%dir %{_docdir}/libxsd
|
|
|
|
%{_docdir}/libxsd/*
|
|
|
|
%doc xsd/NEWS xsd/README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:56:16 +01:00
|
|
|
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-2mamba
|
|
|
|
- rebuilt with optflags
|
|
|
|
|
2024-01-05 19:56:16 +01:00
|
|
|
* Wed Mar 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- update to 4.1.0
|
|
|
|
|
2024-01-05 19:56:16 +01:00
|
|
|
* Thu Oct 09 2014 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:16 +01:00
|
|
|
* Wed Mar 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0.2-3mamba
|
|
|
|
- rebuilt using package with internal deps because external libcult can't be build
|
|
|
|
|
|
|
|
* Mon Dec 31 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0.2-2mamba
|
|
|
|
- rebuilt with libboost 1.52
|
|
|
|
|
|
|
|
* Thu Aug 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0.2-1mamba
|
|
|
|
- package created by autospec
|