2007-01-04 02:08:41 +01:00
|
|
|
#
|
2008-11-03 14:42:49 +01:00
|
|
|
# spec file for package vym (Version 1.12.2)
|
2007-01-04 02:08:41 +01:00
|
|
|
#
|
2009-07-16 18:00:25 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-04 02:08:41 +01:00
|
|
|
#
|
2008-11-03 14:42:49 +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.
|
|
|
|
|
2007-01-04 02:08:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-22 05:13:37 +02:00
|
|
|
|
2007-01-04 02:08:41 +01:00
|
|
|
Name: vym
|
2007-09-06 22:28:06 +02:00
|
|
|
BuildRequires: libqt4-devel update-desktop-files
|
2008-05-22 05:13:37 +02:00
|
|
|
Requires: zip unzip
|
2009-07-16 18:00:25 +02:00
|
|
|
License: GPL v2 only
|
2007-01-04 02:08:41 +01:00
|
|
|
Group: Productivity/Office/Other
|
2007-10-17 17:35:54 +02:00
|
|
|
Url: http://www.insilmaril.de/vym/index.html
|
2007-01-04 02:08:41 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-10-17 17:35:54 +02:00
|
|
|
AutoReqProv: on
|
2007-07-13 22:36:21 +02:00
|
|
|
Summary: VYM (View Your Mind) generate and manipulate maps which show your thoughts
|
2008-11-03 14:42:49 +01:00
|
|
|
Version: 1.12.2
|
2009-07-16 18:00:25 +02:00
|
|
|
Release: 2
|
2007-07-13 22:36:21 +02:00
|
|
|
Source0: %name-%version.tar.bz2
|
2007-01-04 02:08:41 +01:00
|
|
|
Source1: %name.desktop
|
|
|
|
Source2: x-%name.desktop
|
2009-07-16 18:00:25 +02:00
|
|
|
Source3: %name.xml
|
2007-01-04 02:08:41 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
VYM (View Your Mind) is a tool to generate and manipulate maps which
|
|
|
|
show your thoughts. Such maps can help you to improve your creativity
|
|
|
|
and effectivity. You can use them for time management, to organize
|
|
|
|
tasks, to get an overview over complex contexts, to sort your ideas
|
|
|
|
etc. Some people even think it is fun to work with such maps...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Uwe Drechsel <vym@insilmaril.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-07-16 18:00:25 +02:00
|
|
|
qmake -o Makefile vym.pro PREFIX=%_prefix
|
2007-07-13 22:36:21 +02:00
|
|
|
make
|
2007-01-04 02:08:41 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/pixmaps
|
|
|
|
install -m 0644 icons/vym.png $RPM_BUILD_ROOT%{_prefix}/share/pixmaps
|
2007-07-13 22:36:21 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
|
|
|
install -m 0644 README.txt LICENSE.txt INSTALL.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
2007-08-28 19:23:38 +02:00
|
|
|
install -m 0644 doc/*.pdf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
2007-10-26 01:57:21 +02:00
|
|
|
%makeinstall INSTALL_ROOT=$RPM_BUILD_ROOT
|
2007-01-04 02:08:41 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
|
2009-07-16 18:00:25 +02:00
|
|
|
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
|
2008-05-22 05:13:37 +02:00
|
|
|
#install -Dm644 %{SOURCE1} $RPM_BUILD_ROOT/%_datadir/application/%name.desktop
|
|
|
|
#install -Dm644 %{SOURCE1} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
|
2009-07-16 18:00:25 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/mime/packages
|
|
|
|
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/usr/share/mime/packages/
|
|
|
|
%suse_update_desktop_file -i vym Office ProjectManagement
|
2007-01-04 02:08:41 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
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)
|
|
|
|
/usr/share/applications/*
|
|
|
|
/usr/share/pixmaps/*
|
|
|
|
/usr/bin/vym
|
|
|
|
/usr/share/vym
|
|
|
|
/opt/kde3
|
2007-07-13 22:36:21 +02:00
|
|
|
#%doc demos
|
|
|
|
%doc %{_defaultdocdir}/%{name}
|
2009-07-16 18:00:25 +02:00
|
|
|
%{_datadir}/mime/packages/vym.xml
|
2008-05-22 05:13:37 +02:00
|
|
|
|
2007-07-13 22:36:21 +02:00
|
|
|
%changelog
|