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: https://download.gnome.org/sources/gnome-commander/1.14/%{name}-%{version}.tar.xz
9 # Source0-md5: 9fcd852ddb04aef8d9664690f1f329f2
10 Patch0: %{name}-flags.patch
11 Patch1: %{name}-gsf.patch
12 URL: https://gcmd.github.io/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: chmlib-devel
16 BuildRequires: docbook-dtd412-xml
17 BuildRequires: exiv2-devel >= 0.14
18 BuildRequires: flex >= 2.0.0
19 BuildRequires: gettext-tools >= 0.19.7
20 BuildRequires: glib2-devel >= 1:2.70.0
21 BuildRequires: gnome-vfs2-devel >= 2.0.0
22 BuildRequires: gtk+2-devel >= 2:2.24.0
23 BuildRequires: libgsf-devel >= 1.14.26
24 BuildRequires: libstdc++-devel >= 6:4.7
25 BuildRequires: libtool >= 2:2
26 BuildRequires: libunique-devel >= 0.9.3
27 BuildRequires: libxslt-progs
28 BuildRequires: pkgconfig
29 BuildRequires: poppler-devel >= 0.18
30 BuildRequires: rpmbuild(macros) >= 1.592
31 BuildRequires: taglib-devel >= 1.4
32 BuildRequires: tar >= 1:1.22
34 BuildRequires: yelp-tools
35 Requires(post,postun): /sbin/ldconfig
36 Requires(post,postun): glib2 >= 1:2.70.0
37 Requires: exiv2-libs >= 0.14
38 Requires: glib2 >= 1:2.70.0
39 Requires: gtk+2 >= 2:2.24.0
40 Requires: libgnome-keyring >= 2.22
41 Requires: libgnomeui >= 2.4.0
42 Requires: libgsf >= 1.14.26
43 Requires: libunique >= 0.9.3
44 Requires: poppler >= 0.18
45 Requires: taglib >= 1.4
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 # symbol main_win_widget is provided by gnome-commander binary
49 %define skip_post_check_so libgcmd.so.*
52 GNOME Commander is a filemanager that just like the classical Midnight
53 commander lets you do everything with the keyboard. It can perform all
54 standard fileoperations and some extra features like FTP support.
56 %description -l pl.UTF-8
57 GNOME Commander to zarządca plików, który podobnie do klasycznego
58 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
59 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
60 kilka dodatkowych jak np. klienta FTP.
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
83 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
85 %find_lang %{name} --with-gnome
88 rm -rf $RPM_BUILD_ROOT
96 %files -f %{name}.lang
97 %defattr(644,root,root,755)
98 %doc AUTHORS BUGS ChangeLog NEWS README TODO
99 %attr(755,root,root) %{_bindir}/gcmd-block
100 %attr(755,root,root) %{_bindir}/gnome-commander
101 %dir %{_libdir}/%{name}
102 %dir %{_libdir}/%{name}/plugins
103 %attr(755,root,root) %{_libdir}/%{name}/libgcmd.so*
104 %attr(755,root,root) %{_libdir}/%{name}/plugins/libfileroller.so
105 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml
106 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml
107 %{_datadir}/metainfo/org.gnome.gnome-commander.appdata.xml
108 %{_desktopdir}/org.gnome.gnome-commander.desktop
109 %{_pixmapsdir}/gnome-commander.svg
110 %{_pixmapsdir}/gnome-commander
111 %{_mandir}/man1/gnome-commander.1*