]> git.pld-linux.org Git - packages/gnome-commander.git/blobdiff - gnome-commander.spec
- just remove sr@Latn, it's outdated version of sr@latin; release 3
[packages/gnome-commander.git] / gnome-commander.spec
index d5540e8e3fba0cf3030f9beff60802d503f315c6..cd85ad8d6fc9a50ba4897de61db1193c1b0acaab 100644 (file)
@@ -1,52 +1,86 @@
 Summary:       A GNOME filemanager similar to the Midnight Commander
-Summary(pl):   Zarz±dca plików dla ¶rodowiska GNOME w stylu Midnight Commandera
+Summary(pl.UTF-8):     Zarządca plików dla środowiska GNOME w stylu Midnight Commandera
 Name:          gnome-commander
-Version:       1.1.6
-Release:       0.2
-License:       GPL v2
+Version:       1.4.6
+Release:       3
+License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.1/%{name}-%{version}.tar.bz2
-# Source0-md5: 972e976ea01663f5b60e8a16721a5348
-Patch0:                %{name}-clist.patch
-Patch1:                %{name}-desktop.patch
-Patch2:                %{name}-libdir.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.4/%{name}-%{version}.tar.xz
+# Source0-md5: 9029f0c0c423ff40b82b6e13ad8e95aa
+Patch0:                %{name}-flags.patch
+Patch1:                %{name}-am.patch
+Patch2:                %{name}-gsf.patch
 URL:           http://www.nongnu.org/gcmd/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: glib2-devel
-BuildRequires: gnome-vfs2-devel
-BuildRequires: gtk+2-devel
-BuildRequires: intltool
-BuildRequires: libgnome-devel
-BuildRequires: libgnomeui-devel
+BuildRequires: chmlib-devel
+BuildRequires: docbook-dtd412-xml
+BuildRequires: exiv2-devel >= 0.14
+BuildRequires: flex
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.6.0
+BuildRequires: gnome-doc-utils
+BuildRequires: gnome-vfs2-devel >= 2.0.0
+BuildRequires: gtk+2-devel >= 2:2.8.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libgnome-devel >= 2.0.0
+BuildRequires: libgnome-keyring-devel >= 2.22
+BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libgsf-devel >= 1.12.0
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
+BuildRequires: libunique-devel >= 0.9.3
+BuildRequires: libxslt-progs
+BuildRequires: pkgconfig
+BuildRequires: poppler-devel >= 0.18
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: taglib-devel >= 1.4
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      exiv2 >= 0.14
+Requires:      glib2 >= 1:2.6.0
+Requires:      gtk+2 >= 2:2.8.0
+Requires:      libgnome-keyring >= 2.22
+Requires:      libgnomeui >= 2.4.0
+Requires:      libgsf >= 1.12.0
+Requires:      libunique >= 0.9.3
+Requires:      poppler >= 0.18
+Requires:      taglib >= 1.4
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# symbol main_win_widget is provided by gnome-commander binary
+%define                skip_post_check_so      libgcmd.so.*
+
 %description
 GNOME Commander is a filemanager that just like the classical Midnight
 commander lets you do everything with the keyboard. It can perform all
 standard fileoperations and some extra features like FTP support.
 
-%description -l pl
-GNOME Commander to zarz±dca plików, który podobnie do klasycznego
-Midnight Commandera umo¿liwia pe³n± obs³ugê przy pomocy klawiatury.
-Zapewnia wykonanie wszystkich typowych operacji na plikach, a tak¿e
+%description -l pl.UTF-8
+GNOME Commander to zarządca plików, który podobnie do klasycznego
+Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
+Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
 kilka dodatkowych jak np. klienta FTP.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+%patch1 -p0
 %patch2 -p1
 
 %build
-glib-gettextize --copy --force
+%{__glib_gettextize}
 %{__libtoolize}
-intltoolize --copy --force
-%{__aclocal}
+%{__intltoolize}
+%{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-scrollkeeper \
+       --disable-static
 %{__make}
 
 %install
@@ -55,9 +89,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
         DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/{%{name}/plugins/,}/*.{la,a}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
+
+# outdated copy of sr@latin
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sr@Latn
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,11 +104,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%doc AUTHORS BUGS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/gcmd-block
+%attr(755,root,root) %{_bindir}/gnome-commander
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
+%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
+%{_libdir}/%{name}/plugins/*.py*
 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
-%{_pixmapsdir}/*
+%{_datadir}/appdata/gnome-commander.appdata.xml
+%{_pixmapsdir}/gnome-commander.png
+%{_pixmapsdir}/gnome-commander
 %{_desktopdir}/gnome-commander.desktop
+%{_mandir}/man1/gnome-commander.1*
This page took 0.114847 seconds and 4 git commands to generate.