Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw64-jasper
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw64-jasper
--- mingw64-jasper.spec.orig +++ mingw64-jasper.spec @@ -19,6 +19,7 @@ Patch2: jasper-1.900.1-mingw64.p Patch3: jasper-1.900.1-enable-shared.patch Patch4: patch-libjasper-stepsizes-overflow.diff Patch5: jasper-1.900.1-canonical-target.patch +Patch1000: jasper-1.900.1-wix.patch Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -31,6 +32,9 @@ BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-libjpeg-devel BuildRequires: autoconf automake libtool unzip +BuildRequires: mingw64-cross-pkg-config +BuildRequires: wixwine + %description The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). @@ -63,6 +67,7 @@ specified in the JPEG-2000 Part-1 standa %patch3 -p1 -b .enable-shared %patch4 -p1 -b .overflow %patch5 -p1 -b .canonical-target +%patch1000 -p1 -b .wix %build @@ -74,12 +79,26 @@ echo "lt_cv_deplibs_check_method='pass_a %{_mingw64_configure} \ --disable-opengl --enable-libjpeg \ --enable-shared --disable-static -%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make} +%{_mingw64_make} + +echo "Name: jasper" > jasper.pc +echo "Description: %{Summary}" >> jasper.pc +echo "Version: %{version}" >> jasper.pc +echo "Requires.private: libjpeg" >> jasper.pc +echo "" >> jasper.pc +echo "prefix=%{_mingw64_prefix}" >> jasper.pc +echo "Libs: -ljasper" >> jasper.pc +echo "Cflags:" >> jasper.pc +echo "Wixlibs=%{_mingw64_datadir}/wixlib/jasper.wixlib" >> jasper.pc +echo "Fualflags=-C jasper -D jasper" >> jasper.pc %install %{_mingw64_makeinstall} +mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig +cp jasper.pc $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig/jasper.pc + %clean rm -rf $RPM_BUILD_ROOT @@ -106,6 +125,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_mingw64_libdir}/libjasper.dll.a %{_mingw64_includedir}/jasper/ +%{_mingw64_libdir}/pkgconfig/jasper.pc +%{_mingw64_datadir}/wixlib/jasper.wixlib %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