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