Summary: An archive manager for GNOME
-Summary(pl): Zarz±dca archiwów dla GNOME
-Summary(pt_BR): Gerenciador de arquivos compactados para o GNOME
+Summary(pl.UTF-8): Zarządca archiwów dla GNOME
+Summary(pt_BR.UTF-8): Gerenciador de arquivos compactados para o GNOME
Name: file-roller
-Version: 2.14.2
+Version: 2.20.2
Release: 1
License: GPL v2
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/gnome/sources/file-roller/2.14/%{name}-%{version}.tar.bz2
-# Source0-md5: 4900dc4b2e4f0f173bd88cb5e6b9bde1
+Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.20/%{name}-%{version}.tar.bz2
+# Source0-md5: 98f725b2a0d04e6035d8a3e884e07a5c
Patch0: %{name}-desktop.patch
URL: http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.10.0
+BuildRequires: GConf2-devel >= 2.20.0
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gnome-doc-utils >= 0.3.1-2
-BuildRequires: gnome-vfs2-devel >= 2.10.0-2
-BuildRequires: gtk+2-devel >= 2:2.8.0
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgnomeui-devel >= 2.10.0-2
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gnome-vfs2-devel >= 2.20.0
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: libgnomeui-devel >= 2.20.0
BuildRequires: libtool
-BuildRequires: nautilus-devel >= 2.10.0-3
+BuildRequires: nautilus-devel >= 2.20.0
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.197
+# support for --with-omf in find-lang.sh
+BuildRequires: rpm-build >= 4.4.9-10
+BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper
-Requires(post,preun): GConf2
Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
Requires(post,postun): scrollkeeper
-Requires: gnome-vfs2 >= 2.10.0-2
+Requires(post,preun): GConf2
+Requires: gnome-vfs2 >= 2.20.0
+Requires: libgnomeui >= 2.20.0
+Requires: nautilus-libs >= 2.20.0
+# sr@Latn vs. sr@latin
+Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
archive. File Roller is only a front-end (a graphical interface) to
various archiving programs. The supported file types are:
- Tar archives uncompressed (.tar) or compressed with
- - gzip (.tar.gz , .tgz)
- - bzip (.tar.bz , .tbz)
- - bzip2 (.tar.bz2 , .tbz2)
- - compress (.tar.Z , .taz)
- - lzop (.tar.lzo , .tzo)
+ - gzip (.tar.gz , .tgz)
+ - bzip (.tar.bz , .tbz)
+ - bzip2 (.tar.bz2 , .tbz2)
+ - compress (.tar.Z , .taz)
+ - lzop (.tar.lzo , .tzo)
- Zip archives (.zip)
- Jar archives (.jar , .ear , .war)
- Lha archives (.lzh)
- Rar archives (.rar)
- Single files compressed with gzip, bzip, bzip2, compress, lzop.
-%description -l pl
-File Roller to zarz±dca archiwów dla ¶rodowiska GNOME. Przy jego
-pomocy mo¿na: tworzyæ i modyfikowaæ archiwa, ogl±daæ ich zawarto¶æ,
-ogl±daæ poszczególne pliki zawarte w archiwum oraz rozpakowywaæ pliki
-z archiwów. File Roller jest tylko interfejsem graficznym do
-w³a¶ciwych programów archiwizuj±cych. Obs³ugiwane typy plików to:
+%description -l pl.UTF-8
+File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
+pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
+oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
+z archiwów. File Roller jest tylko interfejsem graficznym do
+właściwych programów archiwizujących. Obsługiwane typy plików to:
- archiwa tar nieskompresowane (.tar) lub skompresowane programami:
- - gzip (.tar.gz, .tgz)
- - bzip (.tar.bz, .tbz)
- - bzip2 (.tar.bz2, .tbz2)
- - compress (.tar.Z, .taz)
- - lzop (.tar.lzo, .tzo)
+ - gzip (.tar.gz, .tgz)
+ - bzip (.tar.bz, .tbz)
+ - bzip2 (.tar.bz2, .tbz2)
+ - compress (.tar.Z, .taz)
+ - lzop (.tar.lzo, .tzo)
- archiwa zip (.zip)
- archiwa jar (.jar, .ear, .war)
- archiwa lha (.lzh)
- pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
compress, lzop.
-%description -l pt_BR
-File Roller é um gerenciador de pacotes de arquivos compactados para o
-ambiente GNOME. Com ele é possível criar arquivos, visualizar o
-conteúdo de arquivos existentes, visualizar um arquivo contido em um
+%description -l pt_BR.UTF-8
+File Roller é um gerenciador de pacotes de arquivos compactados para o
+ambiente GNOME. Com ele é possível criar arquivos, visualizar o
+conteúdo de arquivos existentes, visualizar um arquivo contido em um
pacote e extrair os arquivos de um pacote.
%prep
%setup -q
%patch0 -p1
+sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
%build
-gnome-doc-prepare --copy --force
+%{__gnome_doc_prepare}
+%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-gnome --with-omf
%clean
rm -rf $RPM_BUILD_ROOT
%gconf_schema_install file-roller.schemas
%scrollkeeper_update_post
%update_desktop_database_post
+%update_icon_cache hicolor
%banner %{name} -e << EOF
For fully operational File Roller you need to install archiving
programs described in README.
%postun
%scrollkeeper_update_postun
%update_desktop_database_postun
+%update_icon_cache hicolor
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS NEWS README
%attr(755,root,root) %{_bindir}/file-roller
%attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
+%dir %{_libdir}/file-roller
+%attr(755,root,root) %{_libdir}/file-roller/*.sh
%{_datadir}/file-roller
-%{_desktopdir}/*
-%{_iconsdir}/hicolor/*/apps/file-roller.png
-%{_omf_dest_dir}/%{name}
+%{_desktopdir}/*.desktop
+%{_iconsdir}/hicolor/*/apps/file-roller.*
%{_sysconfdir}/gconf/schemas/file-roller.schemas