lxtask-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Name: lxtask
  2. Version: 0.1.1
  3. Release: 1%{?_dist_release}
  4. Summary: Lightweight and desktop independent task manager
  5. Summary(ja): 軽量で独立したタスクマネージャ
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://lxde.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  10. #Source1: lxtask-LINGUAS
  11. #Source2: lxtask-upstream-r1221-ja.po
  12. Patch0: %{name}-0.1.1-invalid-desktop-file.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. BuildRequires: gtk2-devel > 2.6, gettext, desktop-file-utils
  17. %description
  18. LXTask is a lightweight task manager derived from xfce4 task manager with all
  19. xfce4 dependencies removed, some bugs fixed, and some improvement of UI.
  20. Although being part of LXDE, the Lightweight X11 Desktop Environment, it's
  21. totally desktop independent and only requires pure gtk+.
  22. %prep
  23. %setup -q
  24. %patch0 -p1 -b .invalid
  25. #%__cp -f %{SOURCE1} po/LINGUAS
  26. #%__cp -f %{SOURCE2} po/ja.po
  27. %build
  28. %configure
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. desktop-file-install --vendor="vine" \
  34. --delete-original \
  35. --remove-category=Application \
  36. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  37. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  38. %find_lang %{name}
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files -f %{name}.lang
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING
  44. %{_bindir}/%{name}
  45. %{_datadir}/applications/*.desktop
  46. %changelog
  47. * Tue Jul 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1
  48. - new upstream release
  49. - dropt Source1,2
  50. - updated Patch0
  51. * Fri Mar 27 2009 IWAI, Masaharu <iwai@alib.jp> 0.1-2
  52. - replace ja.po: from upstream repository
  53. - drop ja.po patch (Patch1)
  54. - add Vendor and Distribution tags for Vine Linux
  55. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1vl5
  56. - initial build for VineSeed (import Fedora Package)
  57. * Sun May 04 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1-1
  58. - Initial Fedora RPM