1 Summary: A GNOME filemanager similar to the Midnight Commander
2 Summary(pl.UTF-8): Zarządca plików dla środowiska GNOME w stylu Midnight Commandera
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.4/%{name}-%{version}.tar.xz
9 # Source0-md5: f999e5c52f819213955ecb1ec86ecfd0
10 Patch0: %{name}-flags.patch
11 Patch1: %{name}-am.patch
12 Patch2: %{name}-gsf.patch
13 URL: http://www.nongnu.org/gcmd/
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: chmlib-devel
17 BuildRequires: docbook-dtd412-xml
18 BuildRequires: exiv2-devel >= 0.14
20 BuildRequires: gettext-tools
21 BuildRequires: glib2-devel >= 1:2.6.0
22 BuildRequires: gnome-doc-utils
23 BuildRequires: gnome-vfs2-devel >= 2.0.0
24 BuildRequires: gtk+2-devel >= 2:2.8.0
25 BuildRequires: intltool >= 0.35.0
26 BuildRequires: libgnome-devel >= 2.0.0
27 BuildRequires: libgnome-keyring-devel >= 2.22
28 BuildRequires: libgnomeui-devel >= 2.4.0
29 BuildRequires: libgsf-devel >= 1.12.0
30 BuildRequires: libstdc++-devel
31 BuildRequires: libtool
32 BuildRequires: libunique-devel >= 0.9.3
33 BuildRequires: libxslt-progs
34 BuildRequires: pkgconfig
35 BuildRequires: poppler-devel >= 0.18
36 BuildRequires: python-devel >= 1:2.5
37 BuildRequires: taglib-devel >= 1.4
38 BuildRequires: tar >= 1:1.22
40 Requires: exiv2-libs >= 0.14
41 Requires: glib2 >= 1:2.6.0
42 Requires: gtk+2 >= 2:2.8.0
43 Requires: libgnome-keyring >= 2.22
44 Requires: libgnomeui >= 2.4.0
45 Requires: libgsf >= 1.12.0
46 Requires: libunique >= 0.9.3
47 Requires: poppler >= 0.18
48 Requires: taglib >= 1.4
49 # sr@Latn vs. sr@latin
50 Conflicts: glibc-misc < 6:2.7
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 # symbol main_win_widget is provided by gnome-commander binary
54 %define skip_post_check_so libgcmd.so.*
57 GNOME Commander is a filemanager that just like the classical Midnight
58 commander lets you do everything with the keyboard. It can perform all
59 standard fileoperations and some extra features like FTP support.
61 %description -l pl.UTF-8
62 GNOME Commander to zarządca plików, który podobnie do klasycznego
63 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
64 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
65 kilka dodatkowych jak np. klienta FTP.
82 --disable-scrollkeeper \
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
94 %find_lang %{name} --with-gnome --with-omf
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS BUGS ChangeLog NEWS README TODO
105 %attr(755,root,root) %{_bindir}/gcmd-block
106 %attr(755,root,root) %{_bindir}/gnome-commander
107 %dir %{_libdir}/%{name}
108 %dir %{_libdir}/%{name}/plugins
109 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
110 %{_libdir}/%{name}/plugins/*.py*
111 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
112 %{_datadir}/appdata/gnome-commander.appdata.xml
113 %{_datadir}/gnome-commander
114 %{_pixmapsdir}/gnome-commander.png
115 %{_pixmapsdir}/gnome-commander
116 %{_desktopdir}/gnome-commander.desktop
117 %{_mandir}/man1/gnome-commander.1*