file-roller-vl.spec 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. %define glib2_version 2.32.1
  2. %define gtk3_version 3.4.1
  3. %define gconf2_version 3.2.0
  4. %define nautilus_version 3.2.0
  5. %define desktop_file_utils_version 0.16
  6. %define gnome_doc_utils_version 0.3.2
  7. Summary: File Roller is a tool for viewing and creating archives.
  8. Summary(ja): File Roller - アーカイブの表示・作成ツール
  9. Name: file-roller
  10. Version: 3.4.2
  11. Release: 1%{?_dist_release}
  12. License: GPL
  13. Group: Applications/Archiving
  14. Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.4/%{name}-%{version}.tar.xz
  15. URL: http://ftp.gnome.org/pub/gnome/sources/file-roller/
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Requires(post,postun): scrollkeeper >= 0.3.11
  18. Requires(post,postun): desktop-file-utils >= %{desktop_file_utils_version}
  19. Requires(post,pre,preun): GConf2
  20. BuildRequires: glib2-devel >= %{glib2_version}
  21. BuildRequires: gtk3-devel >= %{gtk3_version}
  22. BuildRequires: GConf2-devel >= %{gconf2_version}
  23. BuildRequires: nautilus >= %{nautilus_version}
  24. BuildRequires: nautilus-devel >= %{nautilus_version}
  25. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  26. BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
  27. BuildRequires: libSM-devel
  28. BuildRequires: file-devel
  29. BuildRequires: docbook-dtds
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. Packager: Takemikaduchi
  33. %description
  34. File Roller is an application for creating and viewing archives files,
  35. such as tar files.
  36. %description -l ja
  37. File Roller は tar ファイルのようなアーカイブの表示や作成をするための
  38. アプリケーションです。
  39. %prep
  40. %setup -q
  41. # regenerate to fix path
  42. rm -f src/fr-enum-types.c
  43. %build
  44. %configure \
  45. --disable-scrollkeeper \
  46. --enable-magic
  47. export tagname=CC
  48. make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  52. export tagname=CC
  53. make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
  54. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  55. # temporary hack to add missing semicolon, fix sent upstream
  56. #perl -pi -e 's/Categories=Application;Utility$/Categories=Application;Utility;/' $RPM_BUILD_ROOT%{_datadir}/applications/*
  57. desktop-file-install --vendor gnome --delete-original \
  58. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  59. --add-only-show-in GNOME \
  60. $RPM_BUILD_ROOT%{_datadir}/applications/*
  61. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  62. rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/lib*.*a
  63. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  64. %find_lang %{name} --all-name --with-gnome
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %post
  68. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  69. scrollkeeper-update > /dev/null 2>&1 || :
  70. touch --no-create %{_datadir}/icons/hicolor
  71. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  72. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  73. fi
  74. %postun
  75. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  76. scrollkeeper-update > /dev/null 2>&1 || :
  77. touch --no-create %{_datadir}/icons/hicolor
  78. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  79. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  80. fi
  81. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  82. %posttrans
  83. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  84. %files -f %{name}.lang
  85. %defattr(-, root, root)
  86. %doc README COPYING ChangeLog NEWS AUTHORS
  87. %{_bindir}/file-roller
  88. %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
  89. %{_libexecdir}/file-roller/*
  90. %{_libexecdir}/file-roller-server
  91. %{_datadir}/GConf/gsettings/file-roller.convert
  92. %{_datadir}/applications/gnome-file-roller.desktop
  93. %{_datadir}/dbus-1/services/org.gnome.FileRoller.service
  94. %{_datadir}/file-roller
  95. %{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
  96. %{_datadir}/icons/hicolor/*
  97. %changelog
  98. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  99. - new upstream release
  100. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  101. - new upstream release
  102. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  103. - new upstream release
  104. - add BuildRequires: file-devel
  105. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  106. - new upstream release
  107. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  108. - new upstream release
  109. - remove Source1,2,3,4
  110. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  111. - new upstream release
  112. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  113. - new upstream release
  114. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  115. - new upstream release
  116. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.1-1
  117. - new upstream release
  118. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  119. - new upstream release
  120. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  121. - new upstream release
  122. - remove Patch
  123. - drop Source1, Source2, Source3
  124. * Mon Aug 23 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.2-3
  125. - add Source1-4
  126. * Sat Aug 21 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.2-2
  127. - add patch from https://bugzilla.gnome.org/show_bug.cgi?id=627387
  128. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  129. - new upstream release
  130. - add BuildRequires: docbook-dtds
  131. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  132. - new upstream release
  133. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  134. - new upstream release
  135. * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  136. - new upstream release
  137. - add BuildRequires: nautilus-devel, gnome-doc-utils, libSM-devel
  138. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  139. - new upstream release
  140. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  141. - new upstream release
  142. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  143. - new upstream release
  144. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  145. - new upstream release
  146. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  147. - new upstream release
  148. - remove BR: libgnomeprint-devel, libgnomeprintui-devel
  149. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
  150. - new upstream release
  151. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  152. - new upstream release
  153. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  154. - new upstream release
  155. * Tue Apr 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1vl5
  156. - new upstream release
  157. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  158. - new upstream release
  159. * Sun Dec 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  160. - new upstream release
  161. * Sun Aug 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.4-0vl1
  162. - new upstream release
  163. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  164. - new upstream release
  165. * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  166. - new upstream release
  167. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  168. - new upstream release
  169. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  170. - new upstream release
  171. * Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  172. - new upstream release
  173. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  174. - new upstream release
  175. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  176. - new upstream release
  177. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  178. - new upstream version
  179. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-0vl1
  180. - new upsteram release
  181. * Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  182. - new upsteram release
  183. * Sun Jul 11 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.4.4-0vl3
  184. - fix typo
  185. * Sun Feb 15 2004 Tomoya TAKA <taka@vinelinux.org> 2.4.4-0vl2
  186. - add Patch0 to fix segfaults on 64-bit architectures.
  187. * Sat Jan 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.4-0vl1
  188. - new upstream release
  189. * Wed Dec 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl2
  190. - rebuild with new toolchain
  191. * Tue Dec 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl1
  192. - new upstream release
  193. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  194. - new upstream release
  195. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.6-0vl1
  196. - new upstream release
  197. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-0vl1
  198. - revert version to 2.2.4
  199. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.2-0vl2
  200. - rebuilt
  201. * Wed Jun 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.2-0vl2
  202. - new upstream release
  203. * Thu Jan 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  204. - new upstream release
  205. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  206. - new upstream release
  207. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  208. - new upstream release
  209. * Thu Jan 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  210. - new upstream release
  211. * Mon Dec 9 2002 Alexander Larsson <alexl@redhat.com> 2.1.3-3
  212. - fix server file path
  213. * Mon Dec 9 2002 Alexander Larsson <alexl@redhat.com> 2.1.3-2
  214. - Remove unpackaged files
  215. * Mon Dec 9 2002 Alexander Larsson <alexl@redhat.com> 2.1.3-1
  216. - Update to 2.1.3
  217. * Fri Dec 6 2002 Havoc Pennington <hp@redhat.com>
  218. - 2.1.2
  219. - fix unpackaged files
  220. * Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
  221. - fix URL field
  222. - put icon in file list
  223. - 2.0.0 stable release
  224. * Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
  225. - initial build