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