2024-01-06 06:13:01 +01:00
|
|
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: libxml++
|
2024-01-06 06:13:01 +01:00
|
|
|
Epoch: 1
|
2024-08-14 11:54:48 +02:00
|
|
|
Version: 5.2.1
|
2024-01-06 06:13:03 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:13:01 +01:00
|
|
|
Summary: A C++ wrapper for the libxml XML parser library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 06:13:02 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:13:02 +01:00
|
|
|
URL: https://libxmlplusplus.sourceforge.net/
|
2024-01-06 06:13:01 +01:00
|
|
|
Source: https://download.gnome.org/sources/libxml++/%{majversion}/libxml++-%{version}.tar.xz
|
2024-01-06 06:13:01 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: mm-common-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
libxml++ is a C++ wrapper for the libxml XML parser library.
|
|
|
|
It has SAX and DOM-like APIs, but does not attempt to conform exactly to the DOM specifications because they are not aimed at C++.
|
|
|
|
Its API is much simpler than the underlying libxml C API.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: libxml2-devel
|
|
|
|
Requires: libsigc++2-devel
|
|
|
|
Requires: libglibmm-devel
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libxml++ is a C++ wrapper for the libxml XML parser library.
|
|
|
|
It has SAX and DOM-like APIs, but does not attempt to conform exactly to the DOM specifications because they are not aimed at C++.
|
|
|
|
Its API is much simpler than the underlying libxml C API.
|
2024-01-06 06:13:02 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 06:13:01 +01:00
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
libxml++ is a C++ wrapper for the libxml XML parser library.
|
|
|
|
It has SAX and DOM-like APIs, but does not attempt to conform exactly to the DOM specifications because they are not aimed at C++.
|
|
|
|
Its API is much simpler than the underlying libxml C API.
|
2024-01-06 06:13:01 +01:00
|
|
|
This package contains the API documentation needed for development.
|
|
|
|
|
2024-01-06 06:13:02 +01:00
|
|
|
%debug_package
|
2024-01-06 06:13:01 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 06:13:01 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 06:13:01 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 06:13:01 +01:00
|
|
|
%meson_install
|
2024-01-06 06:13:02 +01:00
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
#docdir=%{_defaultdocdir}/%{name}-%{version}/docs
|
|
|
|
|
|
|
|
#pushd %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
|
|
|
#mv docs/reference/html reference
|
|
|
|
#mv docs/manual/html manual
|
|
|
|
#rm -fr docs
|
|
|
|
#popd
|
|
|
|
|
|
|
|
#install -D -m 0644 AUTHORS COPYING ChangeLog NEWS README \
|
|
|
|
# %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 06:13:02 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2024-01-06 06:13:01 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 06:13:01 +01:00
|
|
|
%{_libdir}/libxml++*.so.*
|
2024-01-15 10:06:41 +01:00
|
|
|
%doc COPYING
|
2024-01-06 06:13:01 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/%{name}-?.?/%{name}/exceptions
|
|
|
|
%{_includedir}/%{name}-?.?/%{name}/exceptions/*.h
|
|
|
|
%dir %{_includedir}/%{name}-?.?/%{name}/io
|
|
|
|
%{_includedir}/%{name}-?.?/%{name}/io/*.h
|
|
|
|
%dir %{_includedir}/%{name}-?.?/%{name}
|
|
|
|
%{_includedir}/%{name}-?.?/%{name}/*.h
|
|
|
|
%dir %{_includedir}/%{name}-?.?/%{name}/nodes
|
|
|
|
%{_includedir}/%{name}-?.?/%{name}/nodes/*.h
|
|
|
|
%dir %{_includedir}/%{name}-?.?/%{name}/parsers
|
|
|
|
%{_includedir}/%{name}-?.?/%{name}/parsers/*.h
|
|
|
|
%dir %{_includedir}/%{name}-?.?/%{name}/validators
|
|
|
|
%{_includedir}/%{name}-?.?/%{name}/validators/*.h
|
|
|
|
%dir %{_libdir}/%{name}-?.?/include
|
|
|
|
%{_libdir}/%{name}-?.?/include/*.h
|
2024-01-06 06:13:01 +01:00
|
|
|
%{_libdir}/libxml++*.so
|
2024-01-06 06:13:01 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
#%files apidocs
|
|
|
|
#%defattr(-, root, root)
|
|
|
|
#%doc %{_datadir}/devhelp/books/%{name}-*
|
|
|
|
#%doc %{_docdir}/%{name}-*/reference
|
2024-01-06 06:13:01 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-08-14 11:54:48 +02:00
|
|
|
* Wed Aug 14 2024 Automatic Build System <autodist@openmamba.org> 5.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-15 10:06:41 +01:00
|
|
|
* Sun Jan 14 2024 Automatic Build System <autodist@openmamba.org> 5.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:13:03 +01:00
|
|
|
* Thu Mar 23 2023 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:13:02 +01:00
|
|
|
* Sun Oct 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.2-2mamba
|
|
|
|
- re-enable debug_package after rpm 5.0.2-2mamba fix of brp-strip for buildroot with + characters like this
|
|
|
|
|
2024-01-06 06:13:02 +01:00
|
|
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:13:02 +01:00
|
|
|
* Sun May 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.1-1mamba
|
|
|
|
- update to 5.0.1
|
|
|
|
|
2024-01-06 06:13:02 +01:00
|
|
|
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-2mamba
|
|
|
|
- downgrade to current stable version (epoch bumped)
|
|
|
|
|
|
|
|
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- update to 3.2.2
|
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.1-1mamba
|
|
|
|
- update to 4.9.1
|
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
* Thu May 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- update to 3.0.0
|
|
|
|
|
|
|
|
* Thu May 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.37.2-2mamba
|
|
|
|
- rebuilt with gcc 6.1
|
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 2.37.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:13:01 +01:00
|
|
|
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 2.37.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 04 2012 Automatic Build System <autodist@mambasoft.it> 2.36.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 2.35.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.34.2-1mamba
|
|
|
|
- update to 2.34.2
|
|
|
|
|
|
|
|
* Mon Oct 25 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
|
|
|
|
- automatic update to 2.32.0 by autodist
|
|
|
|
|
|
|
|
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 2.30.1-1mamba
|
|
|
|
- automatic update to 2.30.1 by autodist
|
|
|
|
|
|
|
|
* Fri Mar 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.2-1mamba
|
|
|
|
- update to 2.24.2
|
|
|
|
|
|
|
|
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 26 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.18.1-1mamba
|
|
|
|
- package created by autospec
|