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