Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Office
freemind
freemind.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freemind.spec of Package freemind
# # spec file for package freemind # # Copyright (c) 2024 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: freemind Version: 1.0.1 Release: 0 Summary: Java Program for creating and viewing Mindmaps License: GPL-2.0-or-later Group: Productivity/Office/Other URL: https://freemind.sourceforge.net/ Source0: https://sourceforge.net/projects/freemind/files/freemind/%{version}/%{name}-src-%{version}.tar.gz Source1: freemind.desktop Source2: x-freemind.xml Source3: freemind.1 Source4: urlsee Source5: urlsee.1 Patch0: freemind_properties.patch Patch1: freemind_encoding.patch BuildRequires: ImageMagick BuildRequires: ant BuildRequires: ant-nodeps BuildRequires: fdupes # this is just to satisfy rpmlint BuildRequires: hicolor-icon-theme BuildRequires: java-1_8_0-openjdk-devel BuildRequires: java-devel >= 1.5.0 Requires: java >= 1.5.0 # these used to be separate packages Obsoletes: freemind-plugins-help < %{version} Obsoletes: freemind-plugins-script < %{version} Obsoletes: freemind-plugins-svg < %{version} Provides: freemind-plugins-help = %{version} Provides: freemind-plugins-script = %{version} Provides: freemind-plugins-svg = %{version} BuildArch: noarch %description FreeMind is a premier free mind-mapping software written in Java. The recent development has hopefully turned it into high productivity tool. %prep %autosetup -p1 -n freemind chmod +x check_for_duplicate_resources.sh %build ant %install install -d %{buildroot}%{_datadir}/freemind install -d %{buildroot}%{_docdir}/freemind (cd ../bin/dist && cp -R accessories browser lib plugins %{buildroot}%{_datadir}/freemind) install -m 755 freemind.sh %{buildroot}%{_datadir}/freemind ln -sf %{_docdir}/freemind %{buildroot}%{_datadir}/freemind/doc install -d -m 755 %{buildroot}%{_datadir}/applications install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications install -d -m 755 %{buildroot}%{_datadir}/mime/packages install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/mime/packages install -d -m 755 %{buildroot}%{_datadir}/pixmaps %{_bindir}/convert -scale 32 images/FreeMindWindowIcon.png %{buildroot}%{_datadir}/pixmaps/freemind.png for i in 16 32 48 do install -d -m 755 %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps %{_bindir}/convert -scale ${i} images/FreeMindWindowIcon.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/freemind.png done install -d -m 755 %{buildroot}%{_sysconfdir}/freemind install -m 644 patterns.xml %{buildroot}%{_sysconfdir}/freemind install -d -m 755 %{buildroot}%{_bindir} ln -s %{_datadir}/freemind/freemind.sh %{buildroot}%{_bindir}/freemind install -m 755 %{SOURCE4} %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_mandir}/man1 install -m 644 %{SOURCE3} %{buildroot}%{_mandir}/man1 install -m 644 %{SOURCE5} %{buildroot}%{_mandir}/man1 %fdupes %{buildroot}%{_datadir} %files %license license %doc history.txt doc/* %config %{_sysconfdir}/freemind %{_bindir}/freemind %{_bindir}/urlsee %dir %{_datadir}/freemind %{_datadir}/freemind/freemind.sh %{_datadir}/freemind/accessories %{_datadir}/freemind/browser %{_datadir}/freemind/lib %{_datadir}/freemind/doc %{_datadir}/freemind/plugins %{_mandir}/man1/freemind.1%{?ext_man} %{_mandir}/man1/urlsee.1%{?ext_man} %{_datadir}/applications/freemind.desktop %{_datadir}/mime/packages/x-freemind.xml %{_datadir}/pixmaps/freemind.png %{_datadir}/icons/hicolor/*x*/apps/freemind.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