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