]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
- up to 2.8.5
[packages/gnome-commander.git] / gnome-commander.spec
1 Summary:        A GNOME filemanager similar to the Midnight Commander
2 Summary(pl.UTF-8):      Zarządca plików dla środowiska GNOME w stylu Midnight Commandera
3 Name:           gnome-commander
4 Version:        1.2.8.5
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f5f4365ef6c43141d2b1ec45e3530595
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-as-needed.patch
12 URL:            http://www.nongnu.org/gcmd/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-doc-utils
18 BuildRequires:  gtk+2-devel >= 2:2.6.0
19 BuildRequires:  id3lib-devel
20 BuildRequires:  intltool >= 0.31
21 BuildRequires:  libgnomeui-devel >= 2.0.0
22 BuildRequires:  libiptcdata-devel
23 BuildRequires:  libtool
24 BuildRequires:  libxslt-progs
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpm-perlprov
27 # sr@Latn vs. sr@latin
28 Conflicts:      glibc-misc < 6:2.7
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 GNOME Commander is a filemanager that just like the classical Midnight
33 commander lets you do everything with the keyboard. It can perform all
34 standard fileoperations and some extra features like FTP support.
35
36 %description -l pl.UTF-8
37 GNOME Commander to zarządca plików, który podobnie do klasycznego
38 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
39 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
40 kilka dodatkowych jak np. klienta FTP.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46
47 %build
48 %{__glib_gettextize}
49 %{__libtoolize}
50 %{__intltoolize}
51 %{__aclocal} -I m4
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --disable-scrollkeeper
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a}
65
66 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
67         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
68
69 %find_lang %{name} --with-gnome --all-name
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README TODO
80 %attr(755,root,root) %{_bindir}/*
81 %dir %{_libdir}/%{name}
82 %dir %{_libdir}/%{name}/plugins
83 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
84 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
85 %{_pixmapsdir}/*
86 %{_desktopdir}/gnome-commander.desktop
87 %{_mandir}/man1/gnome-commander.1*
88 %{_omf_dest_dir}/%{name}
This page took 0.046343 seconds and 4 git commands to generate.