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