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 | |
---|
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 | |
---|
18 | Requires(posttrans,postun): glib2 |
---|
19 | Requires(post,postun): gtk2 |
---|
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 \ |
---|
44 | --disable-static |
---|
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 |
---|
67 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
68 | |
---|
69 | %postun |
---|
70 | /sbin/ldconfig |
---|
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 ||: |
---|
76 | fi |
---|
77 | |
---|
78 | %posttrans |
---|
79 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
80 | |
---|
81 | |
---|
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 |
---|
88 | %{_datadir}/MateConf/gsettings/engrampa.convert |
---|
89 | %{_datadir}/applications/engrampa.desktop |
---|
90 | %{_datadir}/engrampa |
---|
91 | %{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml |
---|
92 | %{_datadir}/icons/hicolor/*/*/* |
---|
93 | %{_datadir}/mate/help/engrampa |
---|
94 | %{_datadir}/omf/engrampa |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
99 | - rebuild with VineSeed environment |
---|
100 | |
---|
101 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
111 | - change category |
---|
112 | |
---|
113 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
114 | - initial build for Vine Linux |
---|
115 | |
---|