[cherrytree] Initial commit
cheeselee
cheeselee at fedoraproject.org
Fri Nov 4 02:06:34 UTC 2011
commit 5afddb5e6d88b4e6640d5365d711424a04353845
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Fri Nov 4 10:06:13 2011 +0800
Initial commit
.gitignore | 1 +
cherrytree.spec | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 130 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..71656e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cherrytree-0.23.1.tar.gz
diff --git a/cherrytree.spec b/cherrytree.spec
new file mode 100644
index 0000000..139ccc6
--- /dev/null
+++ b/cherrytree.spec
@@ -0,0 +1,128 @@
+# get python version
+%global py_ver %(if [ -f "%{__python}" ]; then %{__python} -c "import sys; sys.stdout.write(sys.version[:3])"; else echo 0; fi;)
+
+Name: cherrytree
+Version: 0.23.1
+Release: 1%{?dist}
+Summary: Hierarchical note taking application
+
+Group: Applications/Productivity
+License: GPLv2+
+URL: http://www.giuspen.com/cherrytree/
+Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+Requires: python(abi) = %{py_ver}
+Requires: pygtk2
+Requires: pygobject2
+Requires: pygtksourceview
+Requires: /usr/bin/7za
+
+%description
+CherryTree is a hierarchical note taking application, featuring rich text and
+syntax highlighting, storing all the data (including images) in a single XML
+file with extension ".ctd".
+
+
+%prep
+%setup -q
+# remove shebang to make rpmlint happy
+sed '/\/usr\/bin\/env/d' modules/main.py > modules/main.py.new && \
+ touch -r modules/main.py modules/main.py.new && \
+ mv modules/main.py.new modules/main.py
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --root %{buildroot}
+
+# don't include useless egg
+rm -rf %{buildroot}%{python_sitelib}
+
+# these are no longer in use
+rm -rf %{buildroot}%{_datadir}/application-registry/
+rm -rf %{buildroot}%{_datadir}/mime-info/
+
+%find_lang %{name}
+
+
+%post
+update-desktop-database &> /dev/null || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%doc changelog license
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/%{name}/
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%{_datadir}/mime/packages/%{name}.xml
+%{_mandir}/man1/*.1*
+
+
+%changelog
+* Thu Nov 3 2011 Robin Lee <cheeselee at fedoraproject.org> - 0.23.1-1
+- Update to 0.23.1
+- Add manuall python(abi) requirement
+
+* Thu Jun 23 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.22.1-1
+- Update to 0.22.1
+
+* Sun Apr 25 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.21-1
+- Update to 0.21
+
+* Tue Mar 08 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.20.1-1
+- Update to 0.20.1
+
+* Tue Mar 08 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.20.1-1
+- Update to 0.20
+
+* Sat Jan 22 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19.3-2
+- Omit %%{_datadir}/application-registry/ and %%{_datadir}/mime-info/
+
+* Fri Jan 21 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19.3-2
+- Remove useless egg and manually add python(abi) requirement
+
+* Mon Jan 17 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19.3-1
+- Update to 0.19.3
+
+* Sat Jan 15 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19.2-1
+- Update to 0.19.2
+- Drop cherrytree.glade.h again
+- Make sure cherrytree.desktop is not executable
+
+* Tue Jan 11 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19.1-1
+- Update to 0.19.1
+- Use setup.py instead of manual installation
+- BR python2-devel instead of python-devel
+
+* Tue Jan 04 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19-2
+- Drop cherrytree.glade.h
+
+* Mon Jan 03 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.19-1
+- Update to 0.19
+
+* Wed Dec 29 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.18.1-1
+- Update to 0.18.1
+
+* Mon Dec 20 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.17.1-1
+- Inital package
diff --git a/sources b/sources
index e69de29..586d55d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2804507e3e52b18378d6aff2db951c06 cherrytree-0.23.1.tar.gz
More information about the scm-commits
mailing list