2007-01-04 02:08:41 +01:00
|
|
|
#
|
2012-06-13 16:40:51 +02:00
|
|
|
# spec file for package vym
|
2007-01-04 02:08:41 +01:00
|
|
|
#
|
2022-09-08 14:53:14 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-04 02:08:41 +01:00
|
|
|
#
|
2010-11-20 12:32:36 +01:00
|
|
|
# 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.
|
|
|
|
|
2019-04-16 16:24:04 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-04 02:08:41 +01:00
|
|
|
#
|
|
|
|
|
2015-08-20 10:49:36 +02:00
|
|
|
|
2016-06-20 19:13:57 +02:00
|
|
|
Name: vym
|
2022-09-08 14:53:14 +02:00
|
|
|
Version: 2.8.41
|
2016-06-20 19:13:57 +02:00
|
|
|
Release: 0
|
2019-04-16 16:24:04 +02:00
|
|
|
Summary: Tool to generate and manipulate thought maps
|
2019-04-15 12:31:07 +02:00
|
|
|
License: GPL-2.0-only
|
2016-06-20 19:13:57 +02:00
|
|
|
Group: Productivity/Office/Other
|
2021-04-15 15:06:18 +02:00
|
|
|
URL: http://www.insilmaril.de/vym/index.html
|
2016-06-20 19:13:57 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2022-09-08 14:53:14 +02:00
|
|
|
Source1: debian.dirs
|
|
|
|
Source2: debian.docs
|
|
|
|
Source3: makedist.config
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.2
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
|
|
BuildRequires: cmake(Qt5Script)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
2015-08-20 10:49:36 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2019-04-15 12:31:07 +02:00
|
|
|
%endif
|
|
|
|
|
2015-08-20 10:49:36 +02:00
|
|
|
Requires: unzip
|
|
|
|
Requires: zip
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-04 02:08:41 +01:00
|
|
|
|
|
|
|
%description
|
2019-04-16 16:24:04 +02:00
|
|
|
VYM (View Your Mind) is a tool to generate and manipulate maps which
|
|
|
|
show thoughts. Such maps can help improve creativity and effectivity.
|
|
|
|
They can be used for time management, to organize tasks, to get an
|
|
|
|
overview over complex contexts, to sort ideas etc.
|
2007-01-04 02:08:41 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2022-09-08 14:53:14 +02:00
|
|
|
%global cmake_options \\\
|
|
|
|
-DCMAKE_INSTALL_DATAROOTDIR="share/vym" \\\
|
|
|
|
-DCMAKE_INSTALL_MANDIR="%{_mandir}/man1" \\\
|
|
|
|
-DCMAKE_INSTALL_DOCDIR="%{_defaultdocdir}/%{name}"
|
|
|
|
|
|
|
|
%cmake %{cmake_options}
|
|
|
|
%cmake_build
|
2007-01-04 02:08:41 +01:00
|
|
|
|
|
|
|
%install
|
2022-09-08 14:53:14 +02:00
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
2009-07-16 18:00:25 +02:00
|
|
|
%suse_update_desktop_file -i vym Office ProjectManagement
|
2022-09-08 14:53:14 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# Make scripts executable already installed with cmake above
|
|
|
|
chmod 755 %{buildroot}%{_datadir}/%{name}/scripts/vivym
|
|
|
|
chmod 755 %{buildroot}%{_datadir}/%{name}/scripts/vym-addmail.rb
|
2007-01-04 02:08:41 +01:00
|
|
|
|
2009-07-16 18:00:25 +02:00
|
|
|
%post
|
|
|
|
if test -x usr/bin/update-mime-database ; then
|
|
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
|
|
fi
|
|
|
|
|
2007-01-04 02:08:41 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2016-06-20 19:13:57 +02:00
|
|
|
%{_datadir}/applications/*
|
2022-09-08 14:53:14 +02:00
|
|
|
|
|
|
|
# Directories can be owned by multiple packages:
|
|
|
|
%dir %{_datadir}/icons/hicolor/48x48
|
|
|
|
%dir %{_datadir}/icons/hicolor/48x48/apps
|
|
|
|
|
|
|
|
%{_datadir}/icons/*/*/*/*.*
|
2016-06-20 19:13:57 +02:00
|
|
|
%{_bindir}/vym
|
|
|
|
%{_datadir}/vym
|
2015-08-20 10:49:36 +02:00
|
|
|
|
2011-02-10 09:52:29 +01:00
|
|
|
%doc %{_docdir}/%{name}
|
2016-06-20 19:13:57 +02:00
|
|
|
%{_mandir}/*/*
|
2009-07-16 18:00:25 +02:00
|
|
|
%{_datadir}/mime/packages/vym.xml
|
2008-05-22 05:13:37 +02:00
|
|
|
|
2010-11-20 12:32:36 +01:00
|
|
|
%changelog
|