tasque-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. Name: tasque
  2. Version: 0.1.9
  3. Release: 2%{?_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. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.9-2
  77. - rebuilt with rpm-4.8.1 for pkg-config
  78. * Sat Mar 13 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.1.9-1
  79. - new upstream release
  80. - drop Patch0 & Patch2
  81. - update Patch1
  82. - add configure option --disable-standard-backends
  83. - add Source1 for updated japanese translation
  84. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-2
  85. - rebuild with latest rpm to update mono-dependencies
  86. * Wed Jun 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-1
  87. - initial build for Vine Linux based of fedora development
  88. - add Patch1&2 to slightly change apperance and translation
  89. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-2
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  91. * Mon Dec 29 2008 David Kaylor<dkaylor@gmail.com> - 0.1.8-1
  92. - Update to version 0.1.8
  93. - libdir bug is partially fixed. Create a patch for the remaining files.
  94. * Mon Dec 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-5
  95. - Add mono-data-sqlite dep for sqlite backend
  96. * Mon Dec 22 2008 Maxime Carron <mxcarron@fedoraproject.org> - 0.1.7-4
  97. - Enable sqlite backend for standalone mode
  98. * Tue Oct 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-3
  99. - Add NEWS and TODO doc files
  100. - Add notify-sharp deps for Fedora 10+
  101. * Tue Oct 20 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-2
  102. - Put link to upstream bug in patch file
  103. * Tue Sep 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-1
  104. - Update to 0.1.7
  105. * Mon Jul 30 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-4
  106. - Properly install .desktop file
  107. * Mon Jul 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-3
  108. - Remove "X-SuSE-Core-Office" from groups in desktop file
  109. - Add ndesk-dbus-glib dependency
  110. * Mon Jul 14 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-2
  111. - Replace hardcoded /usr/lib paths with libdir
  112. - Add gtk2-sharp to Requires
  113. - Add docs files
  114. - Stop generating debug package
  115. * Wed Jul 3 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-1
  116. - Update to 0.1.6
  117. - Incorporate suggested improvements from https://bugzilla.redhat.com/show_bug.cgi?id=449869
  118. * Wed Jun 2 2008 David Kaylor<dkaylor@gmail.com> - 0.1.5-1
  119. - Initial package