update to 2.42.3 [release 2.42.3-1mamba;Sun Sep 29 2024]
This commit is contained in:
parent
ba996e10c1
commit
44afcbaedf
@ -1,27 +1,24 @@
|
||||
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
|
||||
Name: libxml++2
|
||||
Version: 2.38.1
|
||||
Version: 2.42.3
|
||||
Release: 1mamba
|
||||
Summary: A C++ wrapper for the libxml XML parser library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: http://libxmlplusplus.sourceforge.net
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/libxml++/%{majversion}/libxml++-%{version}.tar.xz
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://libxmlplusplus.sourceforge.net/
|
||||
Source: https://download.gnome.org/sources/libxml++/%{majver}/libxml%2B%2B-%{version}.tar.xz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libglibmm-devel
|
||||
BuildRequires: libsigc++-devel
|
||||
BuildRequires: libglibmm24-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libxml2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: mm-common-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
libxml++ is a C++ wrapper for the libxml XML parser library.
|
||||
@ -38,9 +35,6 @@ 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.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%package apidocs
|
||||
@ -49,59 +43,42 @@ 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.
|
||||
This package contains the API documentation needed for development.
|
||||
|
||||
This package contains the API documentation need for development.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n libxml++-%{version}
|
||||
|
||||
%build
|
||||
%configure --enable-static
|
||||
%make
|
||||
%meson
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
#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}
|
||||
%meson_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
#%doc %{_defaultdocdir}/%{name}-%{version}
|
||||
%{_libdir}/libxml++-*.so.*
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/libxml++-*
|
||||
%{_includedir}/libxml++-*/*
|
||||
%{_libdir}/libxml++-*/include/libxml++config.h
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/libxml++-*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files apidocs
|
||||
%defattr(-, root, root)
|
||||
%doc %{_datadir}/devhelp/books/libxml++-*
|
||||
%doc %{_docdir}/libxml++-*/reference
|
||||
|
||||
%changelog
|
||||
* Sun Sep 29 2024 Automatic Build System <autodist@openmamba.org> 2.42.3-1mamba
|
||||
- update to 2.42.3
|
||||
|
||||
* Sun May 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.38.1-1mamba
|
||||
- update to 2.38.1
|
||||
- legacy package
|
||||
|
Loading…
Reference in New Issue
Block a user