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