]> git.pld-linux.org Git - packages/gnome-commander.git/blobdiff - gnome-commander.spec
- 1.2.8.8
[packages/gnome-commander.git] / gnome-commander.spec
index 66ca92045441e1ca5403b4dcd1c5c037b9ff1f86..2ea9b8150bea0fdc11b72ebe3dd0dacd0a39c898 100644 (file)
@@ -1,28 +1,31 @@
-# TODO:
-# - broken on amd64 (installing plugins to /usr/lib, should /usr/lib64),
-#
 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.2.8.8
+Release:       1
+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.2/%{name}-%{version}.tar.bz2
+# Source0-md5: 04161dd45209bc238cfce27161f92dc7
+Patch0:                %{name}-flags.patch
 URL:           http://www.nongnu.org/gcmd/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: glib2-devel
-BuildRequires: gnome-vfs2-devel
-BuildRequires: gtk+2-devel
-BuildRequires: intltool
-BuildRequires: libgnome-devel
-BuildRequires: libgnomeui-devel
+BuildRequires: docbook-dtd412-xml
+BuildRequires: gettext-devel
+BuildRequires: gnome-doc-utils
+BuildRequires: gtk+2-devel >= 2:2.6.0
+BuildRequires: id3lib-devel
+BuildRequires: intltool >= 0.31
+BuildRequires: libgnome-keyring-devel
+BuildRequires: libgnomeui-devel >= 2.0.0
+BuildRequires: libiptcdata-devel
 BuildRequires: libtool
+BuildRequires: libxslt-progs
+BuildRequires: pkgconfig
+BuildRequires: rpm-perlprov
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,26 +33,25 @@ 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
-%patch2 -p1
 
 %build
-glib-gettextize --copy --force
+%{__glib_gettextize}
 %{__libtoolize}
-intltoolize --copy --force
-%{__aclocal}
+%{__intltoolize}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -58,9 +60,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
         DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/{%{name}/plugins/,}/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a}
 
-%find_lang %{name}
+[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
+       mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
+
+%find_lang %{name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -72,9 +77,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
+%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
 %{_pixmapsdir}/*
 %{_desktopdir}/gnome-commander.desktop
+%{_mandir}/man1/gnome-commander.1*
+%{_omf_dest_dir}/%{name}
This page took 0.029379 seconds and 4 git commands to generate.