]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
- added lib64.patch, fixed build on amd64, rel. 0.3
[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.3
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 Patch3:         %{name}-lib64.patch
14 URL:            http://www.nongnu.org/gcmd/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  glib2-devel
18 BuildRequires:  gnome-vfs2-devel
19 BuildRequires:  gtk+2-devel
20 BuildRequires:  intltool
21 BuildRequires:  libgnome-devel
22 BuildRequires:  libgnomeui-devel
23 BuildRequires:  libtool
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 GNOME Commander is a filemanager that just like the classical Midnight
28 commander lets you do everything with the keyboard. It can perform all
29 standard fileoperations and some extra features like FTP support.
30
31 %description -l pl
32 GNOME Commander to zarz±dca plików, który podobnie do klasycznego
33 Midnight Commandera umo¿liwia pe³n± obs³ugê przy pomocy klawiatury.
34 Zapewnia wykonanie wszystkich typowych operacji na plikach, a tak¿e
35 kilka dodatkowych jak np. klienta FTP.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %if "%{_lib}" == "lib64"
43 %patch3 -p1
44 %endif
45
46 %build
47 glib-gettextize --copy --force
48 %{__libtoolize}
49 intltoolize --copy --force
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -f $RPM_BUILD_ROOT%{_libdir}/{%{name}/plugins/,}/*.{la,a}
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog NEWS README TODO
75 %attr(755,root,root) %{_bindir}/*
76 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
77 %dir %{_libdir}/%{name}
78 %dir %{_libdir}/%{name}/plugins
79 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
80 %{_pixmapsdir}/*
81 %{_desktopdir}/gnome-commander.desktop
This page took 0.042603 seconds and 4 git commands to generate.