1 |
Summary: An archive manager for GNOME |
2 |
Name: file-roller |
3 |
Version: 3.1.2 |
4 |
Release: %mkrel 1 |
5 |
License: GPLv2+ |
6 |
URL: http://download.gnome.org/sources/file-roller/ |
7 |
Group: Archiving/Compression |
8 |
Source: http://download.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz |
9 |
BuildRequires: pkgconfig(glib-2.0) |
10 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.2 |
11 |
BuildRequires: pkgconfig(libnautilus-extension) >= 2.22.2 |
12 |
BuildRequires: pkgconfig(sm) |
13 |
BuildRequires: pkgconfig(gnome-doc-utils) >= 0.3.2 |
14 |
BuildRequires: magic-devel |
15 |
BuildRequires: intltool |
16 |
|
17 |
Requires(pre): GConf2 |
18 |
# for the gsettings schema |
19 |
Requires: nautilus |
20 |
|
21 |
Requires: packagekit-gui |
22 |
|
23 |
Obsoletes: %{name}-nautilus < 3.0.2-2.mga2 |
24 |
|
25 |
%description |
26 |
File Roller is an archive manager for the GNOME environment. This means that |
27 |
you can : create and modify archives; view the content of an archive; view a |
28 |
file contained in the archive; extract files from the archive. |
29 |
File Roller is only a front-end (a graphical interface) to archiving programs |
30 |
like tar and zip. The supported file types are : |
31 |
* Tar archives uncompressed (.tar) or compressed with |
32 |
* gzip (.tar.gz , .tgz) |
33 |
* bzip (.tar.bz , .tbz) |
34 |
* bzip2 (.tar.bz2 , .tbz2) |
35 |
* compress (.tar.Z , .taz) |
36 |
* lzop (.tar.lzo , .tzo) |
37 |
* lzma (.tar.lzma , .tlz) |
38 |
* Zip archives (.zip) |
39 |
* Jar archives (.jar , .ear , .war) |
40 |
* Lha archives (.lzh) |
41 |
* Rar archives (.rar) |
42 |
* Single files compressed with gzip, bzip, bzip2, compress, lzop, lzma |
43 |
* ISO images |
44 |
|
45 |
%package nautilus |
46 |
Summary: File Roller extension for nautilus |
47 |
Group: User Interface/Desktops |
48 |
Requires: %{name} = %{version}-%{release} |
49 |
|
50 |
%description nautilus |
51 |
This package contains the file-roller extension for the nautilus file manger. |
52 |
It adds an item to the nautilus contexst menu that lets you compress files |
53 |
or directories. |
54 |
|
55 |
%prep |
56 |
%setup -q |
57 |
|
58 |
%build |
59 |
%configure2_5x \ |
60 |
--disable-scrollkeeper \ |
61 |
--enable-packagekit \ |
62 |
--enable-magic \ |
63 |
--disable-static \ |
64 |
--enable-nautilus-actions |
65 |
|
66 |
%make |
67 |
|
68 |
%install |
69 |
rm -rf %{buildroot} |
70 |
%makeinstall_std |
71 |
|
72 |
%find_lang %{name} --with-gnome --all-name |
73 |
for omf in %buildroot%_datadir/omf/*/*[_-]??.omf;do |
74 |
echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed s!%buildroot!!)" >> %name.lang |
75 |
done |
76 |
|
77 |
#remove unpackaged files |
78 |
rm -f %{buildroot}%{_libdir}/nautilus/extensions-3.0/*.{la,a} |
79 |
rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache |
80 |
rm -rf %{buildroot}/var/scrollkeeper |
81 |
|
82 |
%files -f %{name}.lang |
83 |
%doc AUTHORS NEWS README COPYING |
84 |
%{_bindir}/file-roller |
85 |
%{_datadir}/file-roller |
86 |
%{_datadir}/applications/file-roller.desktop |
87 |
%{_libexecdir}/file-roller |
88 |
%{_libexecdir}/file-roller-server |
89 |
%{_datadir}/dbus-1/services/org.gnome.FileRoller.service |
90 |
%{_datadir}/icons/hicolor/*/apps/file-roller.png |
91 |
%{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml |
92 |
%{_datadir}/GConf/gsettings/file-roller.convert |
93 |
%{_datadir}/omf/file-roller/file-roller-C.omf |
94 |
%{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so |