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.2/%{name}-%{version}.tar.xz
9 # Source0-md5: da2f36851f96bc9b2ea7ea363875efed
10 Patch0: %{name}-flags.patch
11 Patch1: %{name}-1.2.8.15-poppler020.patch
12 Patch2: %{name}-gcc47.patch
13 Patch3: %{name}-format-security.patch
14 URL: http://www.nongnu.org/gcmd/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: chmlib-devel
18 BuildRequires: docbook-dtd412-xml
19 BuildRequires: exiv2-devel
20 BuildRequires: gettext-devel
21 BuildRequires: gnome-doc-utils
22 BuildRequires: gtk+2-devel >= 2:2.6.0
23 BuildRequires: intltool >= 0.31
24 BuildRequires: libgnome-keyring-devel
25 BuildRequires: libgnomeui-devel >= 2.0.0
26 BuildRequires: libtool
27 BuildRequires: libxslt-progs
28 BuildRequires: pkgconfig
29 BuildRequires: poppler-devel
30 BuildRequires: python-devel
31 BuildRequires: taglib-devel
32 BuildRequires: tar >= 1:1.22
34 # sr@Latn vs. sr@latin
35 Conflicts: glibc-misc < 6:2.7
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 # symbol main_win_widget is provided by gnome-commander binary
39 %define skip_post_check_so libgcmd.so.*
42 GNOME Commander is a filemanager that just like the classical Midnight
43 commander lets you do everything with the keyboard. It can perform all
44 standard fileoperations and some extra features like FTP support.
46 %description -l pl.UTF-8
47 GNOME Commander to zarządca plików, który podobnie do klasycznego
48 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
49 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
50 kilka dodatkowych jak np. klienta FTP.
67 --disable-scrollkeeper
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a}
78 [ -d $RPM_BUILD_ROOT%{_localedir}/sr@latin ] || \
79 mv -f $RPM_BUILD_ROOT%{_localedir}/sr@{Latn,latin}
81 %find_lang %{name} --with-gnome --all-name
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README TODO
92 %attr(755,root,root) %{_bindir}/gcmd-block
93 %attr(755,root,root) %{_bindir}/gnome-commander
94 %dir %{_libdir}/%{name}
95 %dir %{_libdir}/%{name}/plugins
96 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
97 %{_libdir}/%{name}/plugins/*.py*
98 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
100 %{_desktopdir}/gnome-commander.desktop
101 %{_mandir}/man1/gnome-commander.1*
102 %{_omf_dest_dir}/%{name}