]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
16483af1b03d70cbb5f73033d471dd94ef2a0ec1
[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.10.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.10/%{name}-%{version}.tar.xz
9 # Source0-md5:  e1ce66c5e64972943fcb51a3a9a74731
10 Patch0:         %{name}-flags.patch
11 Patch1:         %{name}-am.patch
12 Patch2:         %{name}-gsf.patch
13 URL:            https://gcmd.github.io/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  chmlib-devel
17 BuildRequires:  docbook-dtd412-xml
18 BuildRequires:  exiv2-devel >= 0.14
19 BuildRequires:  flex
20 BuildRequires:  gettext-tools >= 0.19.7
21 BuildRequires:  glib2-devel >= 1:2.44.0
22 BuildRequires:  gnome-vfs2-devel >= 2.0.0
23 BuildRequires:  gtk+2-devel >= 2:2.18.0
24 BuildRequires:  libgnome-devel >= 2.0.0
25 BuildRequires:  libgnome-keyring-devel >= 2.22
26 BuildRequires:  libgnomeui-devel >= 2.4.0
27 BuildRequires:  libgsf-devel >= 1.14.26
28 BuildRequires:  libstdc++-devel >= 6:4.7
29 BuildRequires:  libtool >= 2:2
30 BuildRequires:  libunique-devel >= 0.9.3
31 BuildRequires:  libxslt-progs
32 BuildRequires:  pkgconfig
33 BuildRequires:  poppler-devel >= 0.18
34 BuildRequires:  rpmbuild(macros) >= 1.592
35 BuildRequires:  taglib-devel >= 1.4
36 BuildRequires:  tar >= 1:1.22
37 BuildRequires:  xz
38 BuildRequires:  yelp-tools
39 Requires(post,postun):  /sbin/ldconfig
40 Requires(post,postun):  glib2 >= 1:2.44.0
41 Requires:       exiv2-libs >= 0.14
42 Requires:       glib2 >= 1:2.44.0
43 Requires:       gtk+2 >= 2:2.18.0
44 Requires:       libgnome-keyring >= 2.22
45 Requires:       libgnomeui >= 2.4.0
46 Requires:       libgsf >= 1.14.26
47 Requires:       libunique >= 0.9.3
48 Requires:       poppler >= 0.18
49 Requires:       taglib >= 1.4
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 # symbol main_win_widget is provided by gnome-commander binary
53 %define         skip_post_check_so      libgcmd.so.*
54
55 %description
56 GNOME Commander is a filemanager that just like the classical Midnight
57 commander lets you do everything with the keyboard. It can perform all
58 standard fileoperations and some extra features like FTP support.
59
60 %description -l pl.UTF-8
61 GNOME Commander to zarządca plików, który podobnie do klasycznego
62 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
63 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
64 kilka dodatkowych jak np. klienta FTP.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69 %patch1 -p0
70 %patch2 -p1
71
72 %build
73 %{__libtoolize}
74 %{__aclocal} -I m4
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         --disable-scrollkeeper \
80         --disable-static
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
90
91 %find_lang %{name} --with-gnome --with-omf
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post
97 /sbin/ldconfig
98 %glib_compile_schemas
99
100 %postun
101 /sbin/ldconfig
102 %glib_compile_schemas
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS BUGS ChangeLog NEWS README TODO
107 %attr(755,root,root) %{_bindir}/gcmd-block
108 %attr(755,root,root) %{_bindir}/gnome-commander
109 %dir %{_libdir}/%{name}
110 %dir %{_libdir}/%{name}/plugins
111 %attr(755,root,root) %{_libdir}/%{name}/libgcmd.so*
112 %attr(755,root,root) %{_libdir}/%{name}/plugins/libfileroller.so
113 %{_datadir}/appdata/gnome-commander.appdata.xml
114 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml
115 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml
116 %{_datadir}/gnome-commander
117 %{_desktopdir}/gnome-commander.desktop
118 %{_pixmapsdir}/gnome-commander.svg
119 %{_pixmapsdir}/gnome-commander
120 %{_mandir}/man1/gnome-commander.1*
This page took 0.314405 seconds and 3 git commands to generate.