]> git.pld-linux.org Git - packages/gnome-commander.git/blob - gnome-commander.spec
- updated to 1.6.4
[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.6.4
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.6/%{name}-%{version}.tar.xz
9 # Source0-md5:  753c8ae940229085871aec17cec1dae5
10 Patch0:         %{name}-flags.patch
11 Patch1:         %{name}-am.patch
12 Patch2:         %{name}-gsf.patch
13 URL:            http://www.nongnu.org/gcmd/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  chmlib-devel
17 BuildRequires:  docbook-dtd412-xml
18 BuildRequires:  exiv2-devel >= 0.14
19 BuildRequires:  flex
20 BuildRequires:  gettext-tools
21 BuildRequires:  glib2-devel >= 1:2.44.0
22 BuildRequires:  gnome-doc-utils
23 BuildRequires:  gnome-vfs2-devel >= 2.0.0
24 BuildRequires:  gtk+2-devel >= 2:2.8.0
25 BuildRequires:  intltool >= 0.50.1
26 BuildRequires:  libgnome-devel >= 2.0.0
27 BuildRequires:  libgnome-keyring-devel >= 2.22
28 BuildRequires:  libgnomeui-devel >= 2.4.0
29 BuildRequires:  libgsf-devel >= 1.14.26
30 BuildRequires:  libstdc++-devel
31 BuildRequires:  libtool
32 BuildRequires:  libunique-devel >= 0.9.3
33 BuildRequires:  libxslt-progs
34 BuildRequires:  pkgconfig
35 BuildRequires:  poppler-devel >= 0.18
36 BuildRequires:  python-devel >= 1:2.5
37 BuildRequires:  rpmbuild(macros) >= 1.592
38 BuildRequires:  taglib-devel >= 1.4
39 BuildRequires:  tar >= 1:1.22
40 BuildRequires:  xz
41 Requires(post,postun):  /sbin/ldconfig
42 Requires(post,postun):  glib2 >= 1:2.44.0
43 Requires:       exiv2-libs >= 0.14
44 Requires:       glib2 >= 1:2.44.0
45 Requires:       gtk+2 >= 2:2.8.0
46 Requires:       libgnome-keyring >= 2.22
47 Requires:       libgnomeui >= 2.4.0
48 Requires:       libgsf >= 1.14.26
49 Requires:       libunique >= 0.9.3
50 Requires:       poppler >= 0.18
51 Requires:       taglib >= 1.4
52 # sr@Latn vs. sr@latin
53 Conflicts:      glibc-misc < 6:2.7
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56 # symbol main_win_widget is provided by gnome-commander binary
57 %define         skip_post_check_so      libgcmd.so.*
58
59 %description
60 GNOME Commander is a filemanager that just like the classical Midnight
61 commander lets you do everything with the keyboard. It can perform all
62 standard fileoperations and some extra features like FTP support.
63
64 %description -l pl.UTF-8
65 GNOME Commander to zarządca plików, który podobnie do klasycznego
66 Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
67 Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
68 kilka dodatkowych jak np. klienta FTP.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p0
74 %patch2 -p1
75
76 %build
77 %{__glib_gettextize}
78 %{__libtoolize}
79 %{__intltoolize}
80 %{__aclocal} -I m4
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure \
85         --disable-scrollkeeper \
86         --disable-static
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
96
97 %find_lang %{name} --with-gnome --with-omf
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post
103 /sbin/ldconfig
104 %glib_compile_schemas
105
106 %postun
107 /sbin/ldconfig
108 %glib_compile_schemas
109
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc AUTHORS BUGS ChangeLog NEWS README TODO
113 %attr(755,root,root) %{_bindir}/gcmd-block
114 %attr(755,root,root) %{_bindir}/gnome-commander
115 %dir %{_libdir}/%{name}
116 %dir %{_libdir}/%{name}/plugins
117 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
118 %{_libdir}/%{name}/plugins/*.py*
119 %attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
120 %{_datadir}/appdata/gnome-commander.appdata.xml
121 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.enums.xml
122 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-commander.gschema.xml
123 %{_datadir}/gnome-commander
124 %{_pixmapsdir}/gnome-commander.png
125 %{_pixmapsdir}/gnome-commander
126 %{_desktopdir}/gnome-commander.desktop
127 %{_mandir}/man1/gnome-commander.1*
This page took 0.033677 seconds and 4 git commands to generate.