Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
lekha
lekha.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lekha.spec of Package lekha
# # spec file for package epour # # Copyright (c) 2015 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: lekha Version: 0.2.0 Release: 0 Summary: PDF Reader License: GPL-3.0+ Group: Productivity/Publishing/PDF Url: https://github.com/kaihu/lekha Source0: Lekha-%{version}.tar.gz # Lekha doesn't ship a icon so ship a generic one for it for now Source1: graphics-viewer-document.png # 661193de60e542a80e88019d59342f345f10a1ae Patch0: fix-panel-on-mouse.patch # f0ab75e3016f10dce01f6543ae99955a8492e9a8 Patch1: feature-mouse-zoom.patch # .desktop files contained actions with no action defined # I couldn't work out what the actions should do so they are removed Patch2: fix-invalid-actions-in-desktop-file.patch BuildRequires: python3-efl BuildRequires: efl-devel BuildRequires: python3-PyPDF2 BuildRequires: python3-xdg BuildRequires: python3-distutils-extra Requires: python3-efl Requires: python3-PyPDF2 Requires: python3-xdg buildroot: %{_tmppath}/Lekha-%{version}-build %if 0%{?suse_version} BuildRequires: fdupes BuildRequires: update-desktop-files %endif ExcludeArch: %ix86 %description EFL and python based pdf reader. %prep %setup -q -n Lekha-%{version} %patch0 -p1 %patch1 -p1 %patch2 %build python setup.py build %install python setup.py install --root "%{buildroot}" # install icon mkdir -p %{buildroot}/%{_datadir}/pixmaps cp %{SOURCE1} %{buildroot}/%{_datadir}/pixmaps/accessories-document-viewer.png %if 0%{?suse_version} %suse_update_desktop_file lekha "Office;Viewer;" %endif rm -rf "%{buildroot}/%{_datadir}/doc" %files %defattr(-,root,root,-) %doc README.md COPYING %{_bindir}/lekha %{python_sitelib}/* %{_datadir}/pixmaps/accessories-document-viewer.png %{_datadir}/applications/lekha.desktop %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