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