engrampa-vl.spec 3.2 KB

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