Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw64-gettext
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw64-gettext
--- mingw64-gettext.spec.orig +++ mingw64-gettext.spec @@ -19,6 +19,8 @@ Source100: %{name}-rpmlintrc Patch0: gettext-0.18.1.1-tml.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch1000: gettext-0.17-wix.patch + BuildArch: noarch #!BuildIgnore: post-build-checks @@ -29,6 +31,10 @@ BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-win_iconv-devel +BuildRequires: mingw64-cross-pkg-config +BuildRequires: automake autoconf libtool +BuildRequires: wixwine + %description GNU gettext library for internationalization of software. This package offers to programmers, translators, and even users, a well integrated set of tools and documentation. GNU gettext is designed to minimize the impact of @@ -82,8 +88,11 @@ internationalization on program sources, %patch0 -p0 -b .tml +%patch1000 -p1 -b .wix + %build +autoreconf -f -i echo "lt_cv_deplibs_check_method='pass_all'" >>mingw64-config.cache echo "gl_cv_func_memchr_works='yes'" >>mingw64-config.cache %{_mingw64_configure} \ @@ -93,8 +102,17 @@ echo "gl_cv_func_memchr_works='yes'" >>m --enable-threads=win32 \ --enable-shared --disable-static -%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make} +%{_mingw64_make} +echo "Name: intl" > intl.pc +echo "Description: intl library" >> intl.pc +echo "Version: %{version}" >> intl.pc +echo "" >> intl.pc +echo "prefix=%{_mingw64_prefix}" >> intl.pc +echo "Libs: -lintl" >> intl.pc +echo "Cflags:" >> intl.pc +echo "Wixlibs=%{_mingw64_datadir}/wixlib/intl.wixlib" >> intl.pc +echo "Fualflags=-C intl -D intl" >> intl.pc %install %{_mingw64_make} DESTDIR=%{buildroot} install @@ -102,6 +120,9 @@ rm -f %{buildroot}%{_mingw64_datadir}/lo rm -f %{buildroot}%{_mingw64_libdir}/charset.alias rm -f %{buildroot}%{_mingw64_datadir}/info/dir +mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig +cp intl.pc $RPM_BUILD_ROOT%{_mingw64_libdir}/pkgconfig/intl.pc + %find_lang gettext-runtime %find_lang gettext-tools @@ -118,6 +139,9 @@ rm -rf ${buildroot} %{_mingw64_includedir}/libintl.h %{_mingw64_libdir}/libintl.dll.a +%{_mingw64_libdir}/pkgconfig/intl.pc +%{_mingw64_datadir}/wixlib/intl.wixlib + %files runtime -f gettext-runtime.lang %defattr(-,root,root) %{_mingw64_bindir}/envsubst.exe
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