tasque-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. Name: tasque
  2. Version: 0.1.9
  3. Release: 1%{?_dist_release}
  4. Summary: A simple task management app
  5. Summary(ja): シンプルなタスク管理アプリケーション
  6. Group: Applications/Productivity
  7. License: MIT
  8. URL: http://live.gnome.org/Tasque
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/tasque/0.1/%{name}-%{version}.tar.bz2
  10. Source1: tasque-0.1.9-ja.po
  11. Patch1: tasque-0.1.8-smaller-font.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: intltool pkgconfig mono-core gtk-sharp2
  14. BuildRequires: gnome-sharp2 ndesk-dbus ndesk-dbus-glib
  15. BuildRequires: gettext desktop-file-utils mono-data-sqlite
  16. BuildRequires: notify-sharp-devel
  17. Requires: mono-core gnome-sharp2 gtk-sharp2 ndesk-dbus-glib mono-data-sqlite
  18. Requires: notify-sharp
  19. #ExcludeArch: ppc64
  20. Packager: kazutaka
  21. %description
  22. Tasque is a simple task management app (TODO list) for the Linux Desktop.
  23. %description -l ja
  24. Tasque は Linux デスクトップ向けのシンプルなタスク管理 (TODO
  25. リスト) アプリケーションです。
  26. %package devel
  27. Summary: Development files for tasque
  28. Summary(ja): tasque の開発用ファイル
  29. Group: Documentation
  30. Requires: %{name} = %{version}-%{release} pkgconfig
  31. %description devel
  32. Development files for tasque
  33. %description devel -l ja
  34. tasque の開発用ファイルです。
  35. %prep
  36. %setup -q
  37. %patch1 -p1
  38. sed -i.nosuse -e 's|X-SuSE-Core-Office;||' data/tasque.desktop.in
  39. %{__cp} %{SOURCE1} po/ja.po
  40. %build
  41. %configure --disable-standard-backends --enable-backend-rtm --enable-backend-sqlite
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf ${RPM_BUILD_ROOT}
  45. make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
  46. %find_lang %{name}
  47. desktop-file-install --delete-original --vendor="vine" \
  48. --dir=%{buildroot}%{_datadir}/applications \
  49. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  50. %clean
  51. rm -rf ${RPM_BUILD_ROOT}
  52. %post
  53. touch --no-create %{_datadir}/icons/hicolor
  54. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  55. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  56. fi
  57. %postun
  58. touch --no-create %{_datadir}/icons/hicolor
  59. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  60. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  61. fi
  62. %files -f %{name}.lang
  63. %defattr(-,root,root,-)
  64. %doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
  65. %{_bindir}/%{name}
  66. %{_libdir}/%{name}
  67. %{_datadir}/%{name}
  68. %{_datadir}/applications/vine-%{name}.desktop
  69. %{_datadir}/dbus-1/services/org.gnome.Tasque.service
  70. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  71. %{_datadir}/pixmaps/*
  72. %files devel
  73. %defattr (-,root,root,-)
  74. %{_libdir}/pkgconfig/%{name}.pc
  75. %changelog
  76. * Sat Mar 13 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.1.9-1
  77. - new upstream release
  78. - drop Patch0 & Patch2
  79. - update Patch1
  80. - add configure option --disable-standard-backends
  81. - add Source1 for updated japanese translation
  82. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-2
  83. - rebuild with latest rpm to update mono-dependencies
  84. * Wed Jun 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-1
  85. - initial build for Vine Linux based of fedora development
  86. - add Patch1&2 to slightly change apperance and translation
  87. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  89. * Mon Dec 29 2008 David Kaylor<dkaylor@gmail.com> - 0.1.8-1
  90. - Update to version 0.1.8
  91. - libdir bug is partially fixed. Create a patch for the remaining files.
  92. * Mon Dec 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-5
  93. - Add mono-data-sqlite dep for sqlite backend
  94. * Mon Dec 22 2008 Maxime Carron <mxcarron@fedoraproject.org> - 0.1.7-4
  95. - Enable sqlite backend for standalone mode
  96. * Tue Oct 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-3
  97. - Add NEWS and TODO doc files
  98. - Add notify-sharp deps for Fedora 10+
  99. * Tue Oct 20 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-2
  100. - Put link to upstream bug in patch file
  101. * Tue Sep 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-1
  102. - Update to 0.1.7
  103. * Mon Jul 30 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-4
  104. - Properly install .desktop file
  105. * Mon Jul 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-3
  106. - Remove "X-SuSE-Core-Office" from groups in desktop file
  107. - Add ndesk-dbus-glib dependency
  108. * Mon Jul 14 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-2
  109. - Replace hardcoded /usr/lib paths with libdir
  110. - Add gtk2-sharp to Requires
  111. - Add docs files
  112. - Stop generating debug package
  113. * Wed Jul 3 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-1
  114. - Update to 0.1.6
  115. - Incorporate suggested improvements from https://bugzilla.redhat.com/show_bug.cgi?id=449869
  116. * Wed Jun 2 2008 David Kaylor<dkaylor@gmail.com> - 0.1.5-1
  117. - Initial package