C++ class for reading and writing XML structures. No need for a C++ code parser or special pre compiler. Specify a schema entirly in native C++. The schema is verified when XML is read and exceptions are thrown when the XML to be parse is invalid.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
1.9 KiB

9 years ago
Summary: @DESCRIPTION@
Name: @PACKAGE_NAME@
9 years ago
Version: @VERSION@
8 years ago
Release: @BUILD_NUMBER@.@DISTRO@
License: LGPL
Group: Development/Libraries/C++
8 years ago
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
8 years ago
BuildRequires: which, pkgconfig, gnupg, expect, subversion, make, automake, autoconf, rpm-build, binutils-devel, gcc-c++, cppunit-devel, doxygen, graphviz, java-openjdk @RPM_BUILD_DEPEND@ @RPM_DEPEND_IFEXISTS@
#### os dependent definitions ####
%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: lsb-release
%else
%if 0%{?mageia}
BuildRequires: rpm-sign, lsb-release
%else
8 years ago
BuildRequires: rpm-sign, redhat-lsb
%endif
%endif
8 years ago
%if ! 0%{?centos}
9 years ago
BuildRequires: mscgen
%endif
8 years ago
%if 0%{?mageia}
BuildRequires: libtool, libltdl-devel
9 years ago
%else
8 years ago
BuildRequires: libtool, libtool-ltdl-devel
9 years ago
%endif
%description
@README@
This package contains only the shared libraries required at runtime.
9 years ago
%prep
%setup -q
./configure --prefix=/usr \
--sysconfdir=/etc \
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \
--libdir=/usr/%_lib
%build
make
%install
DESTDIR=$RPM_BUILD_ROOT make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
8 years ago
/usr/%_lib/*.so.*
%doc
/usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS
/usr/share/doc/packages/@PACKAGE_NAME@/COPYING
/usr/share/doc/packages/@PACKAGE_NAME@/ChangeLog
/usr/share/doc/packages/@PACKAGE_NAME@/INSTALL
/usr/share/doc/packages/@PACKAGE_NAME@/NEWS
/usr/share/doc/packages/@PACKAGE_NAME@/README
%package devel
9 years ago
Summary: @DESCRIPTION@
Group: Development/Libraries/C++
8 years ago
Requires: @PACKAGE_NAME@ = @VERSION@ @RPM_BUILD_DEPEND@
%description devel
@README@
This Package contains all files required for developement.
%files devel
%defattr(-,root,root,-)
8 years ago
/usr/%_lib/*.so
/usr/%_lib/*.a
/usr/%_lib/*.la
9 years ago
/usr/%_lib/pkgconfig
/usr/include/*
%doc
/usr/share/doc/packages/@PACKAGE_NAME@/html
8 years ago
/usr/share/doc/packages/@PACKAGE_NAME@/examples
%changelog
9 years ago