|
|
|
%define id3lib_ver 3.8.3
|
|
|
|
%define libexif_ver 0.6.12
|
|
|
|
%define libgsf_ver 1.12.0
|
|
|
|
%define libiptcdata_ver 0.2.1
|
|
|
|
%define python_ver 2.4
|
|
|
|
|
|
|
|
Name: gnome-commander
|
|
|
|
Version: 1.2.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: A nice and fast file manager for the GNOME desktop
|
|
|
|
|
|
|
|
Group: Applications/File
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.nongnu.org/gcmd/
|
|
|
|
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: scrollkeeper
|
|
|
|
|
|
|
|
BuildRequires: chmlib-devel
|
|
|
|
BuildRequires: id3lib-devel >= %{id3lib_ver}
|
|
|
|
BuildRequires: lcms-devel
|
|
|
|
BuildRequires: libexif-devel >= %{libexif_ver}
|
|
|
|
BuildRequires: libgsf-devel
|
|
|
|
BuildRequires: libgnomeui-devel
|
|
|
|
BuildRequires: libiptcdata-devel >= %{libiptcdata_ver}
|
|
|
|
|
|
|
|
BuildRequires: gnome-doc-utils
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
BuildRequires: python-devel >= %{python_ver}
|
|
|
|
|
|
|
|
Requires: gnome-python2-gnomevfs
|
|
|
|
Requires: id3lib >= %{id3lib_ver}
|
|
|
|
Requires: libexif >= %{libexif_ver}
|
|
|
|
Requires: libiptcdata >= %{libiptcdata_ver}
|
|
|
|
Requires: meld
|
|
|
|
Requires: yelp
|
|
|
|
Requires(post): scrollkeeper
|
|
|
|
Requires(postun): scrollkeeper
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME Commander is a nice and fast file manager for the GNOME desktop.
|
|
|
|
In addition to performing the basic filemanager functions the program is
|
|
|
|
also an FTP-client and it can browse SMB-networks.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-scrollkeeper \
|
|
|
|
--enable-python
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__make} \
|
|
|
|
INSTALL="%{__install} -c -p" \
|
|
|
|
DESTDIR=%{buildroot} \
|
|
|
|
install
|
|
|
|
|
|
|
|
desktop-file-install \
|
|
|
|
--delete-original \
|
|
|
|
--vendor '' \
|
|
|
|
--remove-category Application \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.{a,la}
|
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/%{name}/*/*.{a,la}
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post
|
|
|
|
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
scrollkeeper-update -q || :
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO doc/*.txt
|
|
|
|
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
%{_datadir}/gnome/help/%{name}/
|
|
|
|
%{_datadir}/omf/%{name}/
|
|
|
|
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/pixmaps/%{name}/
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Jun 9 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-2
|
|
|
|
- Add missing BR libgsf-devel
|
|
|
|
|
|
|
|
* Sat Jun 9 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.4-1
|
|
|
|
- Update to 1.2.4
|
|
|
|
- Support python chmlib libiptcdata
|
|
|
|
|
|
|
|
- From upstream:
|
|
|
|
Sun Feb 4 2007 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added libgsf dependencies
|
|
|
|
Wed Jan 30 2007 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added build and runtime deps for python and gnome-python2-gnomevfs
|
|
|
|
|
|
|
|
* Sat Jun 9 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-7
|
|
|
|
- Require yelp (#243392)
|
|
|
|
|
|
|
|
* Tue Apr 17 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-6
|
|
|
|
- Add maintainer, description elements to gnome-commander.xml for
|
|
|
|
newer libxslt
|
|
|
|
|
|
|
|
* Tue Jan 20 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-5
|
|
|
|
- Require meld (#225324)
|
|
|
|
|
|
|
|
* Thu Jan 11 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-4
|
|
|
|
- Don't remove plugins (#222203)
|
|
|
|
|
|
|
|
* Thu Jan 4 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-3
|
|
|
|
- Explicitly require version-dependent libraries accroding to
|
|
|
|
the request from upstream.
|
|
|
|
|
|
|
|
* Thu Dec 21 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.3-2
|
|
|
|
- Clean up.
|
|
|
|
|
|
|
|
* Tue Nov 14 2006 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- fixed Source0 address
|
|
|
|
|
|
|
|
* Mon Jul 17 2006 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added glib dependencies
|
|
|
|
|
|
|
|
* Sun May 14 2006 Stephanos Manos <stefmanos@gmail.com>
|
|
|
|
- Fixed Scrollkeeper database update
|
|
|
|
-disabled scrollkeeper update from make
|
|
|
|
-added scrollkeeper-database-update in the %%post & %%postun section
|
|
|
|
- Added %%post & %%postun entries for the desktop file
|
|
|
|
- Added %%post & %%postun entries for the gtk+ icon cache file
|
|
|
|
|
|
|
|
* Sun Apr 9 2006 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- minor cleanups
|
|
|
|
|
|
|
|
* Thu Mar 5 2006 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added OMF files
|
|
|
|
|
|
|
|
* Mon Feb 13 2006 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- install gnome-commander icon to %%{_datadir}/pixmaps/
|
|
|
|
- install gnome-commander.1* to %%{_mandir}/man1/
|
|
|
|
|
|
|
|
* Sat Feb 11 2006 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- set default srcext to .bz2
|
|
|
|
|
|
|
|
* Fri Jan 28 2005 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- fixed typo: rpm --> rpmbuild
|
|
|
|
|
|
|
|
* Mon May 03 2004 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- converted spec file to utf-8
|
|
|
|
- used RPM macros a bit more
|
|
|
|
|
|
|
|
* Thu Jun 19 2003 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added libraries
|
|
|
|
|
|
|
|
* Tue Mar 25 2003 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- updated Sources
|
|
|
|
|
|
|
|
* Mon Jan 20 2003 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added build dependencies
|
|
|
|
|
|
|
|
* Fri Jan 10 2003 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added localization
|
|
|
|
|
|
|
|
* Thu Jan 09 2003 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- added dependencies
|
|
|
|
|
|
|
|
* Mon Jun 24 2002 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- more cleanup in install section
|
|
|
|
|
|
|
|
* Sat Jun 15 2002 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- simplified install and files sections
|
|
|
|
|
|
|
|
* Mon Jun 10 2002 Piotr Eljasiak <epiotr@use.pl>
|
|
|
|
- .spec file is now generated from .spec.in
|
|
|
|
|
|
|
|
* Mon Jun 10 2002 Marcus Bjurman <marbj499@student.liu.se>
|
|
|
|
- The default icon for this project is now called gnome-commander.png
|
|
|
|
The xpm variant of the same icon is now also renamed in the same manner.
|
|
|
|
|
|
|
|
* Sat Mar 9 2002 Marcus Bjurman <marbj499@student.liu.se>
|
|
|
|
- Pumped up the version nr
|
|
|
|
|
|
|
|
* Sun Nov 4 2001 Marcus Bjurman <marbj499@student.liu.se>
|
|
|
|
- Initial build.
|