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