Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw32-tiff
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw32-tiff
--- mingw32-tiff.spec.orig +++ mingw32-tiff.spec @@ -24,6 +24,7 @@ License: Any permissive and X11 Group: Development/Libraries/C and C++ Url: http://www.remotesensing.org/libtiff/ Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz +Patch1000: tiff-4.0.0-wix.patch #!BuildIgnore: post-build-checks BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc @@ -35,6 +36,10 @@ BuildRoot: %{_tmppath}/%{name}-%{ve %_mingw32_package_header_debug BuildArch: noarch +BuildRequires: autoconf automake libtool +BuildRequires: mingw32-cross-pkg-config +BuildRequires: wixwine + %description This package contains the library and support programs for the TIFF image format. @@ -59,17 +64,34 @@ 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'" >>%{_mingw32_cache} %{_mingw32_configure} \ --disable-cxx \ --enable-shared --disable-static -%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make} +%{_mingw32_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=%{_mingw32_prefix}" >> tiff.pc +echo "Libs: -ltiff" >> tiff.pc +echo "Cflags:" >> tiff.pc +echo "Wixlibs=%{_mingw32_datadir}/wixlib/tiff.wixlib" >> tiff.pc +echo "Fualflags=-C tiff -D tiff" >> tiff.pc %install %{_mingw32_make} DESTDIR=%{buildroot} install +mkdir -p %{buildroot}%{_mingw32_libdir}/pkgconfig +cp tiff.pc %{buildroot}%{_mingw32_libdir}/pkgconfig/tiff.pc + + %files %defattr(-,root,root) %{_mingw32_bindir}/*.exe @@ -85,5 +107,7 @@ echo "lt_cv_deplibs_check_method='pass_a %{_mingw32_includedir}/tiff*.h %{_mingw32_libdir}/libtiff.dll.a %{_mingw32_libdir}/pkgconfig/libtiff-4.pc +%{_mingw32_libdir}/pkgconfig/tiff.pc +%{_mingw32_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