Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > media > main-src > by-pkgid > 7d108a353533e2e260c2aed99c429dbc > files > 4

sfm-1.7.2-8mdk.src.rpm

%define name sfm
%define version 1.7.2
%define release 8mdk

Summary: A Simple File Manager
Name: %{name}
Version: %{version}
Release: %{release}
Source0: ftp.mandrakesoft.com/pub/pixel/%{name}-%{version}.src.tar.bz2
Source1: icons-%{name}.tar.bz2
Source4: %{name}.menu
Copyright: GPL
Group: File tools
Packager: Pixel <pixel@mandrakesoft.com>
BuildRequires: XFree86-devel
BuildRoot: %{_tmppath}/%{name}-buildroot
Summary(fr): Petit gestionnaire de fichiers

%description
This program is a simple file manager. It's meant to be small and fast
and have a lot of shortcuts. You can associate actions with files
(using its extension or its type given by file(1)).  A popup menu
gives you the available commands and shortcuts.  You can have multiple
views talking between each others.  The filenames are colored using
the LS_COLORS variable.  You can also use it as a directory traveller.
It uses the gtk+ library.

%description -l fr
sfm est un petit gestionnaire de fichiers. Sa particularité est d'être
petit et rapide et d'avoir pleins de raccourcis clavier. On peut
associer (dynamiquement) des actions à des fichiers (en utilisant
l'extension ou le type renvoyé par file(1)).  Un menu contextuel donne
la liste des fonctions disponibles ainsi que les raccourcis associés.

Possibilité d'avoir plusieurs fenêtre ouvertes et de faire des
copier/coller.  Les noms des fichiers sont colorés en utilisant la
variable LS_COLORS.  On peut aussi l'utiliser pour naviguer dans les
répertoires.

%prep
%setup -n %{name}

%build
(
 cd src
 make CFLAGS="$RPM_OPT_FLAGS"
)

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}

install -s src/sfm $RPM_BUILD_ROOT%{_bindir}/
install -m 644 sfm.1 $RPM_BUILD_ROOT%{_mandir}/man1/

install -d $RPM_BUILD_ROOT%{_menudir}
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_menudir}/%{name}
#mdk menu
install -d $RPM_BUILD_ROOT%{_iconsdir}
tar xIvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_iconsdir}

%clean
rm -rf $RPM_BUILD_ROOT

%post 
%{update_menus}

%postun
%{clean_menus}

%files
%defattr(-,root,root)
%doc BUGS COPYING Changes README TODO *.lsm
%{_bindir}/*
%{_mandir}/man1/*
%{_menudir}/*
%{_iconsdir}

%changelog
* Mon Oct 02 2000 Daouda Lo <daouda@mandrakesoft.com> 1.7.2-8mdk
- provide icons for mdk menu (shame on u pixel ;)

* Wed Aug 23 2000 Pixel <pixel@mandrakesoft.com> 1.7.2-7mdk
- add packager field

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.7.2-6mdk
- automatically added BuildRequires

* Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 1.7.2-5mdk
- rebuild with clean clean_menus

* Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 1.7.2-4mdk
- BM, macroziation

* Wed Mar 29 2000 Pixel <pixel@mandrakesoft.com> 1.7.2-3mdk
- add menu

* Sat Mar 25 2000 Pixel <pixel@mandrakesoft.com> 1.7.2-2mdk
- new group

* Sun Dec 19 1999 Pixel <pixel@mandrakesoft.com>
- rebuild
- new version (bug fix, -geometry option added)

* Mon Nov 22 1999 Pixel <pixel@linux-mandrake.com>
- build release

* Sat Jul 17 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- First version for Mandrake distribution.


# end of file