Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dataman64bit
mingw64-poppler
mingw64-poppler.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-poppler.spec of Package mingw64-poppler
%define __strip %{_mingw64_strip} %define __objdump %{_mingw64_objdump} %define _use_internal_dependency_generator 0 %define __find_requires %{_mingw64_findrequires} %define __find_provides %{_mingw64_findprovides} %define __os_install_post %{_mingw64_debug_install_post} \ %{_mingw64_install_post} Name: mingw64-poppler Version: 0.14.2 Release: 0 Summary: MinGW Windows port of the PDF rendering library License: GPL v2 only URL: http://poppler.freedesktop.org/ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz Source1000: %{name}-rpmlintrc Patch0: poppler-0.14.1-pdftoabw.patch Patch1: poppler-0.14.1-strtok.patch Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch #!BuildIgnore: post-build-checks BuildRequires: mingw64-filesystem >= 23 BuildRequires: mingw64-cross-gcc mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-libjpeg-devel BuildRequires: mingw64-freetype-devel BuildRequires: mingw64-fontconfig-devel BuildRequires: mingw64-cairo-devel BuildRequires: mingw64-glib2-devel BuildRequires: mingw64-gtk2-devel BuildRequires: mingw64-libglade2-devel BuildRequires: mingw64-libxml2-devel BuildRequires: mingw64-liblcms-devel BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-libqt4-devel BuildRequires: autoconf automake libtool %description 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 tools Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries %description tools 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 mingw64-libpoppler Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries %description -n mingw64-libpoppler 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 mingw64-libpoppler-devel Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries Requires: mingw64-cairo-devel Requires: mingw64-libjpeg-devel %description -n mingw64-libpoppler-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. %package -n mingw64-libpoppler-glib Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries %description -n mingw64-libpoppler-glib 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 mingw64-libpoppler-glib-devel Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries Requires: mingw64-libpoppler-devel >= %{version} Requires: mingw64-cairo-devel Requires: mingw64-glib2-devel Requires: mingw64-gtk2-devel %description -n mingw64-libpoppler-glib-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. %package -n mingw64-libpoppler-qt4 Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries %package -n mingw64-libpoppler-qt4-devel Summary: MinGW Windows port of the PDF rendering library Group: Development/Libraries Requires: mingw64-libpoppler-devel >= %{version} Requires: mingw64-libqt4-devel Requires: mingw64-libpoppler-qt4 = %{version} %{_mingw64_debug_package} %prep %setup -q -n poppler-%{version} %patch0 -p1 -b .pdftoabw %patch1 -p1 -b .strtok %build ACLOCAL="aclocal -I m4" autoreconf -f -i echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache} PATH="%{_mingw64_bindir}:$PATH" \ QTINC="%{_mingw64_includedir}" \ QTLIB="%{_mingw64_libdir}" \ MINGW64_CFLAGS="-U__STRICT_ANSI__ %{_mingw64_cflags}" \ MINGW64_CXXFLAGS="-U__STRICT_ANSI__ %{_mingw64_cflags}" \ %{_mingw64_configure} \ --enable-shared --disable-static \ --enable-xpdf-headers # Define _WIN32_IE to work around bug in mingw64 headers %{_mingw64_make} CPPFLAGS="-D_WIN32_IE=0x0501" %{?_smp_mflags} || %{_mingw64_make} CPPFLAGS="-D_WIN32_IE=0x0501" %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files tools %defattr(-,root,root) %{_mingw64_bindir}/pdffonts.exe %{_mingw64_bindir}/pdfimages.exe %{_mingw64_bindir}/pdfinfo.exe %{_mingw64_bindir}/pdftoabw.exe %{_mingw64_bindir}/pdftohtml.exe %{_mingw64_bindir}/pdftoppm.exe %{_mingw64_bindir}/pdftops.exe %{_mingw64_bindir}/pdftotext.exe %{_mingw64_mandir}/man1/pdffonts.1* %{_mingw64_mandir}/man1/pdfimages.1* %{_mingw64_mandir}/man1/pdfinfo.1* %{_mingw64_mandir}/man1/pdftohtml.1* %{_mingw64_mandir}/man1/pdftoppm.1* %{_mingw64_mandir}/man1/pdftops.1* %{_mingw64_mandir}/man1/pdftotext.1* %files -n mingw64-libpoppler %defattr(-,root,root) %{_mingw64_bindir}/libpoppler-7.dll %{_mingw64_bindir}/libpoppler-cpp-0.dll %files -n mingw64-libpoppler-devel %defattr(-,root,root) %{_mingw64_includedir}/poppler %exclude %{_mingw64_includedir}/poppler/glib %{_mingw64_libdir}/libpoppler.dll.a %{_mingw64_libdir}/libpoppler-cpp.dll.a %{_mingw64_libdir}/pkgconfig/poppler-cairo.pc %{_mingw64_libdir}/pkgconfig/poppler-splash.pc %{_mingw64_libdir}/pkgconfig/poppler.pc %{_mingw64_libdir}/pkgconfig/poppler-cpp.pc %{_mingw64_datadir}/gtk-doc/html/poppler %files -n mingw64-libpoppler-glib %defattr(-,root,root) %{_mingw64_bindir}/libpoppler-glib-5.dll %files -n mingw64-libpoppler-glib-devel %defattr(-,root,root) %{_mingw64_includedir}/poppler/glib %{_mingw64_libdir}/libpoppler-glib.dll.a %{_mingw64_libdir}/pkgconfig/poppler-glib.pc %files -n mingw64-libpoppler-qt4 %defattr (-, root, root) %{_mingw64_bindir}/libpoppler-qt4.dll %files -n mingw64-libpoppler-qt4-devel %defattr (-, root, root) %{_mingw64_includedir}/poppler/qt4 %{_mingw64_libdir}/libpoppler-qt4.dll.a %{_mingw64_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