Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:regataos
zotero
zotero.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zotero.spec of Package zotero
# # spec file for package zotero # # Copyright (c) 2022 SUSE LLC # Copyright (c) 2022 Tejas Guruswamy <tejas.guruswamy@opensuse.org> # # 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: zotero Version: 6.0.35 Release: 0 Summary: Tool to help collect, organize, cite, and share research sources License: AGPL-3.0-only Group: Productivity/Office/Organizers URL: https://www.zotero.org Source: https://download.zotero.org/client/release/%{version}/Zotero-%{version}_linux-x86_64.tar.bz2 Source2: %{name}.desktop BuildRequires: desktop-file-utils BuildRequires: update-desktop-files Provides: application(zotero.desktop) Provides: mimehandler(text/plain) AutoReqProv: no ExclusiveArch: x86_64 %description Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources. %define source_dir Zotero_linux-x86_64 %prep %setup -q -cn %{source_dir} # Disable APP update sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' %{source_dir}/defaults/preferences/prefs.js %build %install mkdir -p %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/applications %{buildroot}/%{_libexecdir} cp -r %{source_dir}/ %{buildroot}/%{_libexecdir}/%{name} ln -s ../../%{_libexecdir}/%{name}/%{name} %{buildroot}/%{_bindir}/%{name} install -Dm644 %{source_dir}/chrome/icons/default/default48.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png # .desktop desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE2} %suse_update_desktop_file %{name} %files %{_bindir}/%{name} %{_libexecdir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %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