Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:wix
mingw64-poppler-data
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw64-poppler-data
--- mingw64-poppler-data.spec.orig +++ mingw64-poppler-data.spec @@ -19,6 +19,7 @@ BuildArch: noarch #!BuildIgnore: post-build-checks BuildRequires: mingw64-filesystem +BuildRequires: wixwine %description This package consists of encoding files for use with poppler. The @@ -29,14 +30,55 @@ licensed under the GPL, these encoding f licensed much more strictly, and thus distributed separately. +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries + + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require the provided includes and +libraries. + + %prep %setup -q -n poppler-data-%{version} +%build + +echo "Name: poppler-data" > poppler-data.pc +echo "Description: Poppler data" >> poppler-data.pc +echo "Version: %{version}" >> poppler-data.pc +echo "" >> poppler-data.pc +echo "prefix=%{_mingw64_prefix}" >> poppler-data.pc +echo "Wixlibs=%{_mingw64_datadir}/wixlib/poppler-data.wixlib" >> poppler-data.pc +echo "Fualflags=-C poppler_data -D poppler_data" >> poppler-data.pc + +wixdistdir=/tmp/wixdistdir-hack-poppler-data +rm -f $wixdistdir +make prefix=%{_mingw64_prefix} DESTDIR=wixdistdir install +ln -s `pwd`/wixdistdir%{_mingw64_prefix} $wixdistdir +mkdir -p $wixdistdir/share/license/poppler-data +cp COPYING $wixdistdir/share/license/poppler-data +cp COPYING.adobe $wixdistdir/share/license/poppler-data +cp COPYING.gpl2 $wixdistdir/share/license/poppler-data +cp README $wixdistdir/share/license/poppler-data +heat dir $wixdistdir -gg -sfrag -sreg -cg poppler_data -dr poppler_data -srd -var var.wixdistdir -o poppler-data.wxs +candle -o poppler-data.wixobj -nologo -dwixdistdir=$wixdistdir poppler-data.wxs +lit -o poppler-data.wixlib -bf poppler-data.wixobj + + %install rm -rf $RPM_BUILD_ROOT %{_mingw64_make} DESTDIR=$RPM_BUILD_ROOT install +mkdir -p $RPM_BUILD_ROOT%{_mingw64_datadir}/pkgconfig +cp poppler-data.pc $RPM_BUILD_ROOT%{_mingw64_datadir}/pkgconfig/poppler-data.pc + +mkdir -p $RPM_BUILD_ROOT/%{_mingw64_datadir}/wixlib +cp poppler-data.wixlib $RPM_BUILD_ROOT/%{_mingw64_datadir}/wixlib/poppler-data.wixlib + %clean rm -rf $RPM_BUILD_ROOT @@ -46,5 +88,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_mingw64_datadir}/poppler +%files devel +%defattr(-,root,root) +%{_mingw64_datadir}/pkgconfig/poppler-data.pc +%{_mingw64_datadir}/wixlib/poppler-data.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