mate-file-archiver-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: Archive manipulator for MATE
  2. Name: mate-file-archiver
  3. Version: 1.6.0
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/Archiving
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: gtk2-devel
  12. BuildRequires: libSM-devel
  13. BuildRequires: gtk-doc
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. Requires(posttrans,postun): glib2
  17. Requires(post,postun): gtk2
  18. Requires(post,postun): desktop-file-utils
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. Engrampa is an archive manager for the MATE environment. This means
  25. that you can create and modify archives; view the content of an archive;
  26. view and modify a file contained in the archive; extract files from the
  27. archive.
  28. %prep
  29. %setup -q
  30. %build
  31. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  32. %configure \
  33. --libexecdir=%{_libexecdir}/mate \
  34. --disable-static
  35. %{__make} %{?_smp_mflags}
  36. %install
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  39. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  41. %find_lang engrampa
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %post
  45. /sbin/ldconfig
  46. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  47. touch --no-create %{_datadir}/icons/hicolor
  48. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  49. %postun
  50. /sbin/ldconfig
  51. if [ $1 -eq 0 ]; then
  52. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  53. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  54. touch --no-create %{_datadir}/icons/hicolor
  55. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  56. fi
  57. %posttrans
  58. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  59. %files -f engrampa.lang
  60. %defattr(-,root,root,-)
  61. %doc COPYING ChangeLog NEWS README
  62. %{_bindir}/engrampa
  63. %{_libexecdir}/mate/engrampa/isoinfo.sh
  64. %{_libexecdir}/mate/engrampa/rpm2cpio
  65. %{_datadir}/MateConf/gsettings/engrampa.convert
  66. %{_datadir}/applications/engrampa.desktop
  67. %{_datadir}/engrampa
  68. %{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml
  69. %{_datadir}/icons/hicolor/*/*/*
  70. %{_datadir}/mate/help/engrampa
  71. %{_datadir}/omf/engrampa
  72. %changelog
  73. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  74. - rebuild with VineSeed environment
  75. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  76. - new upstream release
  77. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  78. - new upstream release
  79. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  80. - new upstream release
  81. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  82. - change category
  83. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  84. - initial build for Vine Linux