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