Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fstrba
master-pdf-editor
master-pdf-editor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File master-pdf-editor.spec of Package master-pdf-editor
# # spec file for package master-pdf-editor # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # %global version_major 5 Name: master-pdf-editor Version: %{version_major}.9.81 Release: 0 Summary: Master PDF Editor for Linux License: SUSE-EULA URL: https://code-industry.net Patch0: desktop-file.patch BuildRequires: fdupes BuildRequires: filesystem ExclusiveArch: x86_64 aarch64 %ifarch aarch64 Source0: https://code-industry.net/public/%{name}-%{version}-qt5.arm64.tar.gz %else Source0: https://code-industry.net/public/%{name}-%{version}-qt5.%{_arch}.tar.gz %endif NoSource: 0 %description Master PDF Editor is the optimal solution for editing PDF files in Linux. It enables you to create, edit, view, encrypt, sign and print interactive PDF documents. %prep %setup -q -n %{name}-%{version_major} %patch -P 0 -p1 perl -pi -e 's#/opt#%{_libdir}#g' masterpdfeditor%{version_major}.desktop %build %install install -dm 0755 %{buildroot}%{_bindir} install -dm 0755 %{buildroot}%{_datadir}/applications install -dm 0755 %{buildroot}/%{_libdir}/%{name}-%{version_major} cp -r * %{buildroot}%{_libdir}/%{name}-%{version_major}/ %fdupes -s %{buildroot}%{_libdir}/%{name}-%{version_major} ln -sf %{_libdir}/%{name}-%{version_major}/masterpdfeditor%{version_major} \ %{buildroot}%{_bindir}/masterpdfeditor%{version_major} mv %{buildroot}%{_libdir}/%{name}-%{version_major}/masterpdfeditor%{version_major}.desktop \ %{buildroot}%{_datadir}/applications/ %files %{_libdir}/%{name}-%{version_major} %{_bindir}/masterpdfeditor%{version_major} %{_datadir}/applications/masterpdfeditor%{version_major}.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