added debug package and install pkgconfig file [release 2.6.2-3mamba;Tue May 09 2023]
This commit is contained in:
parent
937f48c8ab
commit
f0899578fb
@ -1,6 +1,4 @@
|
|||||||
# libtinyxml
|
# libtinyxml
|
||||||
|
|
||||||
TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs. Have you ever found yourself writing a text file parser every time you needed to save human readable data or serialize objects?
|
TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs.
|
||||||
TinyXML solves the text I/O file once and for all.
|
|
||||||
(Or, as a friend said, ends the Just Another Text File Parser problem.)
|
|
||||||
|
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
%define pkgver %(echo %version | tr . _)
|
%define pkgver %(echo %version | tr . _)
|
||||||
Name: libtinyxml
|
Name: libtinyxml
|
||||||
Version: 2.6.2
|
Version: 2.6.2
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: is a simple, small, C++ XML parser that can be easily integrating into other programs.
|
Summary: A simple, small, C++ XML parser that can be easily integrating into other programs
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.grinninglizard.com/tinyxml/
|
URL: http://www.grinninglizard.com/cgi-sys/suspendedpage.cgi
|
||||||
Source: http://downloads.sourceforge.net/tinyxml/tinyxml_%{pkgver}.tar.gz
|
Source: http://downloads.sourceforge.net/tinyxml/tinyxml_%{pkgver}.tar.gz
|
||||||
|
Source1: tinyxml.pc
|
||||||
Patch0: tinyxml-2.5.3-stl.patch
|
Patch0: tinyxml-2.5.3-stl.patch
|
||||||
Patch1: %{name}-2.6.1-entity.patch
|
Patch1: %{name}-2.6.1-entity.patch
|
||||||
License: zlib
|
License: zlib
|
||||||
@ -17,12 +18,9 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs. Have you ever found yourself writing a text file parser every time you needed to save human readable data or serialize objects?
|
TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs.
|
||||||
TinyXML solves the text I/O file once and for all.
|
|
||||||
(Or, as a friend said, ends the Just Another Text File Parser problem.)
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -30,14 +28,12 @@ Summary: Static libraries and headers for %{name}
|
|||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs. Have you ever found yourself writing a text file parser every time you needed to save human readable data or serialize objects?
|
TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs.
|
||||||
TinyXML solves the text I/O file once and for all.
|
This package contains libraries and header files needed for development.
|
||||||
(Or, as a friend said, ends the Just Another Text File Parser problem.)
|
|
||||||
|
|
||||||
This package contains libraries and header files need for development.
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q -n tinyxml
|
%setup -q -n tinyxml
|
||||||
%patch0 -p1 -b .stl
|
%patch0 -p1 -b .stl
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
@ -58,6 +54,7 @@ install -m 755 %{name}.so.0.%{version} %{buildroot}%{_libdir}
|
|||||||
ln -s %{name}.so.0.%{version} %{buildroot}%{_libdir}/%{name}.so.0
|
ln -s %{name}.so.0.%{version} %{buildroot}%{_libdir}/%{name}.so.0
|
||||||
ln -s %{name}.so.0.%{version} %{buildroot}%{_libdir}/%{name}.so
|
ln -s %{name}.so.0.%{version} %{buildroot}%{_libdir}/%{name}.so
|
||||||
install -p -m 644 tinyxml.h %{buildroot}%{_includedir}
|
install -p -m 644 tinyxml.h %{buildroot}%{_includedir}
|
||||||
|
install -Dm644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/tinyxml.pc
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -67,16 +64,20 @@ install -p -m 644 tinyxml.h %{buildroot}%{_includedir}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libtinyxml.so.*
|
||||||
%doc changes.txt readme.txt
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libtinyxml.so
|
||||||
|
%{_libdir}/pkgconfig/tinyxml.pc
|
||||||
|
%doc changes.txt readme.txt
|
||||||
%doc docs/*
|
%doc docs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-3mamba
|
||||||
|
- added debug package and install pkgconfig file
|
||||||
|
|
||||||
* Tue Feb 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-2mamba
|
* Tue Feb 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-2mamba
|
||||||
- rebuilt with gcc 5.3.0
|
- rebuilt with gcc 5.3.0
|
||||||
|
|
||||||
|
10
tinyxml.pc
Normal file
10
tinyxml.pc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: TinyXml
|
||||||
|
Description: simple, small, C++ XML parser
|
||||||
|
Version: 2.6.2
|
||||||
|
Libs: -L${libdir} -ltinyxml
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in New Issue
Block a user