gnome-commander-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. %define python_ver 2.4
  2. %define exiv2_ver 0.14
  3. %define taglib_ver 1.4
  4. %define libgsf_ver 1.12.0
  5. %define poppler_ver 0.6
  6. Name: gnome-commander
  7. Version: 1.2.8.6
  8. Release: 1%{?_dist_release}
  9. Summary: A nice and fast file manager for the GNOME desktop
  10. Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM)
  11. Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME
  12. Group: Applications/File
  13. License: GPLv2+
  14. URL: http://www.nongnu.org/gcmd/
  15. Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  17. BuildRequires: automake
  18. BuildRequires: flex
  19. BuildRequires: intltool >= 0.35.0
  20. BuildRequires: libtool
  21. BuildRequires: gnome-common
  22. BuildRequires: desktop-file-utils
  23. BuildRequires: scrollkeeper
  24. BuildRequires: gettext >= 0.10.36
  25. BuildRequires: glib2-devel >= 2.6.0
  26. BuildRequires: gtk2-devel >= 2.8.0
  27. BuildRequires: gnome-vfs2-devel >= 2.0.0
  28. BuildRequires: libgnomeui-devel >= 2.4.0
  29. BuildRequires: gnome-doc-utils >= 0.3.2
  30. BuildRequires: perl(XML::Parser)
  31. BuildRequires: libSM-devel
  32. Requires: glib2 >= 2.6.0
  33. Requires: gtk2 >= 2.8.0
  34. Requires: gnome-vfs2 >= 2.0.0
  35. Requires: gnome-vfs2-smb >= 2.0.0
  36. Requires: libgnomeui >= 2.4.0
  37. Requires: meld
  38. Requires(post): scrollkeeper
  39. Requires(postun): scrollkeeper
  40. BuildRequires: python-devel >= %{python_ver}
  41. BuildRequires: exiv2-devel >= %{exiv2_ver}
  42. BuildRequires: taglib-devel >= %{taglib_ver}
  43. BuildRequires: libgsf-devel >= %{libgsf_ver}
  44. BuildRequires: poppler-devel >= %{poppler_ver}
  45. Requires: python >= %{python_ver}
  46. Requires: exiv2 >= %{exiv2_ver}
  47. Requires: taglib >= %{taglib_ver}
  48. Requires: libgsf >= %{libgsf_ver}
  49. Requires: poppler >= %{poppler_ver}
  50. Vendor: Project Vine
  51. Distribution: Vine Linux
  52. %description
  53. GNOME Commander is a nice and fast file manager for the GNOME desktop.
  54. In addition to performing the basic file manager functions the program is
  55. also an FTP-client and it can browse SMB-networks.
  56. %prep
  57. %setup -q
  58. %build
  59. %configure \
  60. --disable-scrollkeeper \
  61. --enable-python
  62. %{__make} %{?_smp_mflags}
  63. %install
  64. %{__rm} -rf %{buildroot}
  65. %{__make} \
  66. INSTALL="%{__install} -c -p" \
  67. DESTDIR=%{buildroot} \
  68. install
  69. desktop-file-install \
  70. --delete-original \
  71. --vendor '' \
  72. --remove-category Application \
  73. --dir %{buildroot}%{_datadir}/applications \
  74. %{buildroot}%{_datadir}/applications/%{name}.desktop
  75. %{__rm} -f %{buildroot}%{_libdir}/%{name}/*.{a,la}
  76. %{__rm} -f %{buildroot}%{_libdir}/%{name}/*/*.{a,la,py}
  77. %find_lang %{name}
  78. %post
  79. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  80. %postun
  81. scrollkeeper-update -q || :
  82. %clean
  83. %{__rm} -rf %{buildroot}
  84. %files -f %{name}.lang
  85. %defattr(-,root,root,-)
  86. %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO doc/*.txt
  87. %{_bindir}/*
  88. %{_libdir}/%{name}/
  89. %{_mandir}/man1/%{name}.1*
  90. %{_datadir}/applications/%{name}.desktop
  91. %{_datadir}/gnome/help/%{name}/
  92. %{_datadir}/omf/%{name}/
  93. %{_datadir}/pixmaps/%{name}.png
  94. %{_datadir}/pixmaps/%{name}/
  95. %changelog
  96. * Sun Jun 27 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.6-1
  97. - new upstream release
  98. * Wed May 05 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8.5-2
  99. - rebuilt with exiv2-0.19
  100. * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.5-1
  101. - Initial build for Vine Linux
  102. * Wed Jan 13 2010 Piotr Eljasiak <epiotr@use.pl>
  103. - added gnome-vfs2-smb dependency
  104. - replaced exiv2 with exiv2-libs dependency for FC>=8
  105. * Fri Oct 3 2008 Yuriy Penkin <yuriy.penkin@gmail.com>
  106. - changed dependencies for intltool to 0.35.0
  107. * Thu Aug 7 2008 Piotr Eljasiak <epiotr@use.pl>
  108. - added poppler dependencies
  109. * Fri Jul 11 2008 Piotr Eljasiak <epiotr@use.pl>
  110. - added build deps
  111. * Fri Oct 5 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-4
  112. - Drop yelp dependency
  113. * Wed Aug 22 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-3.dist.2
  114. - Mass rebuild (buildID or binutils issue)
  115. * Fri Aug 3 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-3.dist.1
  116. - License update
  117. * Wed Jul 18 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.5-1
  118. - replaced libexif and libiptcdata with exiv2 library
  119. * Tue Jul 10 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.5-1
  120. - replaced id3lib with taglib dependencies
  121. * Sat Jun 16 2007 Dušan Hokův <dusan@mirc.cz> 1.2.5-1
  122. - added cs description
  123. * Mon Jun 11 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.5-1
  124. - minor tweaking with library versioning
  125. * Sun Feb 4 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  126. - added libgsf dependencies
  127. * Wed Jan 30 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  128. - added build and runtime deps for python and gnome-python2-gnomevfs
  129. * Tue Jan 20 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-5
  130. - Require meld (#225324)
  131. * Wed Jan 10 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  132. - removed unneeded .py files
  133. * Thu Dec 21 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-2
  134. - Clean up.
  135. * Sun Dec 17 2006 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  136. - use version requirements from configure.in
  137. - changed dependencies from glib to glib2
  138. * Fri Dec 15 2006 Stephanos Manos <stefmanos AT gmail DOT com> - 1.2.4-1
  139. - removed not needed .a files
  140. - added build and runtime deps for libexif id3lib
  141. * Tue Dec 12 2006 Stephanos Manos <stefmanos AT gmail DOT com> - 1.2.4-1
  142. - minor cleanups/fixes to make rpmlint silent
  143. -changelog: entries starting with % (added a second %)
  144. -changelog: replaced tabs with spaces
  145. -descriptions: splitted in multiple lines
  146. -summary: removed ending dot
  147. -license: changed license-tag form GPL2 to GPL
  148. * Tue Nov 14 2006 Piotr Eljasiak <epiotr@use.pl>
  149. - fixed Source0 address
  150. * Mon Jul 17 2006 Piotr Eljasiak <epiotr@use.pl>
  151. - added glib dependencies
  152. * Sun May 14 2006 Stephanos Manos <stefmanos@gmail.com>
  153. - Fixed Scrollkeeper database update
  154. -disabled scrollkeeper update from make
  155. -added scrollkeeper-database-update in the %%post & %%postun section
  156. - Added %%post & %%postun entries for the desktop file
  157. - Added %%post & %%postun entries for the gtk+ icon cache file
  158. * Sun Apr 9 2006 Piotr Eljasiak <epiotr@use.pl>
  159. - minor cleanups
  160. * Thu Mar 5 2006 Piotr Eljasiak <epiotr@use.pl>
  161. - added OMF files
  162. * Mon Feb 13 2006 Piotr Eljasiak <epiotr@use.pl>
  163. - install gnome-commander icon to %%{_datadir}/pixmaps/
  164. - install gnome-commander.1* to %%{_mandir}/man1/
  165. * Sat Feb 11 2006 Piotr Eljasiak <epiotr@use.pl>
  166. - set default srcext to .bz2
  167. * Fri Jan 28 2005 Piotr Eljasiak <epiotr@use.pl>
  168. - fixed typo: rpm --> rpmbuild
  169. * Mon May 03 2004 Piotr Eljasiak <epiotr@use.pl>
  170. - converted spec file to utf-8
  171. - used RPM macros a bit more
  172. * Thu Jun 19 2003 Piotr Eljasiak <epiotr@use.pl>
  173. - added libraries
  174. * Tue Mar 25 2003 Piotr Eljasiak <epiotr@use.pl>
  175. - updated Sources
  176. * Mon Jan 20 2003 Piotr Eljasiak <epiotr@use.pl>
  177. - added build dependencies
  178. * Fri Jan 10 2003 Piotr Eljasiak <epiotr@use.pl>
  179. - added localization
  180. * Thu Jan 09 2003 Piotr Eljasiak <epiotr@use.pl>
  181. - added dependencies
  182. * Mon Jun 24 2002 Piotr Eljasiak <epiotr@use.pl>
  183. - more cleanup in install section
  184. * Sat Jun 15 2002 Piotr Eljasiak <epiotr@use.pl>
  185. - simplified install and files sections
  186. * Mon Jun 10 2002 Piotr Eljasiak <epiotr@use.pl>
  187. - .spec file is now generated from .spec.in
  188. * Mon Jun 10 2002 Marcus Bjurman <marbj499@student.liu.se>
  189. - The default icon for this project is now called gnome-commander.png
  190. The xpm variant of the same icon is now also renamed in the same manner.
  191. * Sat Mar 9 2002 Marcus Bjurman <marbj499@student.liu.se>
  192. - Pumped up the version nr
  193. * Sun Nov 4 2001 Marcus Bjurman <marbj499@student.liu.se>
  194. - Initial build.