Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw32-expat
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw32-expat
--- mingw32-expat.spec.orig +++ mingw32-expat.spec @@ -26,6 +26,7 @@ Url: http://www.libexpat.org/ Source0: http://download.sourceforge.net/expat/expat-%{version}.tar.gz Source1000: %{name}-%{version}-rpmlintrc Patch0: expat-2.0.1-exeext.patch +Patch1000: expat-2.0.1-wix.patch #!BuildIgnore: post-build-checks BuildRequires: autoconf BuildRequires: automake @@ -33,6 +34,7 @@ BuildRequires: libtool BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-filesystem >= 33 +BuildRequires: wixwine BuildRoot: %{_tmppath}/%{name}-%{version}-build %_mingw32_package_header_debug BuildArch: noarch @@ -76,6 +78,7 @@ register handlers. %setup -q -n expat-%{version} %patch0 -p1 -b .exeext +%patch1000 -p1 -b .wix rm -rf autom4te*.cache cp `aclocal --print-ac-dir`/libtool.m4 conftools || exit 1 @@ -86,9 +89,22 @@ libtoolize --copy --force --automake && --disable-static --enable-shared make %{?_smp_mflags} || make +echo "Name: expat" > expat.pc +echo "Description: expat XML parser libary" >> expat.pc +echo "Version: %{version}" >> expat.pc +echo "" >> expat.pc +echo "prefix=%{_mingw32_prefix}" >> expat.pc +echo "Libs: -lexpat" >> expat.pc +echo "Cflags:" >> expat.pc +echo "Wixlibs=%{_mingw32_datadir}/wixlib/expat.wixlib" >> expat.pc +echo "Fualflags=-C expat -D expat" >> expat.pc + %install make DESTDIR=%{buildroot} install %{?_smp_mflags} +mkdir -p %{buildroot}%{_mingw32_libdir}/pkgconfig +cp expat.pc %{buildroot}%{_mingw32_libdir}/pkgconfig/expat.pc + %files %defattr(-,root,root) %{_mingw32_bindir}/xmlwf.exe @@ -103,5 +119,7 @@ make DESTDIR=%{buildroot} install %{?_sm %{_mingw32_libdir}/libexpat.dll.a %{_mingw32_includedir}/expat.h %{_mingw32_includedir}/expat_external.h +%{_mingw32_datadir}/wixlib/expat.wixlib +%{_mingw32_libdir}/pkgconfig/expat.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor