Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
epdfview
epdfview.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File epdfview.spec of Package epdfview
# # spec file for package epdfview # # Copyright (c) 2012 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: epdfview Version: 0.1.8 Release: 0 Summary: Lightweight PDF Document Viewer License: GPL-2.0+ Group: Productivity/Office/Other Url: http://trac.emma-soft.com/epdfview Source: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2 # PATCH-FEATURE-OPENSUSE epdfview-change-quit-shortcut.patch ro@suse.de -- Changes the quit shortcut from ctrl+w to ctrl+q Patch1: epdfview-change-quit-shortcut.patch # PATCH-FIX-UPSTREAM epdfview-fix-missing-return-value.patch ro@suse.de -- Fixes a missing return value in a non-void function Patch2: epdfview-fix-missing-return-value.patch # PATCH-FIX-UPSTREAM epdfview-0.1.8-fix-colors.patch bnc#736465 gber@opensuse.org -- Fixes the displayed colors with poppler >= 0.17.0 by swapping the blue and red channels (backported from upstream SVN) Patch3: epdfview-0.1.8-fix-colors.patch # PATCH-FIX-UPSTREAM epdfview-fix-glib-include.patch gber@opensuse.org -- Do not include glib/gmacros.h directly (backported from upstream SVN) Patch4: epdfview-fix-glib-include.patch BuildRequires: automake BuildRequires: cups-devel BuildRequires: ed BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: pkgconfig(gdk-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(poppler-glib) Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ePDFView is a lightweight PDF document viewer using Poppler and GTK+ libraries. The aim of ePDFView is to make a simple PDF document viewer, in the lines of Evince but without using the Gnome libraries. %lang_package %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 ed -s "data/epdfview.desktop" 2>/dev/null <<\EOF ,s/^Icon=icon_epdfview-48/Icon=epdfview/ w EOF %build touch ChangeLog autoreconf -fi %configure make %{?_smp_mflags} %install %make_install %suse_update_desktop_file %{name} for size in 24 32 48; do install -d %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/ ( cd %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/ ln -s ../../../../epdfview/pixmaps/icon_epdfview-${size}.png \ epdfview.png ) done %find_lang %{name} %{?no_lang_C} %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc AUTHORS COPYING README NEWS THANKS %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/%{name} %{_datadir}/%{name}/pixmaps %{_datadir}/%{name}/ui %{_datadir}/icons/hicolor/*/*/%{name}.png %doc %{_mandir}/man1/epdfview.1* %files lang -f %{name}.lang %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