Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
xpdf-poppler
xpdf-poppler.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xpdf-poppler.spec of Package xpdf-poppler
# # spec file for package xpdf-poppler # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xpdf-poppler BuildRequires: gcc-c++ ghostscript-fonts-std libpoppler-devel openmotif-devel update-desktop-files xorg-x11 License: GPLv2 Group: Productivity/Publishing/PDF Version: 3.02.20110922 Release: 18 Requires: ghostscript-fonts-std Summary: A PDF File Viewer for the X Window System Source0: xpdf-poppler.tar.bz2 Source1: xpdf.png Patch0: %{name}-poppler-0.18.0.patch Patch1: %{name}-rc.patch Patch2: %{name}-generic-fonts.patch Patch4: %{name}-settitle.patch Patch5: %{name}-cut-and-paste-default-output-encoding.patch Patch6: %{name}-search-non-ascii.patch Patch7: %{name}-outline-when-needed.patch Patch8: %{name}-man-rc.patch Url: http://www.foolabs.com/xpdf/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: xpdf <= 3.02 Provides: xpdf = %{version} %description This tool is used for viewing PDF (Portable Document Format) files. It is designed to be small and efficient. %prep %setup -q -n xpdf-poppler %if 0%{?suse_version} > 1140 %patch0 -p1 %endif %patch1 -p1 %patch2 -p1 %patch4 -p1 %patch5 %patch6 %patch7 %patch8 -p1 %build export CXXFLAGS="$RPM_OPT_FLAGS -O0" export CFLAGS="$RPM_OPT_FLAGS -O0" ./autogen.sh %configure --docdir=%{_docdir}/%{name} make %install %makeinstall mkdir -p %{buildroot}%{_docdir}/%{name} mv LICENSE README.md %{buildroot}%{_docdir}/%{name} # compat stuff ln -s %{_bindir}/xpdf-poppler %{buildroot}%{_bindir}/xpdf ln -s %{_bindir}/zxpdf-poppler %{buildroot}%{_bindir}/zxpdf echo ".so man1/xpdf-poppler.1" > %{buildroot}%{_mandir}/man1/xpdf.1 echo ".so man1/zxpdf-poppler.1" > %{buildroot}%{_mandir}/man1/zxpdf.1 echo ".so man5/xpdf-poppler-rc" > %{buildroot}%{_mandir}/man5/xpdfrc.5 %suse_update_desktop_file -i %{name} Office Viewer %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/*.png %{_docdir}/%{name} %doc %{_mandir}/man?/* %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}-rc %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