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.22/%{name}-%{version}.tar.bz2
10 # Source0-md5: 81836da5b75575c45154ad851da699cb
11 Patch0: %{name}-desktop.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.22.0
14 BuildRequires: autoconf >= 2.52
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: gnome-doc-utils >= 0.12.1
18 BuildRequires: gnome-vfs2-devel >= 2.22.0
19 BuildRequires: gtk+2-devel >= 2:2.12.8
20 BuildRequires: intltool >= 0.37.0
21 BuildRequires: libglade2-devel >= 1:2.6.2
22 BuildRequires: libgnomeui-devel >= 2.22.01
23 BuildRequires: libtool
24 BuildRequires: nautilus-devel >= 2.22.0
25 BuildRequires: pkgconfig
26 BuildRequires: rpmbuild(find_lang) >= 1.23
27 BuildRequires: rpmbuild(macros) >= 1.311
28 BuildRequires: scrollkeeper
29 BuildRequires: sed >= 4.0
30 Requires(post,postun): desktop-file-utils
31 Requires(post,postun): gtk+2
32 Requires(post,postun): hicolor-icon-theme
33 Requires(post,postun): scrollkeeper
34 Requires(post,preun): GConf2
35 Requires: gnome-vfs2 >= 2.22.0
36 Requires: libgnomeui >= 2.22.01
37 Requires: nautilus-libs >= 2.22.0
48 # sr@Latn vs. sr@latin
49 Conflicts: glibc-misc < 6:2.7
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 File Roller is an archive manager for the GNOME environment. With File
54 Roller you can: create and modify archives; view the content of an
55 archive; view a file contained in the archive; extract files from the
56 archive. File Roller is only a front-end (a graphical interface) to
57 various archiving programs. The supported file types are:
58 - Tar archives uncompressed (.tar) or compressed with
59 - gzip (.tar.gz , .tgz)
60 - bzip (.tar.bz , .tbz)
61 - bzip2 (.tar.bz2 , .tbz2)
62 - compress (.tar.Z , .taz)
63 - lzop (.tar.lzo , .tzo)
65 - Jar archives (.jar , .ear , .war)
68 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
70 %description -l pl.UTF-8
71 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
72 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
73 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
74 z archiwów. File Roller jest tylko interfejsem graficznym do
75 właściwych programów archiwizujących. Obsługiwane typy plików to:
76 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
77 - gzip (.tar.gz, .tgz)
78 - bzip (.tar.bz, .tbz)
79 - bzip2 (.tar.bz2, .tbz2)
80 - compress (.tar.Z, .taz)
81 - lzop (.tar.lzo, .tzo)
83 - archiwa jar (.jar, .ear, .war)
86 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
89 %description -l pt_BR.UTF-8
90 File Roller é um gerenciador de pacotes de arquivos compactados para o
91 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
92 conteúdo de arquivos existentes, visualizar um arquivo contido em um
93 pacote e extrair os arquivos de um pacote.
99 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
100 mv po/sr@{Latn,latin}.po
103 %{__gnome_doc_prepare}
111 --disable-schemas-install \
116 rm -rf $RPM_BUILD_ROOT
119 DESTDIR=$RPM_BUILD_ROOT \
120 omf_dest_dir=%{_omf_dest_dir}/%{name} \
121 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
123 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
124 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
125 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
127 %find_lang %{name} --with-gnome --with-omf
130 rm -rf $RPM_BUILD_ROOT
133 %gconf_schema_install file-roller.schemas
134 %scrollkeeper_update_post
135 %update_desktop_database_post
136 %update_icon_cache hicolor
139 %gconf_schema_uninstall file-roller.schemas
142 %scrollkeeper_update_postun
143 %update_desktop_database_postun
144 %update_icon_cache hicolor
146 %files -f %{name}.lang
147 %defattr(644,root,root,755)
148 %doc AUTHORS ChangeLog NEWS README TODO
149 %attr(755,root,root) %{_bindir}/file-roller
150 %attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-fileroller.so
151 %dir %{_libdir}/file-roller
152 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
153 %{_datadir}/file-roller
154 %{_desktopdir}/file-roller.desktop
155 %{_iconsdir}/hicolor/*/apps/file-roller.*
156 %{_sysconfdir}/gconf/schemas/file-roller.schemas