forked from pool/pugixml
Accepting request 290283 from home:plater:blender
Fixed build and used correct bug number New package needed for OpenImageIO to enable blender to build with cycles bnc#905649. Please add me as maintainer to enable me to submit to factory. OBS-URL: https://build.opensuse.org/request/show/290283 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pugixml?expand=0&rev=1
This commit is contained in:
commit
f7bd7710a0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
pugixml-1.5.tar.gz
Normal file
3
pugixml-1.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d70b98002968d9431e4166e6a76486a6d346eb9a76d1a0e7be58e786d3dee670
|
||||
size 374783
|
52
pugixml.changes
Normal file
52
pugixml.changes
Normal file
@ -0,0 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 5 06:44:51 UTC 2015 - davejplater@gmail.com
|
||||
|
||||
- Update to version 1.5 and prepare for submission to factory
|
||||
See bnc#905649 enable blender cycles. Pugixml needed by OpenImageIO
|
||||
needed by blender for cycles.
|
||||
- Upstream changes:
|
||||
see http://cdn.rawgit.com/zeux/pugixml/v1.5/docs/manual/changes.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 19:28:01 UTC 2014 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 1.4:
|
||||
Specification changes:
|
||||
* Documents without element nodes are now rejected with
|
||||
status_no_document_element error, unless parse_fragment option is used
|
||||
New features:
|
||||
* Added XML fragment parsing (parse_fragment flag)
|
||||
* Added PCDATA whitespace trimming (parse_trim_pcdata flag)
|
||||
* Added long long support for xml_attribute and xml_text (as_llong, as_ullong
|
||||
and set_value/set overloads)
|
||||
* Added hexadecimal integer parsing support for
|
||||
as_int/as_uint/as_llong/as_ullong
|
||||
* Added xml_node::append_buffer to improve performance of assembling
|
||||
documents from fragments
|
||||
* xml_named_node_iterator is now bidirectional
|
||||
* Reduced XPath stack consumption during compilation and evaluation (useful
|
||||
for embedded systems)
|
||||
Compatibility improvements:
|
||||
* Improved support for platforms without wchar_t support
|
||||
* Fixed several false positives in clang static analysis
|
||||
* Fixed several compilation warnings for various GCC versions
|
||||
Bug fixes:
|
||||
* Fixed undefined pointer arithmetic in XPath implementation
|
||||
* Fixed non-seekable iostream support for certain stream types, i.e. boost
|
||||
file_source with pipe input
|
||||
* Fixed xpath_query::return_type() for some expressions
|
||||
* Fixed dllexport issues with xml_named_node_iterator
|
||||
* Fixed find_child_by_attribute assertion for attributes with null name/value
|
||||
- Removed fix_install_libdir.patch (not needed anynore).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 17:27:50 UTC 2014 - perry.werneck@gmail.com
|
||||
|
||||
- Small change in "make install" to fix SLES build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 17 22:02:33 UTC 2013 - asterios.dramis@gmail.com
|
||||
|
||||
- Initial release (version 1.2).
|
||||
- Added a patch (fix_install_libdir.patch) to make the package install the
|
||||
library in the correct libdir (lib or lib64).
|
103
pugixml.spec
Normal file
103
pugixml.spec
Normal file
@ -0,0 +1,103 @@
|
||||
#
|
||||
# spec file for package pugixml
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define so_ver 1
|
||||
|
||||
Name: pugixml
|
||||
Version: 1.5
|
||||
Release: 0
|
||||
Summary: Light-weight C++ XML Processing Library
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
Url: http://pugixml.org/
|
||||
Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
pugixml is 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
|
||||
|
||||
The library is extremely portable and easy to integrate and use.
|
||||
|
||||
%package devel
|
||||
Summary: Development Files for pugixml
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libpugixml%{so_ver} = %{version}
|
||||
|
||||
%description devel
|
||||
This package provides development libraries and headers needed to build
|
||||
software using pugixml.
|
||||
|
||||
%package -n libpugixml%{so_ver}
|
||||
Summary: Light-weight C++ XML Processing Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libpugixml%{so_ver}
|
||||
pugixml is 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
|
||||
|
||||
The library is extremely portable and easy to integrate and use.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
../scripts
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
cd ..
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install -C build
|
||||
rm -rf %{buildroot}%{_libdir}/cmake
|
||||
%post -n libpugixml%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libpugixml%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc readme.txt docs/*
|
||||
%{_includedir}/*.hpp
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files -n libpugixml%{so_ver}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpugixml.so.%{so_ver}*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user