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