2024-01-06 10:34:58 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 10:34:58 +01:00
|
|
|
Name: pugixml
|
2024-01-06 10:34:58 +01:00
|
|
|
Version: 1.12.1
|
2024-01-06 10:34:58 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:34:58 +01:00
|
|
|
Summary: A light-weight C++ XML processing library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:34:58 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:34:58 +01:00
|
|
|
URL: https://pugixml.org/
|
2024-01-06 10:34:58 +01:00
|
|
|
Source: http://github.com/zeux/pugixml/releases/download/v%{version}/pugixml-%{version}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
2024-01-06 10:34:58 +01:00
|
|
|
A light-weight C++ XML processing library.
|
2024-01-06 10:34:58 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 10:34:58 +01:00
|
|
|
%setup -q -n pugixml-%{majver}
|
2024-01-06 10:34:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpugixml.so.*
|
2024-01-06 10:34:58 +01:00
|
|
|
%doc LICENSE.md
|
2024-01-06 10:34:58 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.hpp
|
2024-01-06 10:34:58 +01:00
|
|
|
%{_libdir}/libpugixml.so
|
|
|
|
%dir %{_libdir}/cmake/pugixml
|
|
|
|
%{_libdir}/cmake/pugixml/pugixml*.cmake
|
|
|
|
%{_libdir}/pkgconfig/pugixml.pc
|
|
|
|
%doc readme.txt
|
2024-01-06 10:34:58 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:34:58 +01:00
|
|
|
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 1.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:58 +01:00
|
|
|
* Thu Feb 10 2022 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:58 +01:00
|
|
|
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 1.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:58 +01:00
|
|
|
* Thu Jan 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-2mamba
|
|
|
|
- fixed specfile name not matching Name: field
|
|
|
|
|
|
|
|
* Mon Jan 04 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.7-1mamba
|
|
|
|
- package created using the webbuild interface
|