packages: timeline/timeline.spec (NEW), timeline/env-python.patch (NEW) - i...

uzsolt uzsolt at pld-linux.org
Sat May 29 14:27:45 CEST 2010


Author: uzsolt                       Date: Sat May 29 12:27:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/timeline:
   timeline.spec (NONE -> 1.1)  (NEW), env-python.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/timeline/timeline.spec
diff -u /dev/null packages/timeline/timeline.spec:1.1
--- /dev/null	Sat May 29 14:27:45 2010
+++ packages/timeline/timeline.spec	Sat May 29 14:27:40 2010
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+Summary:	An application for displaying and navigating events on a timeline
+Summary(pl.UTF-8):	-
+Name:		timeline
+Version:	0.10.1
+Release:	0.2
+License:	GPL v3
+Group:		Applications
+Source0:	http://downloads.sourceforge.net/project/thetimelineproj/thetimelineproj/%{version}/%{name}-%{version}.zip
+# Source0-md5:	d47860752d22e77976c8506e8fda54b5
+Patch0:		env-python.patch
+URL:		http://thetimelineproj.sourceforge.net/
+BuildRequires:	gettext-devel
+BuildRequires:	scons
+Requires:	python-Markdown
+Requires:	python-wxPython
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+An application for displaying and navigating events on a timeline.
+
+%prep
+%setup -q
+sed -i "s,\.agw,," timelinelib/gui/components/cattree.py
+%patch0 -p1
+
+%build
+# generate translations
+scons mo
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{py_scriptdir}
+cp -rf timelinelib $RPM_BUILD_ROOT%{py_scriptdir}
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install %{name}.py $RPM_BUILD_ROOT%{_bindir}/timeline
+
+install -d $RPM_BUILD_ROOT%{_datadir}/locale
+rm po/*.po
+cp -rf po/* $RPM_BUILD_ROOT%{_datadir}/locale
+
+install -d $RPM_BUILD_ROOT%{py_scriptdir}/icons
+install icons/*.png $RPM_BUILD_ROOT%{py_scriptdir}/icons
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES README
+%attr(755,root,root) %{_bindir}/%{name}
+%{py_scriptdir}/%{name}lib
+%{py_scriptdir}/icons
+%lang(pt)%{_datadir}/locale/pt/LC_MESSAGES/timeline.mo
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+

================================================================
Index: packages/timeline/env-python.patch
diff -u /dev/null packages/timeline/env-python.patch:1.1
--- /dev/null	Sat May 29 14:27:45 2010
+++ packages/timeline/env-python.patch	Sat May 29 14:27:40 2010
@@ -0,0 +1,7 @@
+--- timeline-0.10.1/timeline.py~	2010-05-25 18:46:44.000000000 +0200
++++ timeline-0.10.1/timeline.py	2010-05-29 14:24:51.463106746 +0200
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ # Copyright (C) 2009, 2010  Rickard Lindberg, Roger Lindberg
+ #
+ # This file is part of Timeline.
================================================================


More information about the pld-cvs-commit mailing list