xarchiver-vl.spec 6.6 KB

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