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