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.10/%{name}-%{version}.tar.xz
9 # Source0-md5: e1ce66c5e64972943fcb51a3a9a74731
10 Patch0: %{name}-flags.patch
11 Patch1: %{name}-am.patch
12 Patch2: %{name}-gsf.patch
13 URL: https://gcmd.github.io/
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 >= 0.19.7
21 BuildRequires: glib2-devel >= 1:2.44.0
22 BuildRequires: gnome-vfs2-devel >= 2.0.0
23 BuildRequires: gtk+2-devel >= 2:2.18.0
24 BuildRequires: libgnome-devel >= 2.0.0
25 BuildRequires: libgnome-keyring-devel >= 2.22
26 BuildRequires: libgnomeui-devel >= 2.4.0
27 BuildRequires: libgsf-devel >= 1.14.26
28 BuildRequires: libstdc++-devel >= 6:4.7
29 BuildRequires: libtool >= 2:2
30 BuildRequires: libunique-devel >= 0.9.3
31 BuildRequires: libxslt-progs
32 BuildRequires: pkgconfig
33 BuildRequires: poppler-devel >= 0.18
34 BuildRequires: rpmbuild(macros) >= 1.592
35 BuildRequires: taglib-devel >= 1.4
36 BuildRequires: tar >= 1:1.22
38 BuildRequires: yelp-tools
39 Requires(post,postun): /sbin/ldconfig
40 Requires(post,postun): glib2 >= 1:2.44.0
41 Requires: exiv2-libs >= 0.14
42 Requires: glib2 >= 1:2.44.0
43 Requires: gtk+2 >= 2:2.18.0
44 Requires: libgnome-keyring >= 2.22
45 Requires: libgnomeui >= 2.4.0
46 Requires: libgsf >= 1.14.26
47 Requires: libunique >= 0.9.3
48 Requires: poppler >= 0.18
49 Requires: taglib >= 1.4
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 # symbol main_win_widget is provided by gnome-commander binary
53 %define skip_post_check_so libgcmd.so.*
56 GNOME Commander is a filemanager that just like the classical Midnight
57 commander lets you do everything with the keyboard. It can perform all
58 standard fileoperations and some extra features like FTP support.
60 %description -l pl.UTF-8
61 GNOME Commander to zarządca plików, który podobnie do klasycznego
62 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
63 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
64 kilka dodatkowych jak np. klienta FTP.
79 --disable-scrollkeeper \
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT
89 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
91 %find_lang %{name} --with-gnome --with-omf
94 rm -rf $RPM_BUILD_ROOT
102 %glib_compile_schemas
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS BUGS ChangeLog NEWS README TODO
107 %attr(755,root,root) %{_bindir}/gcmd-block
108 %attr(755,root,root) %{_bindir}/gnome-commander
109 %dir %{_libdir}/%{name}
110 %dir %{_libdir}/%{name}/plugins
111 %attr(755,root,root) %{_libdir}/%{name}/libgcmd.so*
112 %attr(755,root,root) %{_libdir}/%{name}/plugins/libfileroller.so
113 %{_datadir}/appdata/gnome-commander.appdata.xml
114 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml
115 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml
116 %{_datadir}/gnome-commander
117 %{_desktopdir}/gnome-commander.desktop
118 %{_pixmapsdir}/gnome-commander.svg
119 %{_pixmapsdir}/gnome-commander
120 %{_mandir}/man1/gnome-commander.1*