]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
- 1.2.8.6
[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.6
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:  0ff2cd358e1dc67ddea6aa9314b84e5c
10 Patch0:         %{name}-as-needed.patch
11 Patch1:         %{name}-flags.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:  libgnome-keyring-devel
22 BuildRequires:  libgnomeui-devel >= 2.0.0
23 BuildRequires:  libiptcdata-devel
24 BuildRequires:  libtool
25 BuildRequires:  libxslt-progs
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpm-perlprov
28 # sr@Latn vs. sr@latin
29 Conflicts:      glibc-misc < 6:2.7
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 GNOME Commander is a filemanager that just like the classical Midnight
34 commander lets you do everything with the keyboard. It can perform all
35 standard fileoperations and some extra features like FTP support.
36
37 %description -l pl.UTF-8
38 GNOME Commander to zarządca plików, który podobnie do klasycznego
39 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
40 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
41 kilka dodatkowych jak np. klienta FTP.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 %{__glib_gettextize}
50 %{__libtoolize}
51 %{__intltoolize}
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__automake}
55 %configure \
56         --disable-scrollkeeper
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}/*.{la,a}
66
67 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
68         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
69
70 %find_lang %{name} --with-gnome --all-name
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README TODO
81 %attr(755,root,root) %{_bindir}/*
82 %dir %{_libdir}/%{name}
83 %dir %{_libdir}/%{name}/plugins
84 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
85 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
86 %{_pixmapsdir}/*
87 %{_desktopdir}/gnome-commander.desktop
88 %{_mandir}/man1/gnome-commander.1*
89 %{_omf_dest_dir}/%{name}
This page took 0.080859 seconds and 4 git commands to generate.