pcmanfm-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. Name: pcmanfm
  2. Version: 1.1.0
  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. * Fri Nov 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1
  74. - new upstream release
  75. * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.1-1
  76. - new upstream release
  77. - deleted unrecognized option: --disable-static
  78. * Tue Aug 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-2
  79. - new upstream release
  80. * Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1.rc1
  81. - new upstream release
  82. - changed BuildRequires: libfm-gtk-devel >= 0.1.15 to 0.1.99
  83. - changed Requires: libfm >= 0.1.15 to 0.1.99
  84. * Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-2
  85. - added patch0 to fix dso linking
  86. * Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-1
  87. - new upstream release
  88. - dropt all patches
  89. - rewrote whole spec
  90. - redifined BuildRequires and Requires
  91. - fixed summary(ja) and desciprition -l ja a little
  92. * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.2-2
  93. - remove BuildRequires: hal-devel
  94. - remove Requires: hal
  95. - change configure option (--disable-hal)
  96. - add Patch3 (pcmanfm-0.5.2-makefile.patch)
  97. * Sun Nov 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
  98. - new upstream release
  99. - added Patch2 to fix build error
  100. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1vl5
  101. - new upstream release
  102. - added BuildRequires: intltool
  103. - dropt Source1
  104. * Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-2vl5
  105. - added Patch1 (import Mandriva Package)
  106. - added BuildRequires: cairo-devel
  107. - replaced ja.po: from upstream repository
  108. - fixed BuildRoot tag
  109. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
  110. - initial build for VineSeed
  111. - Update to 0.5
  112. - added Patch0 (import Fedora package)
  113. * Sun Dec 03 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.2-1
  114. - Update to 0.3.2.2
  115. * Sun Oct 15 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.1-1
  116. - Update to 0.3.2.1
  117. * Sat Oct 14 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-1
  118. - Update to 0.3.2
  119. * Sun Oct 01 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.3.rc1
  120. - Update to 0.3.2-rc1
  121. * Sat Sep 30 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.2.beta3
  122. - Update to 0.3.2-beta3
  123. * Wed Sep 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.1.beta2
  124. - Update to 0.3.2-beta2
  125. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.2.beta2
  126. - Update to 0.3.1-beta2
  127. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.1.beta
  128. - Update to 0.3.1-beta
  129. * Tue Aug 22 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.2-1
  130. - Update to 0.3.0.2 release
  131. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.1-1
  132. - Update to 0.3.0.1 release
  133. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-1
  134. - Update to 0.3.0 release
  135. * Fri Aug 18 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-0.1.beta3
  136. - Initial RPM release