]>
Commit | Line | Data |
---|---|---|
3d0333ff | 1 | Summary: A GNOME filemanager similar to the Midnight Commander |
d2de3fe5 | 2 | Summary(pl.UTF-8): Zarządca plików dla środowiska GNOME w stylu Midnight Commandera |
d8e36939 | 3 | Name: gnome-commander |
426affd7 | 4 | Version: 1.2.8.12 |
a3e5fb1b | 5 | Release: 5 |
4a97838d | 6 | License: GPL v2+ |
2d078f96 | 7 | Group: X11/Applications |
02375880 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/%{name}-%{version}.tar.bz2 |
426affd7 | 9 | # Source0-md5: 210cd59699dda373a80367b5141a3157 |
82916b7a | 10 | Patch0: %{name}-flags.patch |
b576ec3e | 11 | Patch1: gnome-commander-1.2.8.15-poppler020.patch |
d954e565 | 12 | URL: http://www.nongnu.org/gcmd/ |
defd17b7 JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
dd3e5acf | 15 | BuildRequires: chmlib-devel |
46db4e9d | 16 | BuildRequires: docbook-dtd412-xml |
dd3e5acf | 17 | BuildRequires: exiv2-devel |
06916c15 | 18 | BuildRequires: gettext-devel |
02375880 | 19 | BuildRequires: gnome-doc-utils |
20 | BuildRequires: gtk+2-devel >= 2:2.6.0 | |
21 | BuildRequires: intltool >= 0.31 | |
3ae5ccb1 | 22 | BuildRequires: libgnome-keyring-devel |
02375880 | 23 | BuildRequires: libgnomeui-devel >= 2.0.0 |
2c068fa3 | 24 | BuildRequires: libtool |
9b3822cd | 25 | BuildRequires: libxslt-progs |
06916c15 | 26 | BuildRequires: pkgconfig |
dd3e5acf | 27 | BuildRequires: poppler-devel |
28 | BuildRequires: python-devel | |
29 | BuildRequires: taglib-devel | |
6a39b029 | 30 | # sr@Latn vs. sr@latin |
31 | Conflicts: glibc-misc < 6:2.7 | |
d8e36939 | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62e35630 | 33 | |
dd3e5acf | 34 | # symbol main_win_widget is provided by gnome-commander binary |
8cc6124c JR |
35 | %define skip_post_check_so libgcmd.so.* |
36 | ||
62e35630 | 37 | %description |
3d0333ff | 38 | GNOME Commander is a filemanager that just like the classical Midnight |
b9429b84 | 39 | commander lets you do everything with the keyboard. It can perform all |
89f3bd7c | 40 | standard fileoperations and some extra features like FTP support. |
d8e36939 | 41 | |
19ade598 JR |
42 | %description -l pl.UTF-8 |
43 | GNOME Commander to zarządca plików, który podobnie do klasycznego | |
44 | Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury. | |
45 | Zapewnia wykonanie wszystkich typowych operacji na plikach, a także | |
89f3bd7c | 46 | kilka dodatkowych jak np. klienta FTP. |
b9429b84 | 47 | |
62e35630 | 48 | %prep |
d0e60dbf | 49 | %setup -q |
02375880 | 50 | %patch0 -p1 |
b576ec3e | 51 | %patch1 -p1 |
62e35630 | 52 | |
53 | %build | |
02375880 | 54 | %{__glib_gettextize} |
b79a4b4f | 55 | %{__libtoolize} |
02375880 | 56 | %{__intltoolize} |
fafb9936 | 57 | %{__aclocal} -I m4 |
3811238a | 58 | %{__autoconf} |
b79a4b4f | 59 | %{__automake} |
02375880 | 60 | %configure \ |
61 | --disable-scrollkeeper | |
b9429b84 | 62 | %{__make} |
62e35630 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
d8e36939 | 66 | |
b9429b84 | 67 | %{__make} install \ |
68 | DESTDIR=$RPM_BUILD_ROOT | |
7e679cf6 | 69 | |
b2639152 | 70 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a} |
d8e36939 | 71 | |
6a39b029 | 72 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
73 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
8964b585 | 74 | |
02375880 | 75 | %find_lang %{name} --with-gnome --all-name |
62e35630 | 76 | |
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
b79a4b4f | 80 | %post -p /sbin/ldconfig |
81 | %postun -p /sbin/ldconfig | |
82 | ||
e087376d | 83 | %files -f %{name}.lang |
d8e36939 | 84 | %defattr(644,root,root,755) |
f302a9a8 | 85 | %doc AUTHORS ChangeLog NEWS README TODO |
0b0afac1 | 86 | %attr(755,root,root) %{_bindir}/gcmd-block |
87 | %attr(755,root,root) %{_bindir}/gnome-commander | |
d954e565 | 88 | %dir %{_libdir}/%{name} |
89 | %dir %{_libdir}/%{name}/plugins | |
02375880 | 90 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* |
b576ec3e | 91 | %{_libdir}/%{name}/plugins/*.py* |
b79a4b4f | 92 | %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so* |
93 | %{_pixmapsdir}/* | |
d954e565 | 94 | %{_desktopdir}/gnome-commander.desktop |
8964b585 | 95 | %{_mandir}/man1/gnome-commander.1* |
02375880 | 96 | %{_omf_dest_dir}/%{name} |