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.6/%{name}-%{version}.tar.xz
9 # Source0-md5: 753c8ae940229085871aec17cec1dae5
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.44.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.50.1
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.14.26
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: rpmbuild(macros) >= 1.592
38 BuildRequires: taglib-devel >= 1.4
39 BuildRequires: tar >= 1:1.22
41 Requires(post,postun): /sbin/ldconfig
42 Requires(post,postun): glib2 >= 1:2.44.0
43 Requires: exiv2-libs >= 0.14
44 Requires: glib2 >= 1:2.44.0
45 Requires: gtk+2 >= 2:2.8.0
46 Requires: libgnome-keyring >= 2.22
47 Requires: libgnomeui >= 2.4.0
48 Requires: libgsf >= 1.14.26
49 Requires: libunique >= 0.9.3
50 Requires: poppler >= 0.18
51 Requires: taglib >= 1.4
52 # sr@Latn vs. sr@latin
53 Conflicts: glibc-misc < 6:2.7
54 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56 # symbol main_win_widget is provided by gnome-commander binary
57 %define skip_post_check_so libgcmd.so.*
60 GNOME Commander is a filemanager that just like the classical Midnight
61 commander lets you do everything with the keyboard. It can perform all
62 standard fileoperations and some extra features like FTP support.
64 %description -l pl.UTF-8
65 GNOME Commander to zarządca plików, który podobnie do klasycznego
66 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
67 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
68 kilka dodatkowych jak np. klienta FTP.
85 --disable-scrollkeeper \
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
95 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
97 %find_lang %{name} --with-gnome --with-omf
100 rm -rf $RPM_BUILD_ROOT
104 %glib_compile_schemas
108 %glib_compile_schemas
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc AUTHORS BUGS ChangeLog NEWS README TODO
113 %attr(755,root,root) %{_bindir}/gcmd-block
114 %attr(755,root,root) %{_bindir}/gnome-commander
115 %dir %{_libdir}/%{name}
116 %dir %{_libdir}/%{name}/plugins
117 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
118 %{_libdir}/%{name}/plugins/*.py*
119 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
120 %{_datadir}/appdata/gnome-commander.appdata.xml
121 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml
122 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml
123 %{_datadir}/gnome-commander
124 %{_pixmapsdir}/gnome-commander.png
125 %{_pixmapsdir}/gnome-commander
126 %{_desktopdir}/gnome-commander.desktop
127 %{_mandir}/man1/gnome-commander.1*