[mingw-xerces-c] Add mingw64 package
Kalev Lember
kalev at fedoraproject.org
Thu Mar 27 10:47:30 UTC 2014
commit 28f2b77ec6120009aac202443bca01e521033e85
Author: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
Date: Sun Feb 2 21:57:18 2014 -0600
Add mingw64 package
mingw-xerces-c.spec | 44 +++++++++++++++++++++++++++++++++++---------
1 files changed, 35 insertions(+), 9 deletions(-)
---
diff --git a/mingw-xerces-c.spec b/mingw-xerces-c.spec
index 53e63e0..b970136 100644
--- a/mingw-xerces-c.spec
+++ b/mingw-xerces-c.spec
@@ -1,10 +1,8 @@
-%global __strip %{mingw32_strip}
-%global __objdump %{mingw32_objdump}
-%define __debug_install_post %{mingw32_debug_install_post}
+%{?mingw_package_header}
Name: mingw-xerces-c
Version: 3.1.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: MingGW Windows validating XML parser
Group: Development/Libraries
@@ -20,6 +18,11 @@ BuildRequires: mingw32-gcc
BuildRequires: mingw32-gcc-c++
BuildRequires: mingw32-binutils
+BuildRequires: mingw64-filesystem
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-gcc-c++
+BuildRequires: mingw64-binutils
+
%description
Xerces-C is a validating XML parser written in a portable subset of
C++. Xerces-C makes it easy to give your application the ability to
@@ -30,7 +33,7 @@ faithful to the XML 1.0 recommendation and associated standards (DOM
%package -n mingw32-xerces-c
-Summary: MingGW Windows validating XML parser
+Summary: MingGW x86 Windows validating XML parser
Requires: pkgconfig
%description -n mingw32-xerces-c
@@ -41,8 +44,20 @@ generating, manipulating, and validating XML documents. Xerces-C is
faithful to the XML 1.0 recommendation and associated standards (DOM
1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces).
+%package -n mingw64-xerces-c
+Summary: MingGW x64 Windows validating XML parser
+Requires: pkgconfig
+
+%description -n mingw64-xerces-c
+Xerces-C is a validating XML parser written in a portable subset of
+C++. Xerces-C makes it easy to give your application the ability to
+read and write XML data. A shared library is provided for parsing,
+generating, manipulating, and validating XML documents. Xerces-C is
+faithful to the XML 1.0 recommendation and associated standards (DOM
+1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces).
+
-%{?mingw32_debug_package}
+%{?mingw_debug_package}
%prep
@@ -51,16 +66,17 @@ faithful to the XML 1.0 recommendation and associated standards (DOM
%build
-%{mingw32_configure} \
+%mingw_configure \
--disable-static \
--disable-pretty-make
-make %{?_smp_mflags}
+%mingw_make %{?_smp_mflags}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+%mingw_make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{mingw32_bindir}/*.exe
+rm -f $RPM_BUILD_ROOT%{mingw64_bindir}/*.exe
# Drop all .la files
find $RPM_BUILD_ROOT -name "*.la" -delete
@@ -73,8 +89,18 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%{mingw32_libdir}/libxerces-c.dll.a
%{mingw32_libdir}/pkgconfig/xerces-c.pc
+%files -n mingw64-xerces-c
+%doc LICENSE
+%{mingw64_includedir}/xercesc/
+%{mingw64_bindir}/libxerces-c-3-1.dll
+%{mingw64_libdir}/libxerces-c.dll.a
+%{mingw64_libdir}/pkgconfig/xerces-c.pc
+
%changelog
+* Sun Feb 02 2014 Yaakov Selkowitz <yselkowitz at users.sourceforge.net> - 3.1.1-9
+- Added mingw64 package.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list