pcmanfm-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Name: pcmanfm
  2. Version: 1.2.2
  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.xz
  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. %package devel
  36. Summary: Development files for %{name}
  37. Summary(ja): %{name} の 開発ファイル
  38. Group: System Environment/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. %description devel
  41. The %{name}-devel package contains libraries and header files for
  42. developing applications that use %{name}.
  43. %prep
  44. %setup -q -n %{name}-%{version}
  45. %patch0 -p1
  46. # permission fix
  47. chmod 0644 [A-Z]*
  48. sed -i 's/MimeType=x-directory\/normal;inode\/directory/MimeType=inode\/directory/g' \
  49. data/pcmanfm.desktop
  50. %build
  51. %configure --sysconfdir=/etc
  52. %{__make} %{?_smp_mflag}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  56. %find_lang %{name}
  57. desktop-file-install \
  58. --delete-original \
  59. --vendor "" \
  60. --remove-category 'Application' \
  61. --remove-category 'FileManager' \
  62. --add-category 'System;FileTools' \
  63. --dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
  64. ${RPM_BUILD_ROOT}/%{_datadir}/applications/pcmanfm.desktop
  65. %{_prefix}/lib/rpm/check-rpaths
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT
  68. %post
  69. update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
  70. %postun
  71. update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
  72. %files -f %{name}.lang
  73. %defattr(-,root,root,-)
  74. %doc AUTHORS COPYING README
  75. %{_sysconfdir}/xdg/pcmanfm/default/pcmanfm.conf
  76. %{_bindir}/pcmanfm
  77. %{_datadir}/%{name}/*
  78. %{_datadir}/applications/*.desktop
  79. %{_mandir}/man1/%{name}.1.gz
  80. %files devel
  81. %defattr(-,root,root,-)
  82. %{_includedir}/pcmanfm-modules.h
  83. %changelog
  84. * Sat Sep 27 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.2-1
  85. - new upstream release
  86. - change archive type gz to xz
  87. - splitted -devel package
  88. * Sun Sep 15 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.2-1
  89. - new upstream release
  90. * Fri Nov 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1
  91. - new upstream release
  92. * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.1-1
  93. - new upstream release
  94. - deleted unrecognized option: --disable-static
  95. * Tue Aug 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-2
  96. - new upstream release
  97. * Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1.rc1
  98. - new upstream release
  99. - changed BuildRequires: libfm-gtk-devel >= 0.1.15 to 0.1.99
  100. - changed Requires: libfm >= 0.1.15 to 0.1.99
  101. * Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-2
  102. - added patch0 to fix dso linking
  103. * Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-1
  104. - new upstream release
  105. - dropt all patches
  106. - rewrote whole spec
  107. - redifined BuildRequires and Requires
  108. - fixed summary(ja) and desciprition -l ja a little
  109. * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.2-2
  110. - remove BuildRequires: hal-devel
  111. - remove Requires: hal
  112. - change configure option (--disable-hal)
  113. - add Patch3 (pcmanfm-0.5.2-makefile.patch)
  114. * Sun Nov 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
  115. - new upstream release
  116. - added Patch2 to fix build error
  117. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1vl5
  118. - new upstream release
  119. - added BuildRequires: intltool
  120. - dropt Source1
  121. * Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-2vl5
  122. - added Patch1 (import Mandriva Package)
  123. - added BuildRequires: cairo-devel
  124. - replaced ja.po: from upstream repository
  125. - fixed BuildRoot tag
  126. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
  127. - initial build for VineSeed
  128. - Update to 0.5
  129. - added Patch0 (import Fedora package)
  130. * Sun Dec 03 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.2-1
  131. - Update to 0.3.2.2
  132. * Sun Oct 15 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.1-1
  133. - Update to 0.3.2.1
  134. * Sat Oct 14 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-1
  135. - Update to 0.3.2
  136. * Sun Oct 01 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.3.rc1
  137. - Update to 0.3.2-rc1
  138. * Sat Sep 30 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.2.beta3
  139. - Update to 0.3.2-beta3
  140. * Wed Sep 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.1.beta2
  141. - Update to 0.3.2-beta2
  142. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.2.beta2
  143. - Update to 0.3.1-beta2
  144. * Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.1.beta
  145. - Update to 0.3.1-beta
  146. * Tue Aug 22 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.2-1
  147. - Update to 0.3.0.2 release
  148. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.1-1
  149. - Update to 0.3.0.1 release
  150. * Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-1
  151. - Update to 0.3.0 release
  152. * Fri Aug 18 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-0.1.beta3
  153. - Initial RPM release