rpms/tinyxml/F-7 tinyxml-2.5.3-stl.patch, NONE, 1.1 tinyxml.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Mon Dec 17 10:01:06 UTC 2007
- Previous message (by thread): rpms/tinyxml/F-8 tinyxml-2.5.3-stl.patch, NONE, 1.1 tinyxml.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libwpd/devel libwpd.spec,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwrdegoede
Update of /cvs/extras/rpms/tinyxml/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21356
Modified Files:
.cvsignore sources
Added Files:
tinyxml-2.5.3-stl.patch tinyxml.spec
Log Message:
* Fri Dec 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.5.3-2
- Various improvements from review (bz 407571)
tinyxml-2.5.3-stl.patch:
--- NEW FILE tinyxml-2.5.3-stl.patch ---
diff -up tinyxml/tinyxml.h~ tinyxml/tinyxml.h
--- tinyxml/tinyxml.h~ 2007-11-30 22:39:36.000000000 +0100
+++ tinyxml/tinyxml.h 2007-11-30 22:39:36.000000000 +0100
@@ -26,6 +26,8 @@ distribution.
#ifndef TINYXML_INCLUDED
#define TINYXML_INCLUDED
+#define TIXML_USE_STL 1
+
#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4530 )
--- NEW FILE tinyxml.spec ---
%define underscore_version 2_5_3
Name: tinyxml
Version: 2.5.3
Release: 2%{?dist}
Summary: A simple, small, C++ XML parser
Group: System Environment/Libraries
License: zlib
URL: http://www.grinninglizard.com/tinyxml/
Source0: http://downloads.sourceforge.net/%{name}/%{name}_%{underscore_version}.tar.gz
Patch0: tinyxml-2.5.3-stl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%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 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
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}
%patch0 -p1 -b .stl
touch -r tinyxml.h.stl tinyxml.h
%build
# Not really designed to be build as lib, DYI
for i in tinyxml.cpp tinystr.cpp tinyxmlerror.cpp tinyxmlparser.cpp; do
g++ $RPM_OPT_FLAGS -fPIC -o $i.o -c $i
done
g++ $RPM_OPT_FLAGS -shared -o lib%{name}.so.0.%{version} \
-Wl,-soname,lib%{name}.so.0 *.cpp.o
%install
rm -rf $RPM_BUILD_ROOT
# Not really designed to be build as lib, DYI
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mkdir -p $RPM_BUILD_ROOT%{_includedir}
install -m 755 lib%{name}.so.0.%{version} $RPM_BUILD_ROOT%{_libdir}
ln -s lib%{name}.so.0.%{version} $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.0
ln -s lib%{name}.so.0.%{version} $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
install -p -m 644 %{name}.h $RPM_BUILD_ROOT%{_includedir}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc changes.txt readme.txt
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%doc docs/*
%{_includedir}/*
%{_libdir}/*.so
%changelog
* Fri Dec 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.5.3-2
- Various improvements from review (bz 407571)
* Fri Nov 30 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.5.3-1
- Initial Fedora Package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tinyxml/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 16 Dec 2007 22:05:24 -0000 1.1
+++ .cvsignore 17 Dec 2007 10:00:28 -0000 1.2
@@ -0,0 +1 @@
+tinyxml_2_5_3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tinyxml/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 Dec 2007 22:05:24 -0000 1.1
+++ sources 17 Dec 2007 10:00:28 -0000 1.2
@@ -0,0 +1 @@
+84b605a31628e7f1a6694d47bf5999cc tinyxml_2_5_3.tar.gz
- Previous message (by thread): rpms/tinyxml/F-8 tinyxml-2.5.3-stl.patch, NONE, 1.1 tinyxml.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libwpd/devel libwpd.spec,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list