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