Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:xernea:pdftohtmlex
mingw32-poppler
mingw32-poppler.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-poppler.spec of Package mingw32-poppler
%define __strip %{_mingw32_strip} %define __objdump %{_mingw32_objdump} %define _use_internal_dependency_generator 0 %define __find_requires %{_mingw32_findrequires} %define __find_provides %{_mingw32_findprovides} %define __os_install_post %{_mingw32_debug_install_post} \ %{_mingw32_install_post} Name: mingw32-poppler Version: 0.22.0 Release: 0 Summary: PDF rendering library License: GPL-2.0 Group: Development/Libraries Url: http://poppler.freedesktop.org/ Source: http://poppler.freedesktop.org/poppler-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch #!BuildIgnore: post-build-checks BuildRequires: mingw32-filesystem BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-win_iconv-devel BuildRequires: mingw32-zlib-devel BuildRequires: mingw32-libpng-devel BuildRequires: mingw32-libjpeg-devel BuildRequires: mingw32-libopenjpeg-devel BuildRequires: mingw32-libtiff-devel BuildRequires: mingw32-freetype-devel BuildRequires: mingw32-fontconfig-devel BuildRequires: mingw32-libqt4-devel BuildRequires: mingw32-cairo-devel BuildRequires: mingw32-glib2-devel BuildRequires: mingw32-gtk3-devel BuildRequires: mingw32-gdk-pixbuf-devel BuildRequires: mingw32-libxml2-devel BuildRequires: mingw32-liblcms2-devel %description Poppler is a PDF rendering library based on the xpdf-3.0 code base. %package tools Summary: PDF rendering library Group: Development/Libraries %description tools Poppler is a PDF rendering library based on the xpdf-3.0 code base. %package -n mingw32-libpoppler Summary: PDF rendering library Group: Development/Libraries %description -n mingw32-libpoppler Poppler is a PDF rendering library based on the xpdf-3.0 code base. %package -n mingw32-libpoppler-devel Summary: PDF rendering library (development files) Group: Development/Libraries %description -n mingw32-libpoppler-devel Poppler is a PDF rendering library based on the xpdf-3.0 code base. (development files) %package -n mingw32-libpoppler-glib Summary: PDF rendering library Group: Development/Libraries %description -n mingw32-libpoppler-glib Poppler is a PDF rendering library based on the xpdf-3.0 code base. %package -n mingw32-libpoppler-glib-devel Summary: PDF rendering library (development files) Group: Development/Libraries %description -n mingw32-libpoppler-glib-devel Poppler is a PDF rendering library based on the xpdf-3.0 code base. (development files) %package -n mingw32-libpoppler-qt4 Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries %description -n mingw32-libpoppler-qt4 Poppler is a fork of the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. The purpose of forking xpdf is twofold. First, we want to provide PDF rendering functionality as a shared library, to centralize the maintenence effort. Today a number of applications incorporate the xpdf code base, and whenever a security issue is discovered, all these applications exchange patches and put out new releases. In turn, all distributions must package and release new version of these xpdf based viewers. It's safe to say that there's a lot of duplicated effort with the current situation. Even if poppler in the short term introduces yet another xpdf derived code base to the world, we hope that over time these applications will adopt poppler. After all, we only need one application to use poppler to break even. Second, we would like to move libpoppler forward in a number of areas that doesn't fit within the goals of xpdf. By design, xpdf depends on very few libraries and runs a wide range of X based platforms. This is a strong feature and reasonable design goal. However, with poppler we would like to replace parts of xpdf that are now available as standard components of modern Unix desktop environments. One such example is fontconfig, which solves the problem of matching and locating fonts on the system, in a standardized and well understood way. Another example is cairo, which provides high quality 2D rendering. See the file TODO for a list of planned changes. %package -n mingw32-libpoppler-qt4-devel Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries Requires: mingw32-libpoppler-devel >= %{version} Requires: mingw32-libqt4-devel %description -n mingw32-libpoppler-qt4-devel Poppler is a fork of the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. The purpose of forking xpdf is twofold. First, we want to provide PDF rendering functionality as a shared library, to centralize the maintenence effort. Today a number of applications incorporate the xpdf code base, and whenever a security issue is discovered, all these applications exchange patches and put out new releases. In turn, all distributions must package and release new version of these xpdf based viewers. It's safe to say that there's a lot of duplicated effort with the current situation. Even if poppler in the short term introduces yet another xpdf derived code base to the world, we hope that over time these applications will adopt poppler. After all, we only need one application to use poppler to break even. Second, we would like to move libpoppler forward in a number of areas that doesn't fit within the goals of xpdf. By design, xpdf depends on very few libraries and runs a wide range of X based platforms. This is a strong feature and reasonable design goal. However, with poppler we would like to replace parts of xpdf that are now available as standard components of modern Unix desktop environments. One such example is fontconfig, which solves the problem of matching and locating fonts on the system, in a standardized and well understood way. Another example is cairo, which provides high quality 2D rendering. See the file TODO for a list of planned changes. %{_mingw32_debug_package} %prep %setup -q -n poppler-%{version} %build echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} # We always do this in the windows:mingw project configure_args="--enable-shared --disable-static" # Install xpdf headers. Although poppler claims these headers # are for internal use only, other projects use them anyway. configure_args+=" --enable-xpdf-headers" # For glib-mkenums configure_args+=" GLIB_MKENUMS=%{_mingw32_bindir}/glib-mkenums" # Configure %{_mingw32_configure} ${configure_args} # Build make %{?_smp_mflags} || make %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files tools %defattr(-,root,root) %{_mingw32_bindir}/pdfdetach.exe %{_mingw32_bindir}/pdffonts.exe %{_mingw32_bindir}/pdfimages.exe %{_mingw32_bindir}/pdfinfo.exe %{_mingw32_bindir}/pdftocairo.exe %{_mingw32_bindir}/pdftohtml.exe %{_mingw32_bindir}/pdftoppm.exe %{_mingw32_bindir}/pdftops.exe %{_mingw32_bindir}/pdftotext.exe %{_mingw32_bindir}/pdfseparate.exe %{_mingw32_bindir}/pdfunite.exe %{_mingw32_bindir}/poppler-glib-demo.exe %{_mingw32_mandir}/man1/pdfdetach.1* %{_mingw32_mandir}/man1/pdffonts.1* %{_mingw32_mandir}/man1/pdfimages.1* %{_mingw32_mandir}/man1/pdfinfo.1* %{_mingw32_mandir}/man1/pdftocairo.1* %{_mingw32_mandir}/man1/pdftohtml.1* %{_mingw32_mandir}/man1/pdftoppm.1* %{_mingw32_mandir}/man1/pdftops.1* %{_mingw32_mandir}/man1/pdftotext.1* %{_mingw32_mandir}/man1/pdfseparate.1* %{_mingw32_mandir}/man1/pdfunite.1* %files -n mingw32-libpoppler %defattr(-,root,root) %{_mingw32_bindir}/libpoppler-34.dll %{_mingw32_bindir}/libpoppler-cpp-0.dll %files -n mingw32-libpoppler-devel %defattr(-,root,root) %{_mingw32_includedir}/poppler %exclude %{_mingw32_includedir}/poppler/glib %exclude %{_mingw32_includedir}/poppler/qt4 %{_mingw32_libdir}/libpoppler.dll.a %{_mingw32_libdir}/libpoppler-cpp.dll.a %{_mingw32_libdir}/pkgconfig/poppler-cairo.pc %{_mingw32_libdir}/pkgconfig/poppler-splash.pc %{_mingw32_libdir}/pkgconfig/poppler.pc %{_mingw32_libdir}/pkgconfig/poppler-cpp.pc %{_mingw32_datadir}/gtk-doc/html/poppler %files -n mingw32-libpoppler-glib %defattr(-,root,root) %{_mingw32_bindir}/libpoppler-glib-8.dll %files -n mingw32-libpoppler-glib-devel %defattr(-,root,root) %{_mingw32_includedir}/poppler/glib %{_mingw32_libdir}/libpoppler-glib.dll.a %{_mingw32_libdir}/pkgconfig/poppler-glib.pc %files -n mingw32-libpoppler-qt4 %defattr(-,root,root) %{_mingw32_bindir}/libpoppler-qt4-4.dll %files -n mingw32-libpoppler-qt4-devel %defattr(-,root,root) %{_mingw32_includedir}/poppler/qt4 %{_mingw32_libdir}/libpoppler-qt4.dll.a %{_mingw32_libdir}/pkgconfig/poppler-qt4.pc %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