pcmanfm-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. %define enable_inotify 0
  2. %define enable_hal 1
  3. Name: pcmanfm
  4. Version: 0.5.2
  5. Release: 1%{?_dist_release}
  6. Summary: Extremly fast and lightweight file manager
  7. Summary(ja): とても高速で軽量なファイルマネージャ
  8. Group: Applications/System
  9. License: GPLv2+
  10. URL: http://pcmanfm.sourceforge.net
  11. Source0: http://osdn.dl.sourceforge.net/sourceforge/pcmanfm/%{name}-%{version}.tar.bz2
  12. Patch0: pcmanfm-0.5-kill-find-immediately.patch
  13. Patch1: pcmanfm-0.5-fix-str-fmt.patch
  14. Patch2: ca_po.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: automake >= 1.9
  17. BuildRequires: gtk2-devel >= 2.14
  18. BuildRequires: gamin-devel
  19. BuildRequires: desktop-file-utils
  20. BuildRequires: gettext
  21. BuildRequires: intltool
  22. BuildRequires: startup-notification-devel
  23. BuildRequires: dbus-devel
  24. BuildRequires: hal-devel
  25. BuildRequires: dbus-glib-devel
  26. BuildRequires: cairo-devel
  27. Requires: gtk2 >= 2.14, gamin, dbus-glib, hal
  28. Requires(post): desktop-file-utils
  29. Requires(postun): desktop-file-utils
  30. %description
  31. PCMan File Manager is an extremly fast and lightweight file manager
  32. which features tabbed browsing and user-friendly interface.
  33. %description -l ja
  34. PCMan File Manager はタブブラウズとユーザーフレンドリーな
  35. インターフェイスを特色とするとても高速で軽量なファイルマネージャです。
  36. %prep
  37. %setup -q
  38. %patch0 -p1 -b .search_hang
  39. %patch1 -p0
  40. %patch2 -p1
  41. chmod 644 INSTALL COPYING
  42. %build
  43. %configure \
  44. %if %{enable_hal} >= 1
  45. --enable-hal \
  46. %else
  47. --disable-hal \
  48. %endif
  49. %if %{enable_inotify} >= 1
  50. --enable-inotify
  51. %else
  52. --disable-inotify
  53. %endif
  54. %{__make} %{?_smp_mflags} -k
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. %find_lang %{name}
  59. desktop-file-install \
  60. --delete-original \
  61. --vendor vine \
  62. --dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
  63. ${RPM_BUILD_ROOT}/%{_datadir}/applications/pcmanfm.desktop
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %post
  67. update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
  68. %postun
  69. update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,-)
  72. %doc AUTHORS COPYING README TODO
  73. %{_bindir}/pcmanfm
  74. %{_datadir}/%{name}/*
  75. %{_datadir}/applications/*.desktop
  76. %{_datadir}/mime/packages/*.xml
  77. %{_datadir}/pixmaps/*
  78. %changelog
  79. * Sun Nov 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
  80. - new upstream release
  81. - added Patch2 to fix build error
  82. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1vl5
  83. - new upstream release
  84. - added BuildRequires: intltool
  85. - dropt Source1
  86. * Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-2vl5
  87. - added Patch1 (import Mandriva Package)
  88. - added BuildRequires: cairo-devel
  89. - replaced ja.po: from upstream repository
  90. - fixed BuildRoot tag
  91. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
  92. - initial build for VineSeed
  93. - Update to 0.5
  94. - added Patch0 (import Fedora package)
  95. * Sun Dec 03 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.2-1
  96. - Update to 0.3.2.2
  97. * Sun Oct 15 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.1-1
  98. - Update to 0.3.2.1
  99. * Sat Oct 14 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-1
  100. - Update to 0.3.2
  101. * Sun Oct 01 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.3.rc1
  102. - Update to 0.3.2-rc1
  103. * Sat Sep 30 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.2.beta3
  104. - Update to 0.3.2-beta3
  105. * Wed Sep 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.1.beta2
  106. - Update to 0.3.2-beta2
  107. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.2.beta2
  108. - Update to 0.3.1-beta2
  109. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.1.beta
  110. - Update to 0.3.1-beta
  111. * Tue Aug 22 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.2-1
  112. - Update to 0.3.0.2 release
  113. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.1-1
  114. - Update to 0.3.0.1 release
  115. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-1
  116. - Update to 0.3.0 release
  117. * Fri Aug 18 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-0.1.beta3
  118. - Initial RPM release