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