Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:joshkress
labyrinth
labyrinth.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File labyrinth.spec of Package labyrinth
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define python_module_name %{name} Name: labyrinth Version: 0.3 Release: 1 Summary: A simple yet powerful mind-mapping tool for the GNOME desktop Group: Productivity/Office/Organizers License: GPL URL: http://www.gnome.org/~dscorgie/labyrinth.html Source0: http://www.gnome.org/~dscorgie/files/%{name}-%{version}.tar.bz2 Patch0: %{name}-fix-interpreters.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: gettext BuildRequires: perl-XML-Parser BuildRequires: python-gtk-devel >= 2.8 BuildRequires: python-cairo-devel >= 1.2 BuildRequires: python-gobject2-devel BuildRequires: python-gnome-devel >= 2.12 BuildRequires: gnome-desktop-devel >= 2.14 BuildRequires: desktop-file-utils Requires: python-gtk >= 2.8 Requires: python-cairo Requires: python-gobject2 Requires: python-gnome Requires: python-xml ## Taken from the website's "About" page, as well as Wikipedia's explanation ## of a mind-map. %description Labyrinth is a lightweight mind-mapping tool, written in Python using Gtk and Cairo to do the drawing. It is intended to be as light and intuitive as possible, but still provide a wide range of powerful features. A mind-map is a diagram used to represent words, ideas, tasks or other items linked to and arranged radially around a central key word or idea. It is used to generate, visualize, structure and classify ideas, and as an aid in study, organization, problem solving, and decision making. %prep %setup -q %patch0 -p1 %configure %build make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %find_lang %{name} desktop-file-install --vendor opensuse \ --dir %{buildroot}%{_datadir}/applications \ --delete-original \ --remove-category=Application \ %{buildroot}/%{_datadir}/applications/%{name}.desktop chmod +x %{buildroot}/%{python_sitelib}/%{python_module_name}/TextThought.py chmod +x %{buildroot}/%{python_sitelib}/%{python_module_name}/Links.py chmod +x %{buildroot}/%{python_sitelib}/%{python_module_name}/MMapArea.py chmod +x %{buildroot}/%{python_sitelib}/%{python_module_name}/MainWindow.py %post touch --no-create %{_datadir}/icons/hicolor ||: %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: %postun touch --no-create %{_datadir}/icons/hicolor ||: %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{python_sitelib}/%{python_module_name}/ %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/applications/opensuse-%{name}.desktop %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