X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gnome-commander.spec;h=f6f5e7abdbae470480f72b378896dcd475d72004;hb=8215de1;hp=afcc9f498a00213728a43f15cc232f82e44112b2;hpb=b576ec3eeefcb1e2b8572722e64536525a6a9d7f;p=packages%2Fgnome-commander.git diff --git a/gnome-commander.spec b/gnome-commander.spec index afcc9f4..f6f5e7a 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -1,32 +1,51 @@ Summary: A GNOME filemanager similar to the Midnight Commander Summary(pl.UTF-8): Zarządca plików dla środowiska GNOME w stylu Midnight Commandera Name: gnome-commander -Version: 1.2.8.12 -Release: 4 +Version: 1.4.7 +Release: 1 License: GPL v2+ Group: X11/Applications -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/%{name}-%{version}.tar.bz2 -# Source0-md5: 210cd59699dda373a80367b5141a3157 +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.4/%{name}-%{version}.tar.xz +# Source0-md5: 347337051c10745158200762ae29fa22 Patch0: %{name}-flags.patch -Patch1: gnome-commander-1.2.8.15-poppler020.patch +Patch1: %{name}-am.patch +Patch2: %{name}-gsf.patch URL: http://www.nongnu.org/gcmd/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: chmlib-devel BuildRequires: docbook-dtd412-xml -BuildRequires: exiv2-devel -BuildRequires: gettext-devel +BuildRequires: exiv2-devel >= 0.14 +BuildRequires: flex +BuildRequires: gettext-tools +BuildRequires: glib2-devel >= 1:2.6.0 BuildRequires: gnome-doc-utils -BuildRequires: gtk+2-devel >= 2:2.6.0 -BuildRequires: intltool >= 0.31 -BuildRequires: libgnome-keyring-devel -BuildRequires: libgnomeui-devel >= 2.0.0 +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 -BuildRequires: python-devel -BuildRequires: taglib-devel +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) @@ -48,7 +67,8 @@ kilka dodatkowych jak np. klienta FTP. %prep %setup -q %patch0 -p1 -%patch1 -p1 +%patch1 -p0 +%patch2 -p1 %build %{__glib_gettextize} @@ -56,9 +76,11 @@ kilka dodatkowych jak np. klienta FTP. %{__intltoolize} %{__aclocal} -I m4 %{__autoconf} +%{__autoheader} %{__automake} %configure \ - --disable-scrollkeeper + --disable-scrollkeeper \ + --disable-static %{__make} %install @@ -67,12 +89,12 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a} +%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la -[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ - mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} +# outdated copy of sr@latin +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sr@Latn -%find_lang %{name} --with-gnome --all-name +%find_lang %{name} --with-gnome --with-omf %clean rm -rf $RPM_BUILD_ROOT @@ -82,7 +104,7 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README TODO +%doc AUTHORS BUGS ChangeLog NEWS README TODO %attr(755,root,root) %{_bindir}/gcmd-block %attr(755,root,root) %{_bindir}/gnome-commander %dir %{_libdir}/%{name} @@ -90,7 +112,9 @@ rm -rf $RPM_BUILD_ROOT %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 +%{_datadir}/gnome-commander +%{_pixmapsdir}/gnome-commander.png +%{_pixmapsdir}/gnome-commander %{_desktopdir}/gnome-commander.desktop %{_mandir}/man1/gnome-commander.1* -%{_omf_dest_dir}/%{name}