Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jaimeMF
translatelocally
translatelocally.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File translatelocally.spec of Package translatelocally
# # spec file for package translatelocally # # Copyright (c) 2022 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/ # Name: translatelocally Version: 0.0+git.20240512.27771d8 Release: 0 Summary: An offline translation client License: MIT URL: https://translatelocally.com/ Source: %{name}-%{version}.tar.xz Patch01: skip_git_commands.patch BuildRequires: cblas-devel BuildRequires: cmake # Intel MKL-DNN BuildRequires: cmake(dnnl) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5PrintSupport) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) BuildRequires: doxygen BuildRequires: pcre2-devel BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libtcmalloc) BuildRequires: pkgconfig(openblas) BuildRequires: openblas-devel BuildRequires: update-desktop-files Provides: bundled(bergamot-translator) Provides: bundled(marian) %description Fast and secure translation on your local machine, powered by marian and Bergamot %prep %autosetup -p1 %build %cmake -DBLA_PREFER_PKGCONFIG:BOOL=ON -DBLA_PKGCONFIG_BLAS:STRING=openblas -Dcblas_cblas_LIBRARY:STRING=cblas # When building on aarch64 we must apply a fix: https://github.com/XapaJIaMnu/translateLocally/pull/128 %ifarch aarch64 ../cmake/fix_ruy_build.sh .. . %endif %cmake_build %install %cmake_install %suse_update_desktop_file translateLocally %post %postun %files %license LICENCE.md %doc README.md %{_bindir}/translateLocally %{_datadir}/applications/translateLocally.desktop %{_datadir}/icons/translateLocally_logo.png %{_datadir}/icons/translateLocally_logo.svg %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