]>
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 |
1f000d30 | 4 | Version: 1.2.7 |
5 | Release: 1 | |
02c6cc19 | 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 |
1f000d30 | 9 | # Source0-md5: 7b0d1d50fda548be6600696bc752b6de |
31b8b845 | 10 | Patch0: %{name}-desktop.patch |
c156c565 | 11 | Patch1: %{name}-as-needed.patch |
0fe17255 | 12 | Patch2: %{name}-configure.in.patch |
d954e565 | 13 | URL: http://www.nongnu.org/gcmd/ |
defd17b7 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
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 |
21 | BuildRequires: libgnomeui-devel >= 2.0.0 | |
7b84b028 | 22 | BuildRequires: libiptcdata-devel |
2c068fa3 | 23 | BuildRequires: libtool |
9b3822cd | 24 | BuildRequires: libxslt-progs |
06916c15 | 25 | BuildRequires: pkgconfig |
e4283326 | 26 | BuildRequires: rpm-perlprov |
6a39b029 | 27 | # sr@Latn vs. sr@latin |
28 | Conflicts: glibc-misc < 6:2.7 | |
d8e36939 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62e35630 | 30 | |
62e35630 | 31 | %description |
3d0333ff | 32 | GNOME Commander is a filemanager that just like the classical Midnight |
b9429b84 | 33 | commander lets you do everything with the keyboard. It can perform all |
89f3bd7c | 34 | standard fileoperations and some extra features like FTP support. |
d8e36939 | 35 | |
19ade598 JR |
36 | %description -l pl.UTF-8 |
37 | GNOME Commander to zarządca plików, który podobnie do klasycznego | |
38 | Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury. | |
39 | Zapewnia wykonanie wszystkich typowych operacji na plikach, a także | |
89f3bd7c | 40 | kilka dodatkowych jak np. klienta FTP. |
b9429b84 | 41 | |
62e35630 | 42 | %prep |
d0e60dbf | 43 | %setup -q |
02375880 | 44 | %patch0 -p1 |
c156c565 | 45 | %patch1 -p1 |
0fe17255 | 46 | %patch2 -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} | |
02375880 | 69 | %find_lang %{name} --with-gnome --all-name |
62e35630 | 70 | |
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
b79a4b4f | 74 | %post -p /sbin/ldconfig |
75 | %postun -p /sbin/ldconfig | |
76 | ||
e087376d | 77 | %files -f %{name}.lang |
d8e36939 | 78 | %defattr(644,root,root,755) |
f302a9a8 | 79 | %doc AUTHORS ChangeLog NEWS README TODO |
b9429b84 | 80 | %attr(755,root,root) %{_bindir}/* |
d954e565 | 81 | %dir %{_libdir}/%{name} |
82 | %dir %{_libdir}/%{name}/plugins | |
02375880 | 83 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* |
b79a4b4f | 84 | %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so* |
85 | %{_pixmapsdir}/* | |
d954e565 | 86 | %{_desktopdir}/gnome-commander.desktop |
02375880 | 87 | %{_mandir}/man1/* |
88 | %{_omf_dest_dir}/%{name} |