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