]>
Commit | Line | Data |
---|---|---|
3d0333ff | 1 | Summary: A GNOME filemanager similar to the Midnight Commander |
d2de3fe5 | 2 | Summary(pl.UTF-8): Zarządca plików dla środowiska GNOME w stylu Midnight Commandera |
d8e36939 | 3 | Name: gnome-commander |
ac7a5712 JB |
4 | Version: 1.16.2 |
5 | Release: 1 | |
4a97838d | 6 | License: GPL v2+ |
2d078f96 | 7 | Group: X11/Applications |
edd98f83 | 8 | Source0: https://download.gnome.org/sources/gnome-commander/1.16/%{name}-%{version}.tar.xz |
ac7a5712 | 9 | # Source0-md5: 35a4a94cc915928a52fafcb5b9565bb4 |
a074a153 | 10 | Patch1: %{name}-gsf.patch |
58d32a9b | 11 | URL: https://gcmd.github.io/ |
46db4e9d | 12 | BuildRequires: docbook-dtd412-xml |
03fe4b70 | 13 | BuildRequires: exiv2-devel >= 0.14 |
edd98f83 | 14 | BuildRequires: flex >= 2.6.0 |
58d32a9b | 15 | BuildRequires: gettext-tools >= 0.19.7 |
a074a153 | 16 | BuildRequires: glib2-devel >= 1:2.70.0 |
4602e6c4 | 17 | BuildRequires: gtk+2-devel >= 2:2.24.0 |
8b6db008 | 18 | BuildRequires: libgsf-devel >= 1.14.26 |
58d32a9b | 19 | BuildRequires: libstdc++-devel >= 6:4.7 |
d5b5594e | 20 | BuildRequires: libunique-devel >= 0.9.3 |
edd98f83 JB |
21 | BuildRequires: meson >= 0.59 |
22 | BuildRequires: ninja >= 1.5 | |
06916c15 | 23 | BuildRequires: pkgconfig |
edd98f83 | 24 | BuildRequires: poppler-glib-devel >= 0.18 |
8b6db008 | 25 | BuildRequires: rpmbuild(macros) >= 1.592 |
03fe4b70 | 26 | BuildRequires: taglib-devel >= 1.4 |
f8c673aa ŁK |
27 | BuildRequires: tar >= 1:1.22 |
28 | BuildRequires: xz | |
58d32a9b | 29 | BuildRequires: yelp-tools |
8b6db008 | 30 | Requires(post,postun): /sbin/ldconfig |
a074a153 | 31 | Requires(post,postun): glib2 >= 1:2.70.0 |
f8138c3f | 32 | Requires: exiv2-libs >= 0.14 |
a074a153 | 33 | Requires: glib2 >= 1:2.70.0 |
4602e6c4 | 34 | Requires: gtk+2 >= 2:2.24.0 |
d5b5594e JB |
35 | Requires: libgnome-keyring >= 2.22 |
36 | Requires: libgnomeui >= 2.4.0 | |
8b6db008 | 37 | Requires: libgsf >= 1.14.26 |
d5b5594e JB |
38 | Requires: libunique >= 0.9.3 |
39 | Requires: poppler >= 0.18 | |
03fe4b70 | 40 | Requires: taglib >= 1.4 |
d8e36939 | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62e35630 | 42 | |
dd3e5acf | 43 | # symbol main_win_widget is provided by gnome-commander binary |
8cc6124c JR |
44 | %define skip_post_check_so libgcmd.so.* |
45 | ||
62e35630 | 46 | %description |
3d0333ff | 47 | GNOME Commander is a filemanager that just like the classical Midnight |
b9429b84 | 48 | commander lets you do everything with the keyboard. It can perform all |
89f3bd7c | 49 | standard fileoperations and some extra features like FTP support. |
d8e36939 | 50 | |
19ade598 JR |
51 | %description -l pl.UTF-8 |
52 | GNOME Commander to zarządca plików, który podobnie do klasycznego | |
53 | Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury. | |
54 | Zapewnia wykonanie wszystkich typowych operacji na plikach, a także | |
89f3bd7c | 55 | kilka dodatkowych jak np. klienta FTP. |
b9429b84 | 56 | |
62e35630 | 57 | %prep |
d0e60dbf | 58 | %setup -q |
cb2e4df5 | 59 | %patch1 -p1 |
62e35630 | 60 | |
61 | %build | |
edd98f83 JB |
62 | %meson build |
63 | ||
64 | %ninja_build -C build | |
62e35630 | 65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
d8e36939 | 68 | |
edd98f83 | 69 | %ninja_install -C build |
7e679cf6 | 70 | |
4602e6c4 | 71 | %find_lang %{name} --with-gnome |
62e35630 | 72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
8b6db008 | 76 | %post |
8b6db008 JB |
77 | %glib_compile_schemas |
78 | ||
79 | %postun | |
8b6db008 | 80 | %glib_compile_schemas |
b79a4b4f | 81 | |
e087376d | 82 | %files -f %{name}.lang |
d8e36939 | 83 | %defattr(644,root,root,755) |
edd98f83 | 84 | %doc AUTHORS BUGS MAINTAINERS NEWS README.md TODO |
0b0afac1 | 85 | %attr(755,root,root) %{_bindir}/gcmd-block |
86 | %attr(755,root,root) %{_bindir}/gnome-commander | |
d954e565 | 87 | %dir %{_libdir}/%{name} |
88 | %dir %{_libdir}/%{name}/plugins | |
edd98f83 JB |
89 | %attr(755,root,root) %{_libdir}/%{name}/plugins/libfilerollerplugin.so |
90 | %{_libdir}/%{name}/plugins/file-roller*.xpm | |
91 | %attr(755,root,root) %{_libdir}/%{name}/plugins/libtestplugin.so | |
92 | %{_libdir}/%{name}/plugins/test-plugin.xpm | |
93 | %{_datadir}/%{name} | |
8b6db008 JB |
94 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml |
95 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml | |
a074a153 JB |
96 | %{_datadir}/metainfo/org.gnome.gnome-commander.appdata.xml |
97 | %{_desktopdir}/org.gnome.gnome-commander.desktop | |
edd98f83 JB |
98 | %{_iconsdir}/hicolor/scalable/apps/gnome-commander.svg |
99 | %{_iconsdir}/hicolor/scalable/apps/gnome-commander-symbolic.svg | |
58d32a9b | 100 | %{_pixmapsdir}/gnome-commander |
8964b585 | 101 | %{_mandir}/man1/gnome-commander.1* |