72 lines
1.9 KiB
RPMSpec
72 lines
1.9 KiB
RPMSpec
|
Name: pugixml
|
||
|
Version: 1.7
|
||
|
Release: 2mamba
|
||
|
Summary: A light-weight C++ XML processing library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||
|
URL: http://pugixml.org/
|
||
|
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
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
A light-weight C++ XML processing library. It features:
|
||
|
DOM-like interface with rich traversal/modification capabilities
|
||
|
Extremely fast non-validating XML parser which constructs the DOM tree from an XML file/buffer
|
||
|
XPath 1.0 implementation for complex data-driven tree queries
|
||
|
Full Unicode support with Unicode interface variants and automatic encoding conversions
|
||
|
|
||
|
%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
|
||
|
%setup -q -n pugixml-%{version}
|
||
|
|
||
|
%build
|
||
|
cd scripts
|
||
|
%cmake
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
cd scripts
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libpugixml.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%doc readme.txt docs/*
|
||
|
%{_includedir}/*.hpp
|
||
|
%{_libdir}/cmake/*
|
||
|
%{_libdir}/*.so
|
||
|
|
||
|
%changelog
|
||
|
* 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
|