gnome-commander-vl.spec 8.5 KB

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