pkg://notemeister-0.1.7-7.src.rpm:56401/notemeister.spec
info downloads
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: notemeister
Version: 0.1.7
Release: 7
Summary: Small, simple note organizer made for the GNOME2 desktop
Group: Applications/Productivity
License: GPL
URL: http://notemeister.sourceforge.net
Source0: http://dl.sf.net/sourceforge/notemeister/notemeister-0.1.7.tar.gz
#wgetable URL: http://mesh.dl.sourceforge.net/sourceforge/notemeister/notemeister-0.1.7.tar.gz (german sf mirror)
Patch0: %{name}-gtkwarnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel >= 2.3.3
BuildRequires: gnome-python2-gconf >= 2.0
BuildRequires: desktop-file-utils
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Requires: pygtk2 >= 2.4.0
Requires: pyorbit >= 2.0.0
Requires: gnome-python2 >= 2.0.2
Requires: gnome-python2-gconf
%description
Notemeister is a small, simple note organizer made for the GNOME2 desktop.
Current Features:
* Notes stored in a tree view and structure
* Drag and drop support for reordering notes
* Simple text formatting by highlighted bounds
* Auto-save feature
* Import/Export to/from text files
* Link notes to a file on disk
%prep
%setup -q
%patch0 -b patch0 -p 1
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
desktop-file-install \
--vendor fedora \
--mode 644 \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
rm -rf $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README COPYING AUTHORS PKG-INFO
%{_bindir}/notemeister
%{_datadir}/applications/*.desktop
%{_datadir}/notemeister/
%{_datadir}/pixmaps/notemeister.svg
%dir %{python_sitelib}/notemeister
%ghost %{python_sitelib}/notemeister/*.pyo
%{python_sitelib}/notemeister/*.py
%{python_sitelib}/notemeister/*.pyc
%changelog
* Thu May 05 2005 Thorsten Leemhuis <fedora at leemhuis dot info> 0.1.7-7
- Devel rebuild
* Thu May 05 2005 Thorsten Leemhuis <fedora at leemhuis dot info> 0.1.7-6
- Add notemeister-gtkwarnings.patch from bytee to fix gtk deprecation warnings
* Thu Apr 14 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.1.7-5
- Add dependency on gnome-python2-gconf for 'import gconf'.
* Mon Apr 11 2005 Thorsten Leemhuis <fedora at leemhuis dot info> 0.1.7-4
- BR desktop-file-install
* Wed Mar 30 2005 Thorsten Leemhuis <fedora at leemhuis dot info> 0.1.7-3
- Devel rebuild
* Fri Nov 19 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:0.1.7-0.fdr.2
- Don't ship empty NEWS file
- Point Source0 to sourceforge download redirector
* Sat Nov 13 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:0.1.7-0.fdr.1
- Initial RPM release.