# # spec file for package vym (Version 1.12.8) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # # norootforbuild 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 Version: 1.12.8 Release: 1 Source0: %name-%version.tar.bz2 Source1: %name.desktop Source2: x-%name.desktop Source3: %name.xml %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 %prep %setup -q %build qmake -o Makefile vym.pro PREFIX=%_prefix CONFIG+=RELEASE make %install mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/pixmaps install -m 0644 icons/vym.png $RPM_BUILD_ROOT%{_prefix}/share/pixmaps mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} install -m 0644 README.txt LICENSE.txt INSTALL.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} install -m 0644 doc/*.pdf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} %makeinstall INSTALL_ROOT=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ #install -Dm644 %{SOURCE1} $RPM_BUILD_ROOT/%_datadir/application/%name.desktop #install -Dm644 %{SOURCE1} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ 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 %clean rm -rf $RPM_BUILD_ROOT %post if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi %files %defattr(-,root,root) /usr/share/applications/* /usr/share/pixmaps/* /usr/bin/vym /usr/share/vym /opt/kde3 #%doc demos %doc %{_defaultdocdir}/%{name} %{_datadir}/mime/packages/vym.xml %changelog