Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw64-tiff
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw64-tiff
--- mingw64-tiff.spec.orig +++ mingw64-tiff.spec @@ -15,6 +15,7 @@ License: Any permissive; X11/MIT Url: http://www.remotesensing.org/libtiff/ Group: Development/Libraries Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz +Patch1000: tiff-4.0.0-wix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -27,6 +28,10 @@ BuildRequires: mingw64-libjpeg-devel BuildRequires: mingw64-zlib-devel BuildRequires: mingw64-liblzma-devel +BuildRequires: autoconf automake libtool +BuildRequires: mingw64-cross-pkg-config +BuildRequires: wixwine + %description This package contains the library and support programs for the TIFF image format. @@ -53,19 +58,35 @@ image files using the libtiff library. %prep %setup -q -n tiff-%{version} +%patch1000 -p1 -b .wix %build +./autogen.sh echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache} %{_mingw64_configure} \ --disable-cxx \ --enable-shared --disable-static -%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make} +%{_mingw64_make} + +echo "Name: tiff" > tiff.pc +echo "Description: %{Summary}" >> tiff.pc +echo "Version: %{version}" >> tiff.pc +echo "Requires.private: zlib libjpeg liblzma" >> tiff.pc +echo "" >> tiff.pc +echo "prefix=%{_mingw64_prefix}" >> tiff.pc +echo "Libs: -ltiff" >> tiff.pc +echo "Cflags:" >> tiff.pc +echo "Wixlibs=%{_mingw64_datadir}/wixlib/tiff.wixlib" >> tiff.pc +echo "Fualflags=-C tiff -D tiff" >> tiff.pc %install %{_mingw64_make} DESTDIR=$RPM_BUILD_ROOT install +mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig +cp tiff.pc $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig/tiff.pc + %clean rm -rf $RPM_BUILD_ROOT @@ -86,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT %{_mingw64_includedir}/tiff*.h %{_mingw64_libdir}/libtiff.dll.a %{_mingw64_libdir}/pkgconfig/libtiff-4.pc +%{_mingw64_libdir}/pkgconfig/tiff.pc +%{_mingw64_datadir}/wixlib/tiff.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