pcmanfm-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. Name: pcmanfm
  2. Version: 1.0.1
  3. Release: 1%{?_dist_release}
  4. Summary: Extremly fast and lightweight file manager
  5. Summary(ja): とても高速で軽量なファイルマネージャー
  6. Group: Applications/System
  7. License: GPLv2+
  8. URL: http://pcmanfm.sourceforge.net
  9. Source0: http://osdn.dl.sourceforge.net/sourceforge/pcmanfm/pcmanfm-%{version}.tar.gz
  10. Patch0: fix_dso_link.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: automake >= 1.9
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: gtk2-devel >= 2.16.0
  15. BuildRequires: glib2-devel >= 2.18.0
  16. BuildRequires: gettext
  17. BuildRequires: intltool >= 0.40
  18. BuildRequires: libfm-gtk-devel >= 0.1.99
  19. BuildRequires: libtool
  20. BuildRequires: libX11-devel
  21. BuildRequires: menu-cache-devel >= 0.3.2
  22. BuildRequires: pango-devel
  23. BuildRequires: perl-XML-Parser
  24. BuildRequires: pkgconfig
  25. Requires: libfm >= 0.1.99
  26. Requires: shared-mime-info
  27. Requires(post): desktop-file-utils
  28. Requires(postun): desktop-file-utils
  29. %description
  30. PCMan File Manager is an extremly fast and lightweight file manager
  31. which features tabbed browsing and user-friendly interface.
  32. %description -l ja
  33. PCMan File Manager はタブブラウズとユーザーフレンドリーな
  34. インターフェイスを特色とするとても高速で軽量なファイルマネージャーです。
  35. %prep
  36. %setup -q -n %{name}-%{version}
  37. %patch0 -p1
  38. # permission fix
  39. chmod 0644 [A-Z]*
  40. sed -i 's/MimeType=x-directory\/normal;inode\/directory/MimeType=inode\/directory/g' \
  41. data/pcmanfm.desktop
  42. %build
  43. %configure --sysconfdir=/etc
  44. %{__make} %{?_smp_mflag}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  48. %find_lang %{name}
  49. desktop-file-install \
  50. --delete-original \
  51. --vendor "" \
  52. --remove-category 'Application' \
  53. --remove-category 'FileManager' \
  54. --add-category 'System;FileTools' \
  55. --dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
  56. ${RPM_BUILD_ROOT}/%{_datadir}/applications/pcmanfm.desktop
  57. %{_prefix}/lib/rpm/check-rpaths
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post
  61. update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
  62. %postun
  63. update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %doc AUTHORS COPYING README
  67. %{_sysconfdir}/xdg/pcmanfm/default/pcmanfm.conf
  68. %{_bindir}/pcmanfm
  69. %{_datadir}/%{name}/*
  70. %{_datadir}/applications/*.desktop
  71. %{_mandir}/man1/%{name}.1.gz
  72. %changelog
  73. * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.1-1
  74. - new upstream release
  75. - deleted unrecognized option: --disable-static
  76. * Tue Aug 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-2
  77. - new upstream release
  78. * Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1.rc1
  79. - new upstream release
  80. - changed BuildRequires: libfm-gtk-devel >= 0.1.15 to 0.1.99
  81. - changed Requires: libfm >= 0.1.15 to 0.1.99
  82. * Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-2
  83. - added patch0 to fix dso linking
  84. * Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-1
  85. - new upstream release
  86. - dropt all patches
  87. - rewrote whole spec
  88. - redifined BuildRequires and Requires
  89. - fixed summary(ja) and desciprition -l ja a little
  90. * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.2-2
  91. - remove BuildRequires: hal-devel
  92. - remove Requires: hal
  93. - change configure option (--disable-hal)
  94. - add Patch3 (pcmanfm-0.5.2-makefile.patch)
  95. * Sun Nov 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
  96. - new upstream release
  97. - added Patch2 to fix build error
  98. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1vl5
  99. - new upstream release
  100. - added BuildRequires: intltool
  101. - dropt Source1
  102. * Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-2vl5
  103. - added Patch1 (import Mandriva Package)
  104. - added BuildRequires: cairo-devel
  105. - replaced ja.po: from upstream repository
  106. - fixed BuildRoot tag
  107. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
  108. - initial build for VineSeed
  109. - Update to 0.5
  110. - added Patch0 (import Fedora package)
  111. * Sun Dec 03 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.2-1
  112. - Update to 0.3.2.2
  113. * Sun Oct 15 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.1-1
  114. - Update to 0.3.2.1
  115. * Sat Oct 14 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-1
  116. - Update to 0.3.2
  117. * Sun Oct 01 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.3.rc1
  118. - Update to 0.3.2-rc1
  119. * Sat Sep 30 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.2.beta3
  120. - Update to 0.3.2-beta3
  121. * Wed Sep 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.1.beta2
  122. - Update to 0.3.2-beta2
  123. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.2.beta2
  124. - Update to 0.3.1-beta2
  125. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.1.beta
  126. - Update to 0.3.1-beta
  127. * Tue Aug 22 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.2-1
  128. - Update to 0.3.0.2 release
  129. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.1-1
  130. - Update to 0.3.0.1 release
  131. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-1
  132. - Update to 0.3.0 release
  133. * Fri Aug 18 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-0.1.beta3
  134. - Initial RPM release