libxmlPlusPlus2/libxml++2.spec

118 lines
3.5 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
Name: libxml++2
Version: 2.42.3
Release: 1mamba
Summary: A C++ wrapper for the libxml XML parser library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
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: libglibmm24-devel
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.
This package contains static libraries and header files need for development.
%package apidocs
Group: Documentation
Summary: API documentation for %{name}
%description apidocs
libxml++ is a C++ wrapper for the libxml XML parser library.
This package contains the API documentation needed for development.
%debug_package
%prep
%setup -q -n libxml++-%{version}
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libxml++-*.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libxml++-*
%{_includedir}/libxml++-*/*
%{_libdir}/libxml++-*/include/libxml++config.h
%{_libdir}/libxml++-*.so
%{_libdir}/pkgconfig/*.pc
%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
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 2.37.2-1mamba
- automatic update by autodist
* 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