]> git.pld-linux.org Git - packages/gnome-commander.git/blame - gnome-commander.spec
- updated to 1.14.2
[packages/gnome-commander.git] / gnome-commander.spec
CommitLineData
3d0333ff 1Summary: A GNOME filemanager similar to the Midnight Commander
d2de3fe5 2Summary(pl.UTF-8): Zarządca plików dla środowiska GNOME w stylu Midnight Commandera
d8e36939 3Name: gnome-commander
a424c1ba 4Version: 1.14.2
58d32a9b 5Release: 1
4a97838d 6License: GPL v2+
2d078f96 7Group: X11/Applications
a074a153 8Source0: https://download.gnome.org/sources/gnome-commander/1.14/%{name}-%{version}.tar.xz
a424c1ba 9# Source0-md5: 9fcd852ddb04aef8d9664690f1f329f2
82916b7a 10Patch0: %{name}-flags.patch
a074a153 11Patch1: %{name}-gsf.patch
58d32a9b 12URL: https://gcmd.github.io/
d5b5594e 13BuildRequires: autoconf >= 2.50
defd17b7 14BuildRequires: automake
dd3e5acf 15BuildRequires: chmlib-devel
46db4e9d 16BuildRequires: docbook-dtd412-xml
03fe4b70 17BuildRequires: exiv2-devel >= 0.14
a074a153 18BuildRequires: flex >= 2.0.0
58d32a9b 19BuildRequires: gettext-tools >= 0.19.7
a074a153 20BuildRequires: glib2-devel >= 1:2.70.0
03fe4b70 21BuildRequires: gnome-vfs2-devel >= 2.0.0
4602e6c4 22BuildRequires: gtk+2-devel >= 2:2.24.0
8b6db008 23BuildRequires: libgsf-devel >= 1.14.26
58d32a9b
JB
24BuildRequires: libstdc++-devel >= 6:4.7
25BuildRequires: libtool >= 2:2
d5b5594e 26BuildRequires: libunique-devel >= 0.9.3
9b3822cd 27BuildRequires: libxslt-progs
06916c15 28BuildRequires: pkgconfig
d5b5594e 29BuildRequires: poppler-devel >= 0.18
8b6db008 30BuildRequires: rpmbuild(macros) >= 1.592
03fe4b70 31BuildRequires: taglib-devel >= 1.4
f8c673aa
ŁK
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
58d32a9b 34BuildRequires: yelp-tools
8b6db008 35Requires(post,postun): /sbin/ldconfig
a074a153 36Requires(post,postun): glib2 >= 1:2.70.0
f8138c3f 37Requires: exiv2-libs >= 0.14
a074a153 38Requires: glib2 >= 1:2.70.0
4602e6c4 39Requires: gtk+2 >= 2:2.24.0
d5b5594e
JB
40Requires: libgnome-keyring >= 2.22
41Requires: libgnomeui >= 2.4.0
8b6db008 42Requires: libgsf >= 1.14.26
d5b5594e
JB
43Requires: libunique >= 0.9.3
44Requires: poppler >= 0.18
03fe4b70 45Requires: taglib >= 1.4
d8e36939 46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62e35630 47
dd3e5acf 48# symbol main_win_widget is provided by gnome-commander binary
8cc6124c
JR
49%define skip_post_check_so libgcmd.so.*
50
62e35630 51%description
3d0333ff 52GNOME Commander is a filemanager that just like the classical Midnight
b9429b84 53commander lets you do everything with the keyboard. It can perform all
89f3bd7c 54standard fileoperations and some extra features like FTP support.
d8e36939 55
19ade598
JR
56%description -l pl.UTF-8
57GNOME Commander to zarządca plików, który podobnie do klasycznego
58Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
59Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
89f3bd7c 60kilka dodatkowych jak np. klienta FTP.
b9429b84 61
62e35630 62%prep
d0e60dbf 63%setup -q
02375880 64%patch0 -p1
cb2e4df5 65%patch1 -p1
62e35630 66
67%build
b79a4b4f 68%{__libtoolize}
fafb9936 69%{__aclocal} -I m4
3811238a 70%{__autoconf}
03fe4b70 71%{__autoheader}
b79a4b4f 72%{__automake}
02375880 73%configure \
03fe4b70 74 --disable-static
b9429b84 75%{__make}
62e35630 76
77%install
78rm -rf $RPM_BUILD_ROOT
d8e36939 79
b9429b84 80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
7e679cf6 82
03fe4b70 83%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
d8e36939 84
4602e6c4 85%find_lang %{name} --with-gnome
62e35630 86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
8b6db008 90%post
8b6db008
JB
91%glib_compile_schemas
92
93%postun
8b6db008 94%glib_compile_schemas
b79a4b4f 95
e087376d 96%files -f %{name}.lang
d8e36939 97%defattr(644,root,root,755)
03fe4b70 98%doc AUTHORS BUGS ChangeLog NEWS README TODO
0b0afac1 99%attr(755,root,root) %{_bindir}/gcmd-block
100%attr(755,root,root) %{_bindir}/gnome-commander
d954e565 101%dir %{_libdir}/%{name}
102%dir %{_libdir}/%{name}/plugins
58d32a9b
JB
103%attr(755,root,root) %{_libdir}/%{name}/libgcmd.so*
104%attr(755,root,root) %{_libdir}/%{name}/plugins/libfileroller.so
8b6db008
JB
105%{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml
106%{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml
a074a153
JB
107%{_datadir}/metainfo/org.gnome.gnome-commander.appdata.xml
108%{_desktopdir}/org.gnome.gnome-commander.desktop
58d32a9b
JB
109%{_pixmapsdir}/gnome-commander.svg
110%{_pixmapsdir}/gnome-commander
8964b585 111%{_mandir}/man1/gnome-commander.1*
This page took 0.19368 seconds and 4 git commands to generate.