Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw64-ghostscript
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw64-ghostscript
--- mingw64-ghostscript.spec.orig +++ mingw64-ghostscript.spec @@ -15,6 +15,7 @@ Group: Development/Libraries Url: http://www.ghostscript.com/ Source0: ghostscript-%{version}.tar.bz2 Patch0: ghostscript-8.71-windows.patch +Patch1000: ghostscript-8.70-wix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -27,6 +28,9 @@ BuildRequires: mingw64-gettext-tools BuildRequires: mingw64-libtiff-devel BuildRequires: autoconf automake libtool +BuildRequires: mingw64-cross-pkg-config +BuildRequires: wixwine + %description Ghostscript, a postscript interpreter. @@ -53,6 +57,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 @@ -63,7 +68,21 @@ autoconf -f -i --without-x \ --disable-cups \ --disable-contrib -%{_mingw64_make} %{?_smp_mflags} so || %{_mingw64_make} so +%{_mingw64_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=%{_mingw64_prefix}" >> libgs.pc +echo "Libs: -lgs" >> libgs.pc +echo "Cflags: -L%{_mingw64_bindir}" >> libgs.pc +echo "Wixlibs="%{_mingw64_datadir}"/wixlib/libgs.wixlib" >> libgs.pc +echo "Fualflags=-C libgs -D libgs" >> libgs.pc + +candle -o libgs.wixobj libgs.wxs +%{_mingw64_strip} sobin/libgs-8.dll +lit -o libgs.wixlib -bf libgs.wixobj %install @@ -74,6 +93,11 @@ rm -rf $RPM_BUILD_ROOT%{_mingw64_libdir} mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir} install sobin/libgs.dll.a $RPM_BUILD_ROOT%{_mingw64_libdir}/ +mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig +cp libgs.pc $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig/libgs.pc +mkdir -p $RPM_BUILD_ROOT%{_mingw64_datadir}/wixlib +cp libgs.wixlib $RPM_BUILD_ROOT%{_mingw64_datadir}/wixlib/libgs.wixlib + %clean rm -rf $RPM_BUILD_ROOT @@ -94,6 +118,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_mingw64_includedir}/ghostscript %{_mingw64_libdir}/libgs.dll.a +%{_mingw64_libdir}/pkgconfig/libgs.pc +%{_mingw64_datadir}/wixlib/libgs.wixlib %defattr(-,root,root)
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