Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %define name doublecmd
- %define version 0.4.5.2.1
- %define release %mkrel 01
- Summary: Cross platform open source file manager
- Name: %{name}
- Version: %{version}
- Release: %{release}
- Group: System;FileManager;
- License: GPL
- URL: http://%{name}.sourceforge.net/site/eng/index.html
- Source: doublecmd-0.4.5.2-1.qt.i386.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
- Obsoletes: %name < %version
- %description -l es
- Double Commander es un manejador de ficheros multiplataforma con dos paneles lado a lado.
- Esta inspirado por Total Commander e implementa algunas ideas nuevas.
- Aquí tienes algunas mejoras clave de Double Commander:
- * Soporte Unicode
- * Todas las operaciones trabajan por detrás
- * Herramienta multi-nombres
- * Interfaz con pestañas
- * Columnas versátiles
- * Editor de Texto propio (F4) con sintaxis coloreada
- * y más ...
- %description
- Double Commander is a cross platform open source file manager with two panels side by side.
- It is inspired by Total Commander and features some new ideas.
- Here are some key features of Double Commander:
- * Unicode support
- * All operations working in background
- * Multi-rename tool
- * Tabbed interface
- * Custom columns
- * Internal text editor (F4) with syntax hightlighting
- * Built in file viewer (F3) to view files of in hex, binary or text format
- * Archives are handled like subdirectories. You can easily copy files to and from archives.
- Supported archive types: ZIP, TAR GZ, TGZ, LZMA and also BZ2, RPM, CPIO, DEB, RAR.
- * Extended search function with full text search in any files
- * Configurable button bar to start external programs or internal menu commands
- * Total Commander WCX, WDX and WLX plug-ins support
- * File operations logging
- * And more...
- %prep
- %setup -q -n %{name}
- %build
- %install
- rm -rf %{buildroot}
- mkdir -p %buildroot%_datadir/%{name}
- mkdir -p %buildroot%_libdir
- cp libqt4intf.so %buildroot%_libdir
- cp -af * %buildroot%_datadir/%{name}
- #launcher
- mkdir -p %buildroot%_bindir
- cat > %buildroot%_bindir/%{name} << EOF
- #!/bin/sh
- cd %{_datadir}/%{name}
- exec ./%{name}.sh
- EOF
- chmod +x %{buildroot}%{_bindir}/%{name}
- #menu
- mkdir -p %buildroot%_datadir/applications
- cat > %buildroot%{_datadir}/applications/%{name}.desktop <<EOF
- [Desktop Entry]
- Encoding=UTF-8
- Name=Double Commander
- Comment=Cross platform open source file manager
- Exec=%{name}
- Icon=%{name}.png
- Type=Application
- Terminal=false
- Categories=Application;Utility;
- EOF
- #icon
- mkdir -p %{buildroot}%_datadir/pixmaps
- install -m 0644 %{name}.png %{buildroot}%_datadir/pixmaps/%{name}.png
- %clean
- rm -rf %{buildroot}
- %post
- chmod 777 /usr/share/doublecmd/
- chmod 777 /usr/share/doublecmd/doublecmd.ini
- %{update_menus}
- %{update_desktop_database}
- %postun
- %{clean_menus}
- %{clean_desktop_database}
- %files
- %defattr(-,root,root,-)
- %{_bindir}/%{name}
- %{_datadir}/applications/%{name}.desktop
- %{_datadir}/%{name}
- %{_datadir}/pixmaps/%{name}.png
- /usr/lib/libqt4intf.so
- %changelog
- * Fri Aug 12 2011 MichaelSOG <michaelsog@ymail.com>
- - Build for Mandriva 2010.2 ««blogdrake.net»»
- * Fri Jul 8 2011 Joaquín <joaquinmandriva@gmail.com>
- - Packaged to Mandriva (Blogdrake Repository)
- * Sun Oct 10 2010 Sproggy <desproggster@gmail.com> 0.4.5.2.1-1pclos2010
- - update 0.4.5.2.1
- * Wed May 26 2010 slick50 <lxgator@gmail.com> 0.4.5.1.1-1pclos2010
- - initial pkg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement