rpms/mingw32-libxml++/devel libxml++-mingw32.patch, NONE, 1.1 mingw32-libxml++.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thomas M. Sailer sailer at fedoraproject.org
Fri Apr 17 17:28:00 UTC 2009


Author: sailer

Update of /cvs/extras/rpms/mingw32-libxml++/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19247

Modified Files:
	.cvsignore sources 
Added Files:
	libxml++-mingw32.patch mingw32-libxml++.spec 
Log Message:
import from review


libxml++-mingw32.patch:

--- NEW FILE libxml++-mingw32.patch ---
--- examples/dom_parser_raw/main.cc.xx	2009-03-23 00:03:58.000000000 +0100
+++ examples/dom_parser_raw/main.cc	2009-03-23 00:04:12.000000000 +0100
@@ -19,6 +19,8 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <fstream>
+
 #include <libxml++/libxml++.h>
 
 #include <iostream>


--- NEW FILE mingw32-libxml++.spec ---
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
%global _use_internal_dependency_generator 0
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}

%global name1 libxml++

Name:           mingw32-%{name1}
Version:        2.26.0
Release:        1%{?dist}
Summary:        MinGW Windows C++ wrapper for the libxml2 XML parser library

Group:          System Environment/Libraries
License:        LGPLv2+
URL:            http://libxmlplusplus.sourceforge.net/
Source:         http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.26/libxml++-%{version}.tar.bz2
Patch0:         libxml++-mingw32.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  mingw32-libxml2 >= 2.6.1
BuildRequires:  mingw32-glibmm24 >= 2.4.0
BuildRequires:  doxygen, graphviz

BuildArch:      noarch

BuildRequires:  mingw32-filesystem >= 23
BuildRequires:  mingw32-gcc
BuildRequires:  mingw32-binutils
BuildRequires:  mingw32-gcc-c++

Requires:       pkgconfig

%description
libxml++ is a C++ wrapper for the libxml2 XML parser library. It's original
author is Ari Johnson and it is currently maintained by Christophe de Vienne
and Murray Cumming.


%prep
%setup -q -n %{name1}-%{version}
%patch0 -p0 -b .mingw32

%build
%{_mingw32_configure} --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_mingw32_docdir}

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr (-,root,root,-)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_mingw32_bindir}/libxml++-2.6-2.dll
%{_mingw32_includedir}/*
%{_mingw32_libdir}/libxml++-2.6.dll.a
%{_mingw32_libdir}/libxml++-2.6.la
%{_mingw32_libdir}/pkgconfig/*
%dir %{_mingw32_libdir}/%{name1}-2.6
%dir %{_mingw32_libdir}/%{name1}-2.6/include
%{_mingw32_libdir}/%{name1}-2.6/include/*.h


%changelog
* Fri Apr 17 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.26.0-1
- update to 2.26.0
- remove docs cruft from install section
- remove dos2unix BR

* Wed Mar 25 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.24.2-4
- add BR's and R's
- remove docs, as they duplicate the native package

* Mon Mar 23 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.24.2-3
- unify main and devel subpackages

* Mon Mar 23 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.24.2-2
- copy from native package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mingw32-libxml++/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Apr 2009 16:40:29 -0000	1.1
+++ .cvsignore	17 Apr 2009 17:27:27 -0000	1.2
@@ -0,0 +1 @@
+libxml++-2.26.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mingw32-libxml++/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Apr 2009 16:40:29 -0000	1.1
+++ sources	17 Apr 2009 17:27:27 -0000	1.2
@@ -0,0 +1 @@
+a52fc7e6e44bb5cc187672930b843f72  libxml++-2.26.0.tar.bz2




More information about the fedora-extras-commits mailing list