diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f42a94f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wuja-0.0.8.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 64492cc..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -wuja fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676222 diff --git a/sources b/sources new file mode 100644 index 0000000..bf3260b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a8775b800930e589d61dbba439d3ee81 wuja-0.0.8.tar.gz diff --git a/wuja.spec b/wuja.spec new file mode 100644 index 0000000..f573368 --- /dev/null +++ b/wuja.spec @@ -0,0 +1,118 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: wuja +Version: 0.0.8 +Release: 6%{?dist} +Summary: Gnome desktop applet for integration with Google Calendar + +Group: Applications/Internet +License: GPLv2+ +URL: http://dangerouslyinc.com/wuja +Source0: http://dangerouslyinc.com/files/wuja/wuja-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel + +Requires: python-vobject >= 0.4.4 +Requires: python-dateutil >= 1.1 +Requires: gnome-python2-libegg >= 2.14.3 +Requires: gnome-python2-gconf >= 2.18.1 +Requires: notify-python >= 0.1.0 + +Requires(pre): GConf2 +Requires(post): GConf2 +Requires(preun): GConf2 + +%description +wuja is a Gnome application for integration with Google Calendar. +%prep +%setup -q -n wuja-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/*egg-info/requires.txt + + +%pre +if [ "$1" -gt 1 ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/wuja.schema >/dev/null || : +fi + + +%post +export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` +gconftool-2 --makefile-install-rule \ + %{_sysconfdir}/gconf/schemas/wuja.schema > /dev/null || : + + +%preun +if [ "$1" -eq 0 ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/wuja.schema > /dev/null || : +fi + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS +%doc LICENSE +%doc README +%{_sysconfdir}/gconf/schemas/wuja.schema +%{_bindir}/wuja +%dir %{python_sitelib}/wuja +%{python_sitelib}/wuja/* +%{python_sitelib}/wuja*.egg-info + + +%changelog +* Wed Feb 25 2009 Fedora Release Engineering - 0.0.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.0.8-5 +- Rebuild for Python 2.6 + +* Sat Sep 6 2008 Tom "spot" Callaway 0.0.8-4 +- fix license tag + +* Fri Apr 04 2008 Devan Goodwin 0.0.8-3 +- Minor fix for missing egg info file. + +* Sat Jun 02 2007 Devan Goodwin 0.0.8-1 +- Releasing 0.0.8. + +* Sun Apr 29 2007 Devan Goodwin 0.0.7-2 +- Updating spec file as per Fedora review suggestions. + +* Thu Apr 26 2007 Devan Goodwin 0.0.7-1 +- Updated to use _elementtree module in Python 2.5 if available. + +* Mon Feb 22 2007 Devan Goodwin 0.0.6-1 +- Renamed back to just wuja, not really a Gnome applet. + +* Mon Feb 05 2007 Devan Goodwin 0.0.6-1 +- Disabled threading for temporary bugfix release. + +* Mon Feb 05 2007 Devan Goodwin 0.0.5-3 +- Updates to .spec file. + +* Sun Jan 21 2007 Devan Goodwin 0.0.5-2 +- Renamed to gnome-applet-wuja. + +* Wed Jan 17 2007 Devan Goodwin 0.0.5-1 +- Initial packaging. +