File tasks.spec of Package tasks

###############################################
# Do not Edit! Generated by:
# spec-builder version 0.14
###############################################

Name: tasks
Summary: Tasks to-do list
Group: Applications/Productivity
Version: 0.16
License: GPLv2+
URL: http://pimlico-project.org/tasks.html
Release: 3.1
Source0: %{name}-%{version}.tar.gz
#Source1: tasks.desktop
Patch0: tasks-window-size-moblin.patch
Patch1: translate-enable.patch
Patch2: remove-26x26.patch 
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: gettext,intltool, libsexy-devel, gtk2-devel, gnome-common
BuildRequires: evolution-data-server-devel >= 1.2.0
BuildRequires: desktop-file-utils

Requires: evolution-data-server-dbus
Requires: gtk2
Requires(post): /bin/touch
Requires(post): /bin/touch

%description
Tasks is a simple to do list application that uses libecal, part of Embedded
Evolution Data Server.

%prep  
%setup -q -n tasks-%{version}
%patch0 -p1 -b .tasks-window-size-moblin
%patch1 -p1 -b .translate-enable
%patch2 -p1 
  
%build  
#%configure  
./autogen.sh --prefix=/usr 
%{__make}  
   
%install  
%{__rm} -rf %{buildroot}  
%{__make} install DESTDIR="%{buildroot}" INSTALL="%{__install} -p"  
%find_lang %{name}  
  
%clean  
%{__rm} -rf %{buildroot}  
  
%post  
#touch %{_datadir}/icons/hicolor  
#/opt/gnome/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :  
/bin/touch --no-create %{_datadir}/icons/hicolor || :
  
#%postun  
#touch %{_datadir}/icons/hicolor  
#/opt/gnome/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :  
%{_bindir}/gtk-update-icon-cache \
  --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
  
%files -f %{name}.lang  
%defattr(-, root, root, -)  
%doc AUTHORS ChangeLog COPYING NEWS README  
%{_bindir}/tasks  
%{_datadir}/applications/tasks.desktop  
%{_datadir}/icons/hicolor/22x22/apps/tasks.png  
%{_datadir}/icons/hicolor/64x64/apps/tasks.png  
%{_datadir}/icons/hicolor/16x16/apps/tasks.png  
%{_datadir}/icons/hicolor/24x24/apps/tasks.png  
%{_datadir}/icons/hicolor/48x48/apps/tasks.png  
%{_datadir}/icons/hicolor/32x32/apps/tasks.png  
#%{_datadir}/icons/hicolor/26x26/apps/tasks.png  
%{_datadir}/icons/hicolor/scalable/apps/tasks.svg  
#%{_datadir}/tasks/  
  

%changelog
* Fri Jul 24 2009 Ross Burton <ross@linux.intel.com> 0.16
- Upstream snapshot with updated translations
* Thu Jul 23 2009 Ross Burton <ross@linux.intel.com> 0.16
- Upstream snapshot with updated translations
* Fri Jul 10 2009 Ross Burton <ross@linux.intel.com> 0.16
- Updated translations
- Don't crash when deleting a modified task (#4272)
* Thu May 14 2009 Vivian Zhang <vivian.zhang@intel.com> 0.15
- Update the desktop file
* Mon Mar 30 2009 Damien Lespiau <damien.lespiau@intel.com> 0.15
- Update to version 0.15
- Add a patch to make the initial window bigger and centered
- Remove upstreamed patch
* Fri Mar 27 2009 Xu Li <xu.li@intel.com> 0.14
- Add patch
* Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 0.14
- Update spec file using latest spec-builder
* Tue Dec 16 2008 Joshua Lock <josh@linux.intel.com> - 0.14-2
- Use specbuilder
* Fri Nov 28 2008 Joshua Lock <josh@linux.intel.com> - 0.14-1
- Update to latest stable 0.14
- Fix up F9 spec file to work in Moblin
- Update to use new pkgconfig macros
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12-2
- Autorebuild for GCC 4.3
* Wed Sep  5 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.12-1
- New upstream release
- Patch out SingleInstance .desktop key
* Mon Aug 13 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.11-1
- New upstream release
* Thu Aug  2 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.10-2
- License tag change per Licensing Guidelines
* Thu Jul 19 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.10-1
- New upstream release
* Tue Jun 26 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.9-1
- New upstream release
* Thu Jun 14 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.8-1
- New upstream release
* Tue May 29 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.7-2
- Update URLs
* Mon May 28 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.7-1
- New upstream release
* Sat May 19 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.5-1
- New upstream release
- Drop license patch
- Desktop file fixed upstream, don't --remove-category anymore
* Fri Apr 20 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.4-4
- Bump release to fix up CVS tags
* Wed Apr 11 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.4-3
- Preserve timestamps on install
- Fix /usr/share/tasks/tasks-ui.xml files listing twice
- Patch Help -> About -> License to fix name
* Sat Mar 17 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.4-2
- own /usr/share/tasks
* Fri Mar 16 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.4-1
- new upstream version
* Wed Mar  7 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.3-3
- only drop Application category from .desktop
* Wed Mar  7 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.3-2
- remove spurious update-desktop-database
- use desktop-file-install --remove-category rather than patch .desktop
- use find_lang properly
* Tue Mar  6 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.3-1
- New upstream version
- Add BuildRequires on gettext, intltool for i18n support
- use setup defaults for -n
- zero-length TODO in this release; remove from doc
* Mon Mar  5 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.2-2
- Remove deprecated X-Fedora desktop category
- Patch .desktop file to pick correct fd.o category
* Fri Mar  2 2007 Dan Young <dyoung@mesd.k12.or.us> - 0.2-1
- Initial spec file adapted from contacts
openSUSE Build Service is sponsored by