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