2007-01-04 02:08:41 +01:00
|
|
|
#
|
2010-11-20 12:32:36 +01:00
|
|
|
# spec file for package vym (Version 1.12.8)
|
2007-01-04 02:08:41 +01:00
|
|
|
#
|
2010-11-20 12:32:36 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-04 02:08:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
2010-11-20 12:32:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
Name: vym
|
|
|
|
|
|
|
|
BuildRequires: libqt4-devel update-desktop-files
|
|
|
|
Requires: zip unzip
|
|
|
|
License: GPLv2
|
|
|
|
Group: Productivity/Office/Other
|
|
|
|
Url: http://www.insilmaril.de/vym/index.html
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
AutoReqProv: on
|
|
|
|
Summary: View Your Mind - generate and manipulate maps which show your thoughts
|
2011-02-16 13:40:20 +01:00
|
|
|
Version: 1.13.26
|
2010-11-20 12:32:36 +01:00
|
|
|
Release: 1
|
|
|
|
Source0: %name-%version.tar.bz2
|
2011-02-10 09:52:29 +01:00
|
|
|
Source1: %name.xml
|
|
|
|
Source2: %name.desktop
|
|
|
|
Source3: x-%name.desktop
|
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
|
2010-11-20 12:32:31 +01:00
|
|
|
qmake -o Makefile vym.pro PREFIX=%_prefix CONFIG+=RELEASE
|
2007-07-13 22:36:21 +02:00
|
|
|
make
|
2011-02-10 09:52:29 +01:00
|
|
|
lrelease vym.pro
|
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
|
2010-11-20 12:32:31 +01:00
|
|
|
|
2011-02-10 09:52:29 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
|
|
|
|
install -Dm644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/applications
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -m 0644 doc/vym.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
|
2009-07-16 18:00:25 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/mime/packages
|
2011-02-10 09:52:29 +01:00
|
|
|
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/mime/packages/
|
2009-07-16 18:00:25 +02:00
|
|
|
%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
|
2011-02-10 09:52:29 +01:00
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%doc %{_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
|