xarchiver-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. Name: xarchiver
  2. Version: 0.5.2
  3. Release: 2%{?_dist_release}
  4. Summary: Archive manager for Xfce
  5. Summary(ja): Xfceのアーカイブマネージャ
  6. Group: Applications/Archiving
  7. License: GPLv2+
  8. URL: http://xarchiver.xfce.org/
  9. Source0: http://downloads.sourceforge.net/xarchiver/xarchiver-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel, libxml2-devel, gettext, desktop-file-utils
  12. #BuildRequires: xfce4-dev-tools >= 4.3.90.2
  13. Requires: binutils, bzip2, cpio, gzip, xdg-utils, tar, unzip, zip
  14. %description
  15. Xarchiver is a lightweight GTK2 only frontend for manipulating 7z, bzip2,
  16. gzip, iso, rar, lha, tar, zip, RPM and deb files. It allows you to create
  17. archives and add, extract, and delete files from them. Password protected
  18. archives in the 7z, rar, and zip formats are supported.
  19. %prep
  20. %setup -q
  21. # fix spurious executable permissions of some debug files
  22. chmod -x src/mime.*
  23. %build
  24. %configure
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT
  29. # We need to install xarchiver.tap as fedora-xarchiver.tap, because the name
  30. # has to match the basename of the desktop-file in %{_datadir}/applications.
  31. rm $RPM_BUILD_ROOT%{_libexecdir}/thunar-archive-plugin/xarchiver.tap
  32. install -p -m 755 xarchiver.tap \
  33. $RPM_BUILD_ROOT%{_libexecdir}/thunar-archive-plugin/vine-xarchiver.tap
  34. %find_lang %{name}
  35. desktop-file-install --vendor vine \
  36. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  37. --add-category="Compression" \
  38. --delete-original \
  39. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  40. # remove duplicate docs
  41. rm $RPM_BUILD_ROOT%{_docdir}/%{name}/{AUTHORS,COPYING,ChangeLog,NEWS,README,TODO}
  42. %post
  43. touch --no-create %{_datadir}/icons/hicolor
  44. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  45. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  46. fi
  47. update-desktop-database &> /dev/null || :
  48. %postun
  49. touch --no-create %{_datadir}/icons/hicolor
  50. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  51. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  52. fi
  53. update-desktop-database &> /dev/null || :
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  59. %doc %{_docdir}/%{name}/
  60. %{_bindir}/%{name}
  61. %{_datadir}/applications/vine-%{name}.desktop
  62. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  63. %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
  64. %dir %{_datadir}/pixmaps/%{name}/
  65. %{_datadir}/pixmaps/%{name}/%{name}*.png
  66. %dir %{_libexecdir}/thunar-archive-plugin/
  67. %{_libexecdir}/thunar-archive-plugin/vine-xarchiver.tap
  68. %changelog
  69. * Sun Apr 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.2-2vl5
  70. - fixed BuildRoot tag
  71. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.2-1vl5
  72. - initial release for VineSeed (import Fedora Package)
  73. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Tue Nov 25 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-2
  76. - Include HTML documentation
  77. * Tue Nov 25 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-1
  78. - Update to 0.5.2
  79. * Sun Nov 09 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-1
  80. - Update to 0.5.1 stable release
  81. * Sun Oct 26 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-0.1.rc1
  82. - Update to 0.5.0rc1
  83. - Fix crash when opening zipped PDF files (#467619)
  84. - Update gtk-icon-cache scriptlets
  85. * Sat Oct 11 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-0.1.beta2
  86. - Update to 0.5.0beta2
  87. * Sun Aug 31 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-0.1.beta1
  88. - Update to 0.5.0beta1
  89. - Remove xdg-open.patch as xarchiver now uses xdg-open by default
  90. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.6.20070103svn24249
  91. - Remove additional mime-types from desktop-file-install to make sure we don't break livecds
  92. * Fri Mar 14 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.5.20070103svn24249
  93. - Use xdg-open instead of htmlview (#437554)
  94. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.9-0.4.20070103svn24249
  95. - Autorebuild for GCC 4.3
  96. * Tue Aug 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.3.20070103svn24249
  97. - Rebuild for BuildID feature
  98. - Update license tag
  99. * Fri Mar 02 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.2.20070103svn24249
  100. - Downgrade to SVN release 24249 in order to fix #230154 temporarily.
  101. * Sun Jan 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.1.20070128svn24772
  102. - Update to SVN release 24772 of January 28th 2007.
  103. * Wed Jan 03 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.1.20070103svn
  104. - Update to SVN r24249 of January 3rd 2007.
  105. - Add mimetype application/x-deb again since opening of debs now is secure.
  106. * Wed Dec 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.1.20061213svn
  107. - Update to SVN r24096 of December 13th 2006.
  108. * Wed Dec 06 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-3
  109. - Add deb.patch to prevent opening of .a files as debs.
  110. - Don't add mimetype for x-ar (archiver can't handle ar archive).
  111. * Wed Nov 29 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-2
  112. - Add htmlview.patch.
  113. * Tue Nov 28 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-1
  114. - Update to 0.4.6.
  115. - Update %%description.
  116. - Require binutils, cpio and htmlview.
  117. - Add mimetypes application/x-ar, application/x-cd-image and application/x-deb.
  118. * Tue Nov 27 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.4-1
  119. - Update to 0.4.4.
  120. * Sat Nov 25 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-0.3.rc2
  121. - Install xarchiver.png also in %%{_datadir}/icons/hicolor/48x48/apps/.
  122. * Sat Nov 25 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-0.2.rc2
  123. - Drop subpackage and own %%{_libexecdir}/thunar-archive-plugin/ (#198098).
  124. * Sun Nov 12 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-0.1.rc2
  125. - Update to 0.4.2.RC2.
  126. * Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-1
  127. - Update to 0.4.0.
  128. * Tue Sep 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.9.2-0.beta2
  129. - Initial package.