1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
%define release 6
%define prefix /usr
%define name @PACKAGE@
%define version @VERSION@
Summary: An archive manager for MATE.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Vendor: MATE
URL: http://engrampa.sourceforge.net
Group: Applications/Archiving
Source0: %{name}-%{version}.tar.gz
Packager: Paolo Bacchilega <paolo.bacch@tin.it>
BuildRoot: %{_builddir}/%{name}-%{version}-root
Requires: glib2 >= @GLIB_REQUIRED@
Requires: gtk2 >= @GTK_REQUIRED@
BuildRequires: glib2-devel >= @GLIB_REQUIRED@
BuildRequires: gtk2-devel >= @GTK_REQUIRED@
Docdir: %{prefix}/share/doc
%description
Engrampa is an archive manager for the MATE environment. This means that
you can : create and modify archives; view the content of an archive; view a
file contained in the archive; extract files from the archive.
Engrampa is only a front-end (a graphical interface) to archiving programs
like tar and zip. The supported file types are :
* 7-Zip Compressed File (.7z)
* WinAce Compressed File (.ace)
* ALZip Compressed File (.alz)
* AIX Small Indexed Archive (.ar)
* ARJ Compressed Archive (.arj)
* Cabinet File (.cab)
* UNIX CPIO Archive (.cpio)
* Debian Linux Package (.deb) [Read-only mode]
* ISO-9660 CD Disc Image (.iso) [Read-only mode]
* Java Archive (.jar)
* Java Enterprise archive (.ear)
* Java Web Archive (.war)
* LHA Archive (.lzh, .lha)
* WinRAR Compressed Archive (.rar)
* RAR Archived Comic Book (.cbr)
* RPM Linux Package (.rpm) [Read-only mode]
* Tape Archive File:
* uncompressed (.tar)
or compressed with:
* gzip (.tar.gz , .tgz)
* bzip (.tar.bz , .tbz)
* bzip2 (.tar.bz2 , .tbz2)
* compress (.tar.Z , .taz)
* lzip (.tar.lz , .tlz)
* lzop (.tar.lzo , .tzo)
* 7zip (.tar.7z)
* xz (.tar.xz)
* Stuffit Archives (.bin, .sit)
* ZIP Archive (.zip)
* ZIP Archived Comic Book (.cbz)
* ZOO Compressed Archive File (.zoo)
* Single files compressed with gzip, bzip, bzip2, compress, lzip, lzop,
rzip, xz.
%prep
%setup
%build
%configure --disable-schemas-install
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/engrampa
%{_datadir}/applications/engrampa.desktop
%{_datadir}/engrampa/glade/*.glade
%{_datadir}/locale/*/LC_MESSAGES/engrampa.mo
%{_datadir}/application-registry/engrampa.applications
%{_datadir}/mime-info/*
%{_datadir}/pixmaps/engrampa.png
%{_datadir}/omf/engrampa/*.omf
%doc %{_datadir}/mate/help/engrampa
%doc AUTHORS NEWS README COPYING
%config %{_sysconfdir}/mateconf/schemas/*
%post
MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` mateconftool-2 --makefile-install-rule %{_sysconfdir}/mateconf/schemas/engrampa.schemas
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
%postun
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
|