Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw32-ghostscript
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw32-ghostscript
--- mingw32-ghostscript.spec.orig +++ mingw32-ghostscript.spec @@ -25,6 +25,7 @@ Group: Productivity/Graphics Url: http://www.ghostscript.com/ Source0: ghostscript-%{version}.tar.bz2 Patch0: ghostscript-8.71-windows.patch +Patch1000: ghostscript-8.70-wix.patch #!BuildIgnore: post-build-checks BuildRequires: autoconf BuildRequires: automake @@ -38,6 +39,9 @@ BuildRoot: %{_tmppath}/%{name}-%{ve %_mingw32_package_header_debug BuildArch: noarch +BuildRequires: mingw32-cross-pkg-config +BuildRequires: wixwine + %description Ghostscript, a postscript interpreter. @@ -64,6 +68,7 @@ This package provides the Ghostscript li %prep %setup -q -n ghostscript-%{version} %patch0 -p1 -b .windows +%patch1000 -p1 -b .wix %build libtoolize --force --copy --install @@ -74,7 +79,21 @@ autoconf -f -i --without-x \ --disable-cups \ --disable-contrib -%{_mingw32_make} %{?_smp_mflags} so || %{_mingw32_make} so +%{_mingw32_make} --jobs=1 so + +echo "Name: libgs" > libgs.pc +echo "Description: Ghostscript library" >> libgs.pc +echo "Version: %{version}" >> libgs.pc +echo "" >> libgs.pc +echo "prefix=%{_mingw32_prefix}" >> libgs.pc +echo "Libs: -lgs" >> libgs.pc +echo "Cflags: -L%{_mingw32_bindir}" >> libgs.pc +echo "Wixlibs="%{_mingw32_datadir}"/wixlib/libgs.wixlib" >> libgs.pc +echo "Fualflags=-C libgs -D libgs" >> libgs.pc + +candle -o libgs.wixobj libgs.wxs +%{_mingw32_strip} sobin/libgs-8.dll +lit -o libgs.wixlib -bf libgs.wixobj %install %{_mingw32_make} DESTDIR=%{buildroot} soinstall @@ -84,6 +103,14 @@ rm -rf %{buildroot}%{_mingw32_libdir} mkdir -p %{buildroot}%{_mingw32_libdir} install sobin/libgs.dll.a %{buildroot}%{_mingw32_libdir}/ +mkdir -p %{buildroot}%{_mingw32_libdir}/pkgconfig +cp libgs.pc %{buildroot}%{_mingw32_libdir}/pkgconfig/libgs.pc +mkdir -p %{buildroot}%{_mingw32_datadir}/wixlib +cp libgs.wixlib %{buildroot}%{_mingw32_datadir}/wixlib/libgs.wixlib + +mkdir -p %{buildroot}%{_mingw32_libdir} +install sobin/libgs.dll.a %{buildroot}%{_mingw32_libdir}/ + %files %defattr(-,root,root) %{_mingw32_bindir} @@ -99,6 +126,8 @@ install sobin/libgs.dll.a %{buildroot}%{ %defattr(-,root,root) %{_mingw32_includedir}/ghostscript %{_mingw32_libdir}/libgs.dll.a +%{_mingw32_libdir}/pkgconfig/libgs.pc +%{_mingw32_datadir}/wixlib/libgs.wixlib %defattr(-,root,root) %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