]> git.pld-linux.org Git - packages/gnome-commander.git/blame - gnome-commander.spec
- release 4 (rebuild with poppler-0.22.3)
[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
f8c673aa 4Version: 1.2.8.15
c1dafc81 5Release: 4
4a97838d 6License: GPL v2+
2d078f96 7Group: X11/Applications
f8c673aa
ŁK
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/%{name}-%{version}.tar.xz
9# Source0-md5: da2f36851f96bc9b2ea7ea363875efed
82916b7a 10Patch0: %{name}-flags.patch
f8c673aa
ŁK
11Patch1: %{name}-1.2.8.15-poppler020.patch
12Patch2: %{name}-gcc47.patch
f19682df 13Patch3: %{name}-format-security.patch
d954e565 14URL: http://www.nongnu.org/gcmd/
defd17b7
JB
15BuildRequires: autoconf
16BuildRequires: automake
dd3e5acf 17BuildRequires: chmlib-devel
46db4e9d 18BuildRequires: docbook-dtd412-xml
dd3e5acf 19BuildRequires: exiv2-devel
06916c15 20BuildRequires: gettext-devel
02375880 21BuildRequires: gnome-doc-utils
22BuildRequires: gtk+2-devel >= 2:2.6.0
23BuildRequires: intltool >= 0.31
3ae5ccb1 24BuildRequires: libgnome-keyring-devel
02375880 25BuildRequires: libgnomeui-devel >= 2.0.0
2c068fa3 26BuildRequires: libtool
9b3822cd 27BuildRequires: libxslt-progs
06916c15 28BuildRequires: pkgconfig
dd3e5acf 29BuildRequires: poppler-devel
30BuildRequires: python-devel
31BuildRequires: taglib-devel
f8c673aa
ŁK
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
6a39b029 34# sr@Latn vs. sr@latin
35Conflicts: glibc-misc < 6:2.7
d8e36939 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62e35630 37
dd3e5acf 38# symbol main_win_widget is provided by gnome-commander binary
8cc6124c
JR
39%define skip_post_check_so libgcmd.so.*
40
62e35630 41%description
3d0333ff 42GNOME Commander is a filemanager that just like the classical Midnight
b9429b84 43commander lets you do everything with the keyboard. It can perform all
89f3bd7c 44standard fileoperations and some extra features like FTP support.
d8e36939 45
19ade598
JR
46%description -l pl.UTF-8
47GNOME Commander to zarządca plików, który podobnie do klasycznego
48Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
49Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
89f3bd7c 50kilka dodatkowych jak np. klienta FTP.
b9429b84 51
62e35630 52%prep
d0e60dbf 53%setup -q
02375880 54%patch0 -p1
b576ec3e 55%patch1 -p1
f8c673aa 56%patch2 -p1
f19682df 57%patch3 -p1
62e35630 58
59%build
02375880 60%{__glib_gettextize}
b79a4b4f 61%{__libtoolize}
02375880 62%{__intltoolize}
fafb9936 63%{__aclocal} -I m4
3811238a 64%{__autoconf}
b79a4b4f 65%{__automake}
02375880 66%configure \
67 --disable-scrollkeeper
b9429b84 68%{__make}
62e35630 69
70%install
71rm -rf $RPM_BUILD_ROOT
d8e36939 72
b9429b84 73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
7e679cf6 75
b2639152 76%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a}
d8e36939 77
f8c673aa
ŁK
78[ -d $RPM_BUILD_ROOT%{_localedir}/sr@latin ] || \
79 mv -f $RPM_BUILD_ROOT%{_localedir}/sr@{Latn,latin}
8964b585 80
02375880 81%find_lang %{name} --with-gnome --all-name
62e35630 82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
b79a4b4f 86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
e087376d 89%files -f %{name}.lang
d8e36939 90%defattr(644,root,root,755)
f302a9a8 91%doc AUTHORS ChangeLog NEWS README TODO
0b0afac1 92%attr(755,root,root) %{_bindir}/gcmd-block
93%attr(755,root,root) %{_bindir}/gnome-commander
d954e565 94%dir %{_libdir}/%{name}
95%dir %{_libdir}/%{name}/plugins
02375880 96%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
b576ec3e 97%{_libdir}/%{name}/plugins/*.py*
b79a4b4f 98%attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
99%{_pixmapsdir}/*
d954e565 100%{_desktopdir}/gnome-commander.desktop
8964b585 101%{_mandir}/man1/gnome-commander.1*
02375880 102%{_omf_dest_dir}/%{name}
This page took 0.096182 seconds and 4 git commands to generate.