]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
- proper license
[packages/gnome-commander.git] / gnome-commander.spec
1 Summary:        A GNOME filemanager similar to the Midnight Commander
2 Summary(pl):    Zarz±dca plików dla ¶rodowiska GNOME w stylu Midnight Commandera
3 Name:           gnome-commander
4 Version:        1.1.6
5 Release:        0.2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.1/%{name}-%{version}.tar.bz2
9 # Source0-md5:  972e976ea01663f5b60e8a16721a5348
10 Patch0:         %{name}-clist.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         %{name}-libdir.patch
13 URL:            http://www.nongnu.org/gcmd/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  glib2-devel
17 BuildRequires:  gnome-vfs2-devel
18 BuildRequires:  gtk+2-devel
19 BuildRequires:  intltool
20 BuildRequires:  libgnome-devel
21 BuildRequires:  libgnomeui-devel
22 BuildRequires:  libtool
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 GNOME Commander is a filemanager that just like the classical Midnight
27 commander lets you do everything with the keyboard. It can perform all
28 standard fileoperations and some extra features like FTP support.
29
30 %description -l pl
31 GNOME Commander to zarz±dca plików, który podobnie do klasycznego
32 Midnight Commandera umo¿liwia pe³n± obs³ugê przy pomocy klawiatury.
33 Zapewnia wykonanie wszystkich typowych operacji na plikach, a tak¿e
34 kilka dodatkowych jak np. klienta FTP.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41
42 %build
43 glib-gettextize --copy --force
44 %{__libtoolize}
45 intltoolize --copy --force
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 rm -f $RPM_BUILD_ROOT%{_libdir}/{%{name}/plugins/,}/*.{la,a}
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README TODO
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
73 %dir %{_libdir}/%{name}
74 %dir %{_libdir}/%{name}/plugins
75 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
76 %{_pixmapsdir}/*
77 %{_desktopdir}/gnome-commander.desktop
This page took 0.065056 seconds and 4 git commands to generate.