tasque-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. Name: tasque
  2. Version: 0.1.12
  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.xz
  10. # Vine Patches
  11. Patch70: tasque-0.1.12-dbussharp2.patch
  12. Patch71: tasque-0.1.12-smaller-font.patch
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: dbus-sharp-devel dbus-sharp-glib-devel
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: gettext-devel intltool pkgconfig
  18. BuildRequires: gnome-sharp2-devel
  19. BuildRequires: gtk-sharp2-devel
  20. BuildRequires: mono-core mono-data-sqlite mono-devel
  21. BuildRequires: notify-sharp-devel
  22. # to avoid autoreconf error...
  23. BuildRequires: glib2-devel
  24. Requires(post): desktop-file-utils
  25. Requires(postun): desktop-file-utils
  26. Requires: mono-core gnome-sharp2 gtk-sharp2 mono-data-sqlite
  27. Requires: notify-sharp
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: kazutaka
  31. %description
  32. Tasque is a simple task management app (TODO list) for the Linux Desktop.
  33. %description -l ja
  34. Tasque は Linux デスクトップ向けのシンプルなタスク管理 (TODO リスト) アプリケーションです。
  35. %package devel
  36. Summary: Development files for tasque
  37. Summary(ja): tasque の開発用ファイル
  38. Group: Documentation
  39. Requires: %{name} = %{version}-%{release} pkgconfig
  40. %description devel
  41. Development files for tasque
  42. %description devel -l ja
  43. tasque の開発用ファイルです。
  44. %prep
  45. %setup -q
  46. %patch70 -p1 -b .dbussharp2
  47. %patch71 -p1 -b .smaller-font
  48. sed -i.nosuse -e 's|X-SuSE-Core-Office;||' data/tasque.desktop.in
  49. %build
  50. autoreconf -f -i
  51. %configure --disable-appindicator
  52. make %{?_smp_mflags}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  56. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  57. mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/*.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  58. desktop-file-install --delete-original --vendor="" \
  59. --dir=%{buildroot}%{_datadir}/applications \
  60. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  61. %find_lang %{name}
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %post
  65. touch --no-create %{_datadir}/icons/hicolor
  66. update-desktop-database %{_datadir}/applications &> /dev/null || :
  67. %postun
  68. if [ $1 -eq 0 ] ; then
  69. touch --no-create %{_datadir}/icons/hicolor
  70. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  71. fi
  72. update-desktop-database %{_datadir}/applications &> /dev/null || :
  73. %posttrans
  74. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  75. %files -f %{name}.lang
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
  78. %{_bindir}/%{name}
  79. %{_prefix}/lib/%{name}
  80. %{_datadir}/%{name}
  81. %{_datadir}/applications/*.desktop
  82. %{_datadir}/dbus-1/services/org.gnome.Tasque.service
  83. %{_datadir}/icons/hicolor/*/apps/*
  84. %{_datadir}/pixmaps/*
  85. %files devel
  86. %defattr (-,root,root,-)
  87. %{_datadir}/pkgconfig/%{name}.pc
  88. %changelog
  89. * Sun Apr 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1.12-1
  90. - updated to 0.1.12
  91. - dropt Source1 (upsteream is newer)
  92. - added Patch70 to build with dbus-sharp 0.8 series
  93. - updated Patch1 and renumberd as Patch71
  94. - added BR: dbus-sharp-devel and dbus-sharp-glib-devel instead of ndesk-dbus and ndesk-dbus-glib respectively
  95. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.9-2
  96. - rebuilt with rpm-4.8.1 for pkg-config
  97. * Sat Mar 13 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.1.9-1
  98. - new upstream release
  99. - drop Patch0 & Patch2
  100. - update Patch1
  101. - add configure option --disable-standard-backends
  102. - add Source1 for updated japanese translation
  103. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-2
  104. - rebuild with latest rpm to update mono-dependencies
  105. * Wed Jun 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-1
  106. - initial build for Vine Linux based of fedora development
  107. - add Patch1&2 to slightly change apperance and translation
  108. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-2
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  110. * Mon Dec 29 2008 David Kaylor<dkaylor@gmail.com> - 0.1.8-1
  111. - Update to version 0.1.8
  112. - libdir bug is partially fixed. Create a patch for the remaining files.
  113. * Mon Dec 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-5
  114. - Add mono-data-sqlite dep for sqlite backend
  115. * Mon Dec 22 2008 Maxime Carron <mxcarron@fedoraproject.org> - 0.1.7-4
  116. - Enable sqlite backend for standalone mode
  117. * Tue Oct 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-3
  118. - Add NEWS and TODO doc files
  119. - Add notify-sharp deps for Fedora 10+
  120. * Tue Oct 20 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-2
  121. - Put link to upstream bug in patch file
  122. * Tue Sep 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-1
  123. - Update to 0.1.7
  124. * Mon Jul 30 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-4
  125. - Properly install .desktop file
  126. * Mon Jul 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-3
  127. - Remove "X-SuSE-Core-Office" from groups in desktop file
  128. - Add ndesk-dbus-glib dependency
  129. * Mon Jul 14 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-2
  130. - Replace hardcoded /usr/lib paths with libdir
  131. - Add gtk2-sharp to Requires
  132. - Add docs files
  133. - Stop generating debug package
  134. * Wed Jul 3 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-1
  135. - Update to 0.1.6
  136. - Incorporate suggested improvements from https://bugzilla.redhat.com/show_bug.cgi?id=449869
  137. * Wed Jun 2 2008 David Kaylor<dkaylor@gmail.com> - 0.1.5-1
  138. - Initial package