gnome-commander-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. %define python_ver 2.7
  2. %define exiv2_ver 0.23
  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.4.7
  11. Release: 3%{?_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.4/%{name}-%{version}.tar.xz
  16. Patch1: gnome-commander-1.2.8.15-libgsf.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: automake
  19. BuildRequires: flex
  20. BuildRequires: intltool >= 0.35.0
  21. BuildRequires: libtool
  22. BuildRequires: gnome-common
  23. BuildRequires: desktop-file-utils
  24. BuildRequires: scrollkeeper
  25. BuildRequires: gettext >= 0.10.36
  26. BuildRequires: glib2-devel >= 2.6.0
  27. BuildRequires: gtk2-devel >= 2.8.0
  28. BuildRequires: gnome-vfs2-devel >= 2.0.0
  29. BuildRequires: libgnomeui-devel >= 2.4.0
  30. BuildRequires: gnome-doc-utils >= 0.3.2
  31. BuildRequires: perl(XML::Parser)
  32. BuildRequires: libSM-devel
  33. BuildRequires: fontconfig-devel
  34. BuildRequires: unique-devel >= 0.9.3
  35. Requires: glib2 >= 2.6.0
  36. Requires: gtk2 >= 2.8.0
  37. Requires: gnome-vfs2 >= 2.0.0
  38. Requires: gnome-vfs2-smb >= 2.0.0
  39. Requires: libgnomeui >= 2.4.0
  40. Requires: meld
  41. Requires(post): scrollkeeper
  42. Requires(postun): scrollkeeper
  43. BuildRequires: python-devel >= %{python_ver}
  44. BuildRequires: exiv2-devel >= %{exiv2_ver}
  45. BuildRequires: taglib-devel >= %{taglib_ver}
  46. BuildRequires: libgsf-devel >= %{libgsf_ver}
  47. BuildRequires: poppler-devel >= %{poppler_ver}
  48. Requires: python >= %{python_ver}
  49. Requires: exiv2 >= %{exiv2_ver}
  50. Requires: taglib >= %{taglib_ver}
  51. Requires: libgsf >= %{libgsf_ver}
  52. Requires: poppler >= %{poppler_ver}
  53. Vendor: Project Vine
  54. Distribution: Vine Linux
  55. %description
  56. GNOME Commander is a nice and fast file manager for the GNOME desktop.
  57. In addition to performing the basic file manager functions the program is
  58. also an FTP-client and it can browse SMB-networks.
  59. %prep
  60. %setup -q
  61. %patch1 -p1 -b .libgsf
  62. %build
  63. export CFLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations"
  64. %configure \
  65. --disable-scrollkeeper \
  66. --enable-python
  67. %{__make} %{?_smp_mflags}
  68. %install
  69. %{__rm} -rf %{buildroot}
  70. %{__make} \
  71. INSTALL="%{__install} -c -p" \
  72. DESTDIR=%{buildroot} \
  73. install
  74. desktop-file-install \
  75. --delete-original \
  76. --vendor '' \
  77. --remove-category Application \
  78. --dir %{buildroot}%{_datadir}/applications \
  79. %{buildroot}%{_datadir}/applications/%{name}.desktop
  80. %{__rm} -f %{buildroot}%{_libdir}/%{name}/*.{a,la}
  81. %{__rm} -f %{buildroot}%{_libdir}/%{name}/*/*.{a,la,py}
  82. %find_lang %{name}
  83. %post
  84. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  85. %postun
  86. scrollkeeper-update -q || :
  87. %clean
  88. %{__rm} -rf %{buildroot}
  89. %files -f %{name}.lang
  90. %defattr(-,root,root,-)
  91. %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO doc/*.txt
  92. %{_bindir}/*
  93. %{_libdir}/%{name}/
  94. %{_mandir}/man1/%{name}.1*
  95. %{_datadir}/appdata/%{name}.appdata.xml
  96. %{_datadir}/applications/%{name}.desktop
  97. %{_datadir}/gnome/help/%{name}/
  98. %{_datadir}/omf/%{name}/
  99. %{_datadir}/pixmaps/%{name}.png
  100. %{_datadir}/pixmaps/%{name}/
  101. %{_datadir}/%{name}/mime/*
  102. %changelog
  103. * Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.7-3
  104. - rebuild with gcc-5.4.0
  105. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.7-2
  106. - rebuild with poppler-0.37.0
  107. * Sun Jun 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.7-1
  108. - new upstream release
  109. * Sat May 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.6-1
  110. - new upstream release
  111. * Wed Jan 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1
  112. - new upstream release
  113. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
  114. - new upstream release
  115. * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-2
  116. - rebuild with poppler-0.26.2
  117. * Sat Jun 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
  118. - new upstream release
  119. * Sat Jun 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  120. - new upstream release
  121. * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-2
  122. - rebuild with poppler-0.24.5
  123. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  124. - new upstream release
  125. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  126. - new upstream release
  127. - add BuildRequires: unique-devel
  128. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.17-1
  129. - new upstream release
  130. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.16-1
  131. - new upstream release
  132. - remove Patch0 (gnome-commander-1.2.8.15-poppler-0.24.x.patch)
  133. - remove Patch2 (gnome-commander-1.2.8.15-gcc47.patch) from fedora
  134. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-7
  135. - rebuild with exiv2-0.24
  136. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-6
  137. - rebuild with poppler-0.24.2
  138. - update Patch0 (gnome-commander-1.2.8.15-poppler-0.24.x.patch)
  139. - add Patch1 (gnome-commander-1.2.8.15-libgsf.patch)
  140. - add Patch2 (gnome-commander-1.2.8.15-gcc47.patch) from fedora
  141. * Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-5
  142. - rebuild with poppler-0.20.4
  143. - add Patch0 (gnome-commander-1.2.8.15-poppler-0.20.x.patch)
  144. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-4
  145. - rebuild with exiv2-0.23
  146. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-3
  147. - rebuild with exiv2-0.22
  148. * Sun Feb 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-2
  149. - rebuild with python-2.7.2
  150. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.15-1
  151. - new upstream release
  152. * Fri Oct 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.14-1
  153. - new upstream release
  154. * Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.13-1
  155. - new upstream release
  156. * Sun Aug 7 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8.11-2
  157. - rebuilt with exiv2-0.21.1
  158. - added BR: fontconfig-devel
  159. * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.11-1
  160. - new upstream release
  161. - change Group: User Interface/Desktops instead of Applications/File
  162. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8.9-2
  163. - rebuilt with poppler-0.16.3
  164. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.9-1
  165. - new upstream release
  166. * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.8-1
  167. - new upstream release
  168. * Sun Jun 27 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.6-1
  169. - new upstream release
  170. * Wed May 05 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8.5-2
  171. - rebuilt with exiv2-0.19
  172. * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8.5-1
  173. - Initial build for Vine Linux
  174. * Wed Jan 13 2010 Piotr Eljasiak <epiotr@use.pl>
  175. - added gnome-vfs2-smb dependency
  176. - replaced exiv2 with exiv2-libs dependency for FC>=8
  177. * Fri Oct 3 2008 Yuriy Penkin <yuriy.penkin@gmail.com>
  178. - changed dependencies for intltool to 0.35.0
  179. * Thu Aug 7 2008 Piotr Eljasiak <epiotr@use.pl>
  180. - added poppler dependencies
  181. * Fri Jul 11 2008 Piotr Eljasiak <epiotr@use.pl>
  182. - added build deps
  183. * Fri Oct 5 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-4
  184. - Drop yelp dependency
  185. * Wed Aug 22 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-3.dist.2
  186. - Mass rebuild (buildID or binutils issue)
  187. * Fri Aug 3 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-3.dist.1
  188. - License update
  189. * Wed Jul 18 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.5-1
  190. - replaced libexif and libiptcdata with exiv2 library
  191. * Tue Jul 10 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.5-1
  192. - replaced id3lib with taglib dependencies
  193. * Sat Jun 16 2007 Dušan Hokův <dusan@mirc.cz> 1.2.5-1
  194. - added cs description
  195. * Mon Jun 11 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.5-1
  196. - minor tweaking with library versioning
  197. * Sun Feb 4 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  198. - added libgsf dependencies
  199. * Tue Jan 30 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  200. - added build and runtime deps for python and gnome-python2-gnomevfs
  201. * Sat Jan 20 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-5
  202. - Require meld (#225324)
  203. * Wed Jan 10 2007 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  204. - removed unneeded .py files
  205. * Thu Dec 21 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-2
  206. - Clean up.
  207. * Sun Dec 17 2006 Piotr Eljasiak <epiotr@use.pl> 1.2.4-1
  208. - use version requirements from configure.in
  209. - changed dependencies from glib to glib2
  210. * Fri Dec 15 2006 Stephanos Manos <stefmanos AT gmail DOT com> - 1.2.4-1
  211. - removed not needed .a files
  212. - added build and runtime deps for libexif id3lib
  213. * Tue Dec 12 2006 Stephanos Manos <stefmanos AT gmail DOT com> - 1.2.4-1
  214. - minor cleanups/fixes to make rpmlint silent
  215. -changelog: entries starting with % (added a second %)
  216. -changelog: replaced tabs with spaces
  217. -descriptions: splitted in multiple lines
  218. -summary: removed ending dot
  219. -license: changed license-tag form GPL2 to GPL
  220. * Tue Nov 14 2006 Piotr Eljasiak <epiotr@use.pl>
  221. - fixed Source0 address
  222. * Mon Jul 17 2006 Piotr Eljasiak <epiotr@use.pl>
  223. - added glib dependencies
  224. * Sun May 14 2006 Stephanos Manos <stefmanos@gmail.com>
  225. - Fixed Scrollkeeper database update
  226. -disabled scrollkeeper update from make
  227. -added scrollkeeper-database-update in the %%post & %%postun section
  228. - Added %%post & %%postun entries for the desktop file
  229. - Added %%post & %%postun entries for the gtk+ icon cache file
  230. * Sun Apr 9 2006 Piotr Eljasiak <epiotr@use.pl>
  231. - minor cleanups
  232. * Sun Mar 5 2006 Piotr Eljasiak <epiotr@use.pl>
  233. - added OMF files
  234. * Mon Feb 13 2006 Piotr Eljasiak <epiotr@use.pl>
  235. - install gnome-commander icon to %%{_datadir}/pixmaps/
  236. - install gnome-commander.1* to %%{_mandir}/man1/
  237. * Sat Feb 11 2006 Piotr Eljasiak <epiotr@use.pl>
  238. - set default srcext to .bz2
  239. * Fri Jan 28 2005 Piotr Eljasiak <epiotr@use.pl>
  240. - fixed typo: rpm --> rpmbuild
  241. * Mon May 03 2004 Piotr Eljasiak <epiotr@use.pl>
  242. - converted spec file to utf-8
  243. - used RPM macros a bit more
  244. * Thu Jun 19 2003 Piotr Eljasiak <epiotr@use.pl>
  245. - added libraries
  246. * Tue Mar 25 2003 Piotr Eljasiak <epiotr@use.pl>
  247. - updated Sources
  248. * Mon Jan 20 2003 Piotr Eljasiak <epiotr@use.pl>
  249. - added build dependencies
  250. * Fri Jan 10 2003 Piotr Eljasiak <epiotr@use.pl>
  251. - added localization
  252. * Thu Jan 09 2003 Piotr Eljasiak <epiotr@use.pl>
  253. - added dependencies
  254. * Mon Jun 24 2002 Piotr Eljasiak <epiotr@use.pl>
  255. - more cleanup in install section
  256. * Sat Jun 15 2002 Piotr Eljasiak <epiotr@use.pl>
  257. - simplified install and files sections
  258. * Mon Jun 10 2002 Piotr Eljasiak <epiotr@use.pl>
  259. - .spec file is now generated from .spec.in
  260. * Mon Jun 10 2002 Marcus Bjurman <marbj499@student.liu.se>
  261. - The default icon for this project is now called gnome-commander.png
  262. The xpm variant of the same icon is now also renamed in the same manner.
  263. * Sat Mar 9 2002 Marcus Bjurman <marbj499@student.liu.se>
  264. - Pumped up the version nr
  265. * Sun Nov 4 2001 Marcus Bjurman <marbj499@student.liu.se>
  266. - Initial build.