1 Summary: An archive manager for GNOME
2 Summary(pl.UTF-8): Zarządca archiwów dla GNOME
3 Summary(pt_BR.UTF-8): Gerenciador de arquivos compactados para o GNOME
8 Group: X11/Applications
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.20/%{name}-%{version}.tar.bz2
10 # Source0-md5: 98f725b2a0d04e6035d8a3e884e07a5c
11 Patch0: %{name}-desktop.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.20.0
14 BuildRequires: autoconf >= 2.52
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: gnome-doc-utils >= 0.12.0
18 BuildRequires: gnome-vfs2-devel >= 2.20.0
19 BuildRequires: gtk+2-devel >= 2:2.12.0
20 BuildRequires: libglade2-devel >= 1:2.6.2
21 BuildRequires: libgnomeui-devel >= 2.20.0
22 BuildRequires: libtool
23 BuildRequires: nautilus-devel >= 2.20.0
24 BuildRequires: pkgconfig
25 BuildRequires: rpmbuild(find_lang) >= 1.23
26 BuildRequires: rpmbuild(macros) >= 1.311
27 BuildRequires: scrollkeeper
28 BuildRequires: sed >= 4.0
29 Requires(post,postun): desktop-file-utils
30 Requires(post,postun): gtk+2
31 Requires(post,postun): hicolor-icon-theme
32 Requires(post,postun): scrollkeeper
33 Requires(post,preun): GConf2
34 Requires: gnome-vfs2 >= 2.20.0
35 Requires: libgnomeui >= 2.20.0
36 Requires: nautilus-libs >= 2.20.0
37 # sr@Latn vs. sr@latin
38 Conflicts: glibc-misc < 6:2.7
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 File Roller is an archive manager for the GNOME environment. With File
43 Roller you can: create and modify archives; view the content of an
44 archive; view a file contained in the archive; extract files from the
45 archive. File Roller is only a front-end (a graphical interface) to
46 various archiving programs. The supported file types are:
47 - Tar archives uncompressed (.tar) or compressed with
48 - gzip (.tar.gz , .tgz)
49 - bzip (.tar.bz , .tbz)
50 - bzip2 (.tar.bz2 , .tbz2)
51 - compress (.tar.Z , .taz)
52 - lzop (.tar.lzo , .tzo)
54 - Jar archives (.jar , .ear , .war)
57 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
59 %description -l pl.UTF-8
60 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
61 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
62 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
63 z archiwów. File Roller jest tylko interfejsem graficznym do
64 właściwych programów archiwizujących. Obsługiwane typy plików to:
65 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
66 - gzip (.tar.gz, .tgz)
67 - bzip (.tar.bz, .tbz)
68 - bzip2 (.tar.bz2, .tbz2)
69 - compress (.tar.Z, .taz)
70 - lzop (.tar.lzo, .tzo)
72 - archiwa jar (.jar, .ear, .war)
75 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
78 %description -l pt_BR.UTF-8
79 File Roller é um gerenciador de pacotes de arquivos compactados para o
80 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
81 conteúdo de arquivos existentes, visualizar um arquivo contido em um
82 pacote e extrair os arquivos de um pacote.
88 sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
89 mv po/sr\@{Latn,latin}.po
92 %{__gnome_doc_prepare}
99 --disable-schemas-install \
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT \
108 omf_dest_dir=%{_omf_dest_dir}/%{name} \
109 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
111 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
112 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
113 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
115 %find_lang %{name} --with-gnome --with-omf
118 rm -rf $RPM_BUILD_ROOT
121 %gconf_schema_install file-roller.schemas
122 %scrollkeeper_update_post
123 %update_desktop_database_post
124 %update_icon_cache hicolor
125 %banner %{name} -e << EOF
126 For fully operational File Roller you need to install archiving
127 programs described in README.
131 %gconf_schema_uninstall file-roller.schemas
134 %scrollkeeper_update_postun
135 %update_desktop_database_postun
136 %update_icon_cache hicolor
138 %files -f %{name}.lang
139 %defattr(644,root,root,755)
140 %doc AUTHORS NEWS README
141 %attr(755,root,root) %{_bindir}/file-roller
142 %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
143 %dir %{_libdir}/file-roller
144 %attr(755,root,root) %{_libdir}/file-roller/*.sh
145 %{_datadir}/file-roller
146 %{_desktopdir}/*.desktop
147 %{_iconsdir}/hicolor/*/apps/file-roller.*
148 %{_sysconfdir}/gconf/schemas/file-roller.schemas