rpms/labyrinth/devel labyrinth-fix-interpreters.patch, NONE, 1.1 labyrinth.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Peter Gordon (pgordon)
fedora-extras-commits at redhat.com
Wed Nov 22 02:07:46 UTC 2006
Author: pgordon
Update of /cvs/extras/rpms/labyrinth/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1140/devel
Modified Files:
.cvsignore sources
Added Files:
labyrinth-fix-interpreters.patch labyrinth.spec
Log Message:
auto-import labyrinth-0.3-1 on branch devel from labyrinth-0.3-1.src.rpm
Initial import (APPROVED in bug #216363)
labyrinth-fix-interpreters.patch:
--- NEW FILE labyrinth-fix-interpreters.patch ---
--- labyrinth-0.3/src/Links.py.old 2006-11-15 21:56:09.000000000 -0800
+++ labyrinth-0.3/src/Links.py 2006-11-15 21:56:18.000000000 -0800
@@ -1,4 +1,4 @@
-#! /usr/bin env python
+#! /usr/bin/env python
# Link.py
# This file is part of Labyrinth
--- labyrinth-0.3/src/MainWindow.py.old 2006-11-15 21:56:31.000000000 -0800
+++ labyrinth-0.3/src/MainWindow.py 2006-11-15 21:56:44.000000000 -0800
@@ -1,4 +1,4 @@
-#! /usr/bin env python
+#! /usr/bin/env python
# MainWindow.py
# This file is part of Labyrinth
--- NEW FILE labyrinth.spec ---
%{!?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%{?dist}
Summary: A simple yet powerful mind-mapping tool for the GNOME desktop
Group: Applications/Productivity
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}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
BuildRequires: pygtk2-devel >= 2.8
BuildRequires: gnome-python2-devel >= 2.12
BuildRequires: gnome-desktop-devel >= 2.14
BuildRequires: desktop-file-utils
Requires: pygtk2-libglade >= 2.8
Requires: PyXML
## 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 %{?_smp_flags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang %{name}
desktop-file-install --vendor fedora \
--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/fedora-%{name}.desktop
%changelog
* Wed Nov 15 2006 Peter Gordon <peter at thecodergeek.com> - 0.3-1
- Initial packaging.
- Add patch to fix interpreters on MainWindow.py and Links.py scripts:
+ fix-interpreters.patch
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/labyrinth/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Nov 2006 02:06:48 -0000 1.1
+++ .cvsignore 22 Nov 2006 02:07:16 -0000 1.2
@@ -0,0 +1 @@
+labyrinth-0.3.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/labyrinth/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Nov 2006 02:06:48 -0000 1.1
+++ sources 22 Nov 2006 02:07:16 -0000 1.2
@@ -0,0 +1 @@
+d06a89239d53ae31846344c18b0df731 labyrinth-0.3.tar.bz2
More information about the fedora-extras-commits
mailing list