engrampa-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. %define major_ver 1.18
  2. %define ver %{major_ver}.3
  3. %define rel 1
  4. Summary: Archive manipulator for MATE
  5. Name: engrampa
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv2
  10. Group: Applications/Archiving
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: gtk3-devel
  14. BuildRequires: libSM-devel
  15. BuildRequires: json-glib-devel
  16. BuildRequires: caja-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: itstool
  19. BuildRequires: autoconf
  20. BuildRequires: automake
  21. Requires(posttrans,postun): glib2
  22. Requires(post,postun): gtk2
  23. Requires(post,postun): desktop-file-utils
  24. Obsoletes: mate-file-archiver < 1.8.0
  25. Provides: mate-file-archiver = %{version}-%{release}
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi, iwaim
  30. %description
  31. Engrampa is an archive manager for the MATE environment. This means
  32. that you can create and modify archives; view the content of an archive;
  33. view and modify a file contained in the archive; extract files from the
  34. archive.
  35. %prep
  36. %setup -q
  37. %build
  38. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  39. %configure \
  40. --libexecdir=%{_libexecdir}/mate \
  41. --disable-static
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  47. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  48. %find_lang engrampa
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %post
  52. /sbin/ldconfig
  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. %postun
  57. /sbin/ldconfig
  58. if [ $1 -eq 0 ]; then
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  61. touch --no-create %{_datadir}/icons/hicolor
  62. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  63. fi
  64. %posttrans
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  66. %files -f engrampa.lang
  67. %defattr(-,root,root,-)
  68. %doc COPYING ChangeLog NEWS README
  69. %{_bindir}/%{name}
  70. %{_libdir}/caja/extensions-2.0/libcaja-%{name}.so
  71. %{_libexecdir}/mate/%{name}/isoinfo.sh
  72. %{_libexecdir}/mate/%{name}/rpm2cpio
  73. %{_libexecdir}/mate/%{name}-server
  74. %{_datadir}/appdata/%{name}.appdata.xml
  75. %{_datadir}/applications/%{name}.desktop
  76. %{_datadir}/caja/extensions/libcaja-%{name}.caja-extension
  77. %{_datadir}/dbus-1/services/org.mate.Engrampa.service
  78. %{_datadir}/%{name}
  79. %{_datadir}/glib-2.0/schemas/org.mate.%{name}.gschema.xml
  80. %{_datadir}/icons/hicolor/*/*/*
  81. %{_datadir}/help/*/%{name}
  82. %{_mandir}/man1/%{name}.1.gz
  83. %changelog
  84. * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1
  85. - update to 1.18.3
  86. * Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  87. - update to 1.18.2
  88. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  89. - update to 1.18.1
  90. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  91. - new upstream release
  92. - update GTK+ version
  93. - BR: gtk3-devel
  94. - update Packager
  95. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  96. - new upstream release
  97. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  98. - new upstream release
  99. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  100. - new upstream release
  101. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  102. - new upstream release
  103. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  104. - new upstream release
  105. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  106. - new upstream release
  107. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  108. - new upstream release
  109. - rename package
  110. - add BuildRequies: json-glib-devel, caja-devel, itstool
  111. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  112. - rebuild with VineSeed environment
  113. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  114. - new upstream release
  115. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  116. - new upstream release
  117. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  118. - new upstream release
  119. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  120. - change category
  121. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  122. - initial build for Vine Linux