]> git.pld-linux.org Git - packages/gnome-commander.git/blame - gnome-commander.spec
- just remove sr@Latn, it's outdated version of sr@latin; release 3
[packages/gnome-commander.git] / gnome-commander.spec
CommitLineData
3d0333ff 1Summary: A GNOME filemanager similar to the Midnight Commander
d2de3fe5 2Summary(pl.UTF-8): Zarządca plików dla środowiska GNOME w stylu Midnight Commandera
d8e36939 3Name: gnome-commander
d5b5594e 4Version: 1.4.6
b22481d4 5Release: 3
4a97838d 6License: GPL v2+
2d078f96 7Group: X11/Applications
d5b5594e
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.4/%{name}-%{version}.tar.xz
9# Source0-md5: 9029f0c0c423ff40b82b6e13ad8e95aa
82916b7a 10Patch0: %{name}-flags.patch
03fe4b70
JB
11Patch1: %{name}-am.patch
12Patch2: %{name}-gsf.patch
d954e565 13URL: http://www.nongnu.org/gcmd/
d5b5594e 14BuildRequires: autoconf >= 2.50
defd17b7 15BuildRequires: automake
dd3e5acf 16BuildRequires: chmlib-devel
46db4e9d 17BuildRequires: docbook-dtd412-xml
03fe4b70
JB
18BuildRequires: exiv2-devel >= 0.14
19BuildRequires: flex
cccfdc5c 20BuildRequires: gettext-tools
03fe4b70 21BuildRequires: glib2-devel >= 1:2.6.0
02375880 22BuildRequires: gnome-doc-utils
03fe4b70
JB
23BuildRequires: gnome-vfs2-devel >= 2.0.0
24BuildRequires: gtk+2-devel >= 2:2.8.0
25BuildRequires: intltool >= 0.35.0
26BuildRequires: libgnome-devel >= 2.0.0
d5b5594e
JB
27BuildRequires: libgnome-keyring-devel >= 2.22
28BuildRequires: libgnomeui-devel >= 2.4.0
03fe4b70
JB
29BuildRequires: libgsf-devel >= 1.12.0
30BuildRequires: libstdc++-devel
2c068fa3 31BuildRequires: libtool
d5b5594e 32BuildRequires: libunique-devel >= 0.9.3
9b3822cd 33BuildRequires: libxslt-progs
06916c15 34BuildRequires: pkgconfig
d5b5594e
JB
35BuildRequires: poppler-devel >= 0.18
36BuildRequires: python-devel >= 1:2.5
03fe4b70 37BuildRequires: taglib-devel >= 1.4
f8c673aa
ŁK
38BuildRequires: tar >= 1:1.22
39BuildRequires: xz
03fe4b70
JB
40Requires: exiv2 >= 0.14
41Requires: glib2 >= 1:2.6.0
42Requires: gtk+2 >= 2:2.8.0
d5b5594e
JB
43Requires: libgnome-keyring >= 2.22
44Requires: libgnomeui >= 2.4.0
03fe4b70 45Requires: libgsf >= 1.12.0
d5b5594e
JB
46Requires: libunique >= 0.9.3
47Requires: poppler >= 0.18
03fe4b70 48Requires: taglib >= 1.4
6a39b029 49# sr@Latn vs. sr@latin
50Conflicts: glibc-misc < 6:2.7
d8e36939 51BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62e35630 52
dd3e5acf 53# symbol main_win_widget is provided by gnome-commander binary
8cc6124c
JR
54%define skip_post_check_so libgcmd.so.*
55
62e35630 56%description
3d0333ff 57GNOME Commander is a filemanager that just like the classical Midnight
b9429b84 58commander lets you do everything with the keyboard. It can perform all
89f3bd7c 59standard fileoperations and some extra features like FTP support.
d8e36939 60
19ade598
JR
61%description -l pl.UTF-8
62GNOME Commander to zarządca plików, który podobnie do klasycznego
63Midnight Commandera umożliwia pełną obsługę przy pomocy klawiatury.
64Zapewnia wykonanie wszystkich typowych operacji na plikach, a także
89f3bd7c 65kilka dodatkowych jak np. klienta FTP.
b9429b84 66
62e35630 67%prep
d0e60dbf 68%setup -q
02375880 69%patch0 -p1
03fe4b70 70%patch1 -p0
f8c673aa 71%patch2 -p1
62e35630 72
73%build
02375880 74%{__glib_gettextize}
b79a4b4f 75%{__libtoolize}
02375880 76%{__intltoolize}
fafb9936 77%{__aclocal} -I m4
3811238a 78%{__autoconf}
03fe4b70 79%{__autoheader}
b79a4b4f 80%{__automake}
02375880 81%configure \
03fe4b70
JB
82 --disable-scrollkeeper \
83 --disable-static
b9429b84 84%{__make}
62e35630 85
86%install
87rm -rf $RPM_BUILD_ROOT
d8e36939 88
b9429b84 89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
7e679cf6 91
03fe4b70 92%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{plugins/,}*.la
d8e36939 93
b22481d4
JB
94# outdated copy of sr@latin
95%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sr@Latn
96
d5b5594e 97%find_lang %{name} --with-gnome --with-omf
62e35630 98
99%clean
100rm -rf $RPM_BUILD_ROOT
101
b79a4b4f 102%post -p /sbin/ldconfig
103%postun -p /sbin/ldconfig
104
e087376d 105%files -f %{name}.lang
d8e36939 106%defattr(644,root,root,755)
03fe4b70 107%doc AUTHORS BUGS ChangeLog NEWS README TODO
0b0afac1 108%attr(755,root,root) %{_bindir}/gcmd-block
109%attr(755,root,root) %{_bindir}/gnome-commander
d954e565 110%dir %{_libdir}/%{name}
111%dir %{_libdir}/%{name}/plugins
02375880 112%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
b576ec3e 113%{_libdir}/%{name}/plugins/*.py*
b79a4b4f 114%attr(755,root,root) %{_libdir}/%{name}/plugins/lib*.so*
d5b5594e 115%{_datadir}/appdata/gnome-commander.appdata.xml
03fe4b70
JB
116%{_pixmapsdir}/gnome-commander.png
117%{_pixmapsdir}/gnome-commander
d954e565 118%{_desktopdir}/gnome-commander.desktop
8964b585 119%{_mandir}/man1/gnome-commander.1*
This page took 0.097989 seconds and 4 git commands to generate.