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