]> git.pld-linux.org Git - packages/file-roller.git/blobdiff - file-roller.spec
- up to 3.2.1
[packages/file-roller.git] / file-roller.spec
index 891e15278898b1c7524a2d379961a0e177c52f9b..6dc219e0653dee65155b3a7f012cf9a80aae4878 100644 (file)
@@ -1,29 +1,48 @@
 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.6.2
-Release:       2
+Version:       3.2.1
+Release:       1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
-# Source0-md5: 88c6441d286c8f0810a37a3f3107f985
-Patch0:                %{name}-gzip-mime.patch
-Patch1:                %{name}-locale-names.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.2/%{name}-%{version}.tar.xz
+# Source0-md5: 06cffcf8eb0d47db90b3195896bce6a4
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.6.2
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gnome-vfs2-devel >= 2.6.1.1
-BuildRequires: gtk+2-devel >= 2:2.4.3
-BuildRequires: libglade2-devel >= 1:2.4.0
-BuildRequires: libgnomeui-devel >= 2.6.1.1
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1:1.11
+BuildRequires: docbook-dtd412-xml
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.29.14
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.14.0
+BuildRequires: gtk+3-devel >= 3.0.2
+BuildRequires: intltool >= 0.40.0
 BuildRequires: libtool
-BuildRequires: rpm-build >= 4.1-10
-Requires(post):        GConf2
-Requires(post):        scrollkeeper
-Requires:      gnome-vfs2 >= 2.6.1.1
-Requires:      unzip
+BuildRequires: libxml2-progs
+BuildRequires: nautilus-devel >= 2.26.0
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(find_lang) >= 1.23
+BuildRequires: rpmbuild(macros) >= 1.601
+# libegg
+BuildRequires: xorg-lib-libSM-devel
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+Requires:      glib2 >= 1:2.29.14
+Requires:      hicolor-icon-theme
+Requires:      nautilus-libs >= 2.26.0
+Suggests:      bzip2
+Suggests:      gzip
+Suggests:      p7zip
+%ifarch %{ix86}
+Suggests:      rar
+%else
+Suggests:      unrar
+%endif
+Suggests:      tar
+Suggests:      zip
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,30 +51,30 @@ Roller you can: create and modify archives; view the content of an
 archive; view a file contained in the archive; extract files from the
 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)
-    - Zip archives (.zip)
-    - Jar archives (.jar , .ear , .war)
-    - Lha archives (.lzh)
-    - Rar archives (.rar)
-    - Single files compressed with gzip, bzip, bzip2, compress, lzop.
+- 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)
+- 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)
@@ -63,27 +82,26 @@ w
 - 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
-%patch1 -p1
-
-mv po/{no,nb}.po
 
 %build
-rm -f missing
+%{__gnome_doc_prepare}
+%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
-       --disable-schemas-install \
+       --disable-schemas-compile \
+       --disable-silent-rules \
        --disable-static
 
 %{__make}
@@ -92,32 +110,40 @@ rm -f missing
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       omf_dest_dir=%{_omf_dest_dir}/%{name} \
-       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
+
+# the same locale as ur
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
 
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
+%update_desktop_database_post
+%update_icon_cache hicolor
+%glib_compile_schemas
 
-%postun -p /usr/bin/scrollkeeper-update
+%postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
+%glib_compile_schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README
+%doc AUTHORS NEWS README TODO
 %attr(755,root,root) %{_bindir}/file-roller
-%attr(755,root,root) %{_libdir}/bonobo/*.so
-%{_libdir}/bonobo/*.la
-%{_libdir}/bonobo/servers/*.server
+%attr(755,root,root) %{_libexecdir}/file-roller-server
+%attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
+%dir %{_libdir}/file-roller
+%attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
+%attr(755,root,root) %{_libdir}/file-roller/rpm2cpio
+%{_datadir}/GConf/gsettings/file-roller.convert
+%{_datadir}/dbus-1/services/org.gnome.FileRoller.service
 %{_datadir}/file-roller
-%{_datadir}/application-registry/file-roller.applications
-%{_datadir}/mime-info/file-roller.*
-%{_desktopdir}/*
-%{_pixmapsdir}/file-roller.png
-%{_omf_dest_dir}/%{name}
-%{_sysconfdir}/gconf/schemas/*
+%{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
+%{_desktopdir}/file-roller.desktop
+%{_iconsdir}/hicolor/*/apps/file-roller.*
This page took 0.452688 seconds and 4 git commands to generate.