Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jloehel
JabRef
jabref.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jabref.spec of Package JabRef
# # spec file for package JabRef # # Copyright (c) 2020 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: jabref Version: 4.3.1 Release: 0 Summary: Graphical Java application for managing BibTeX and biblatex databases Group: Productivity/Databases/Tools License: MIT URL: http://www.jabref.org/ Source0: JabRef-%{version}.jar Source1: %{name}.desktop Source2: %{name}-icon-48.png Source3: %{name}-icon.svg Source4: README.md Source7: jabref.1 Requires: java >= 1.8.0 Requires: java-1_8_0-openjfx BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build %description JabRef is an open-source, cross-platform citation and reference management tool. %prep %build %install install -Dm 0755 -p %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-%{version}.jar # install icon install -m 0755 -d ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/48x48/apps install -m 0755 -d ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps install -m 0644 -p %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png install -m 0644 -p %{SOURCE3} ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg # install executable install -d $RPM_BUILD_ROOT%{_bindir} echo "#!/bin/sh java -jar %{_datadir}/%{name}/%{name}-%{version}.jar &" > $RPM_BUILD_ROOT%{_bindir}/jabref chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/jabref # install desktop file install -m 0755 -d ${RPM_BUILD_ROOT}/%{_datadir}/applications install -D -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop # install documentation install -m 0755 -d ${RPM_BUILD_ROOT}/%{_docdir}/%{name} install -D -m 0644 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_docdir}/%{name}/ install -m 0755 -d ${RPM_BUILD_ROOT}/%{_mandir}/man1 install -D -m 0644 %{SOURCE7} ${RPM_BUILD_ROOT}/%{_mandir}/man1/ %files %defattr(-,root,root,-) %dir %{_docdir}/%{name} %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/* %{_datadir}/icons/hicolor %doc %{_docdir}/%{name}/* %doc %{_mandir}/man1/jabref.1.gz %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