]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
- up to 1.2.8.4
[packages/gnome-commander.git] / gnome-commander.spec
1 Summary:        A GNOME filemanager similar to the Midnight Commander
2 Summary(pl.UTF-8):      Zarządca plików dla środowiska GNOME w stylu Midnight Commandera
3 Name:           gnome-commander
4 Version:        1.2.8.4
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  cca72a8c2f13bf47d5aaf3c2aad53eb2
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-as-needed.patch
12 URL:            http://www.nongnu.org/gcmd/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  gnome-doc-utils
17 BuildRequires:  gtk+2-devel >= 2:2.6.0
18 BuildRequires:  id3lib-devel
19 BuildRequires:  intltool >= 0.31
20 BuildRequires:  libgnomeui-devel >= 2.0.0
21 BuildRequires:  libiptcdata-devel
22 BuildRequires:  libtool
23 BuildRequires:  libxslt-progs
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpm-perlprov
26 # sr@Latn vs. sr@latin
27 Conflicts:      glibc-misc < 6:2.7
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 GNOME Commander is a filemanager that just like the classical Midnight
32 commander lets you do everything with the keyboard. It can perform all
33 standard fileoperations and some extra features like FTP support.
34
35 %description -l pl.UTF-8
36 GNOME Commander to zarządca plików, który podobnie do klasycznego
37 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
38 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
39 kilka dodatkowych jak np. klienta FTP.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
47 %{__glib_gettextize}
48 %{__libtoolize}
49 %{__intltoolize}
50 %{__aclocal} -I m4
51 %{__autoconf}
52 %{__automake}
53 %configure \
54         --disable-scrollkeeper
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a}
64
65 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
66         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
67 %find_lang %{name} --with-gnome --all-name
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README TODO
78 %attr(755,root,root) %{_bindir}/*
79 %dir %{_libdir}/%{name}
80 %dir %{_libdir}/%{name}/plugins
81 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
82 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
83 %{_pixmapsdir}/*
84 %{_desktopdir}/gnome-commander.desktop
85 %{_mandir}/man1/*
86 %{_omf_dest_dir}/%{name}
This page took 0.146587 seconds and 4 git commands to generate.