10 Commits

View File

@ -1,25 +1,23 @@
#%define pckver %(echo %version | tr '.' '_')
%define majver %(echo %version | cut -d. -f 1-2)
Name: libxerces-c
Version: 3.1.1
Release: 2mamba
Version: 3.3.0
Release: 1mamba
Summary: A validating XML parser written in a portable subset of C++
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://xml.apache.org/xerces-c
Source: http://mirror.soluzionisis.com/apache/xerces/c/3/sources/xerces-c-%{version}.tar.gz
#http://apache.fagioli.biz/xerces/c/sources/xerces-c-src_%{pckver}.tar.gz
License: Apache License Version 2.0
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xerces.apache.org/xerces-c/
Source: https://dlcdn.apache.org//xerces/c/3/sources/xerces-c-%{version}.tar.xz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libnsl-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Xerces-C++ is a validating XML parser written in a portable subset of C++.
@ -39,8 +37,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Xerces-C++ is a validating XML parser written in a portable subset of C++.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package tools
Group: System/Tools
@ -49,7 +46,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Xerces-C++ is a validating XML parser written in a portable subset of C++.
This package contains tools provided by %{name}.
%package doc
@ -59,7 +55,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description doc
Xerces-C++ is a validating XML parser written in a portable subset of C++.
This package contains documentation for %{name}.
%prep
@ -94,13 +89,10 @@ export XERCESCROOT=$(pwd)
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libxerces-c-%{majver}.so
%doc CREDITS KEYS LICENSE NOTICE README
%doc CREDITS LICENSE NOTICE
%files devel
%defattr(-,root,root)
@ -115,9 +107,9 @@ export XERCESCROOT=$(pwd)
%{_includedir}/xercesc/validators
%{_includedir}/xercesc/xinclude
%{_libdir}/libxerces-c.a
%{_libdir}/libxerces-c.la
%{_libdir}/libxerces-c.so
%{_libdir}/pkgconfig/xerces-c.pc
%doc KEYS README
%files tools
%defattr(-,root,root)
@ -143,6 +135,36 @@ export XERCESCROOT=$(pwd)
%doc doc samples
%changelog
* Mon Mar 03 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-1mamba
- update to 3.3.0
* Thu Dec 21 2023 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
- automatic version update by autodist
* Sun Oct 23 2022 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
- automatic version update by autodist
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
- automatic version update by autodist
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
* Fri Mar 30 2018 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic version update by autodist
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic update by autodist
* Sat Jul 02 2016 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
- automatic version update by autodist
* Mon May 02 2016 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
- automatic version update by autodist
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.2-1mamba
- update to 3.1.2
* Fri Aug 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-2mamba
- renamed from libxerces-c3 to libxerces-c