%define oname muCommander Name: mucommander Version: 0.9.0 Release: 1%{?dist} Summary: A lightweight, cross-platform file manager License: GPLv3 URL: http://www.mucommander.com Source0: http://www.mucommander.com/download/%{name}-0_9_0.tar.gz Source1: %{name}.desktop Source2: %{name}.png BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: java-devel >= 1.6 %description muCommander is a lightweight, cross-platform file manager with a dual-pane interface. It runs on any operating system with Java support (Mac OS X, Windows, Linux, *BSD, Solaris...). Here's a non-exhaustive list of what you'll find: * Virtual filesystem with support for local volumes, FTP, SFTP, SMB, NFS, HTTP, Amazon S3, Hadoop HDFS and Bonjour * Quickly copy, move, rename files, create directories, email files... * Browse, create and uncompress ZIP, RAR, 7z, TAR, GZip, BZip2, ISO/NRG, AR/Deb and LST archives * ZIP files can be modified on-the-fly, without having to recompress the whole archive * Universal bookmarks and credentials manager * Multiple windows support * Full keyboard access * Highly configurable * Available in 23 languages : American & British English, French, German, Spanish, Czech, Simplified & Traditional Chinese, Polish, Hungarian, Russian, Slovenian, Romanian, Italian, Korean, Brazilian Portuguese, Dutch, Slovak, Japanese, Swedish, Danish, Ukrainian and Arabic. * Free Software (GPL) %prep %setup -q -n %{oname}-0_9_0 %build #Nothing to do %install install -d -m 755 %{buildroot}%{_libdir} cp -r %{_builddir}/%{oname}-0_9_0 %{buildroot}%{_libdir}/%{name} # Icon install -D -p -m 644 %{SOURCE2} %{buildroot}%{_datarootdir}/pixmaps/%{name}.png # Desktop Menu install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %post ln -sf %{_libdir}/%{name}/%{name}.sh %{_bindir}/%{name} %postun rm -rf %{_bindir}/%{name} %files %defattr(-,root,root) %doc license.txt readme.txt %{_libdir}/* %{_datarootdir}/pixmaps/%{name}.png %{_datarootdir}/applications/%{name}.desktop %{_datarootdir}/* %changelog * Tue Sep 16 2014 Robert Mayr 0.9.0-1 - Packaged for Fedora * Sun Jul 24 2011 Александр Казанцев 0.8.5-1mdv2012.0 + Revision: 691378 - imported package mucommander * Mon Mar 15 2010 Egner Quero 0.8.5 - Packaged to Blogdrake Repository