%global doublecmd doublecmd %global svn_revision 6368 Name: doublecmd-gtk Summary: Twin-panel (commander-style) file manager (GTK2) Version: 0.7.0 Release: 0.svn%{svn_revision}%{?dist} URL: http://doublecmd.sourceforge.net # svn export -r 6368 http://svn.code.sf.net/p/doublecmd/code/trunk doublecmd-0.7.0 # tar caf doublecmd-0.7.0-r6368.tar.xz doublecmd-0.7.0 Source0: %{doublecmd}-%{version}-r%{svn_revision}.tar.xz License: GPL Group: Applications/File BuildRequires: fpc >= 2.6.0 fpc-src glib2-devel gtk2-devel lazarus >= 1.0.0 BuildRequires: ncurses-devel dbus-devel bzip2-devel xorg-x11-proto-devel xorg-x11-xtrans-devel Provides: doublecmd %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. %prep %setup -q -n %{doublecmd}-%{version} %build # Don't use external debug symbols, since the rpmbuild's find-debuginfo can't # find them. sed -i '/UseExternalDbgSyms/ s/True/False/' src/doublecmd.lpi # Keep debug info. It is stripped later by rpmbuild's find-debuginfo.sh. sed -i '/strip/ s/^/#/' build.sh # Since we want to have internal debug info, let's generate .zdli from it. # http://doublecmd.sourceforge.net/mantisbt/view.php?id=963 sed -i '/extractdwrflnfo/ s/.dbg//' build.sh ./build.sh beta gtk2 %install install/linux/install.sh --install-prefix=%{buildroot} %files %{_libdir}/%{doublecmd} %{_bindir}/%{doublecmd} %{_datadir}/%{doublecmd} %{_datadir}/pixmaps/%{doublecmd}.png %{_datadir}/pixmaps/%{doublecmd}.xpm %{_datadir}/applications/%{doublecmd}.desktop %doc %{_mandir}/man1/* %changelog * Mon Nov 02 2015 Vít Ondruch - 0.7.0-0.svn6368 - Revision 6368. * Fri Mar 06 2015 Vít Ondruch - 0.7.0-0.svn5869 - Revision 5869. * Mon Dec 01 2014 Vít Ondruch - 0.6.0-0.svn5681 - Revision 5681. * Mon Feb 03 2014 Vít Ondruch - 0.6.0-0.svn5447 - Revision 5447. * Mon Jul 15 2013 Vít Ondruch - 0.5.5-1.svn5256 - Revision 5256. * Wed May 15 2013 Vít Ondruch - 0.5.5-1.svn5205 - Revision 5205. * Mon Sep 17 2012 Vít Ondruch - 0.5.5-1.svn4969 - Revision 4969. * Mon Jul 02 2012 Vít Ondruch - 0.5.5-1.svn4912 - Revision 4912. * Thu Feb 23 2012 Vít Ondruch - 0.5.5-1.svn4690 - Revision 4690. * Thu Feb 23 2012 Vít Ondruch - 0.5.5-1.svn4304 - Revision 4304. * Tue Nov 01 2011 Vít Ondruch - 0.5.5-1.svn4036 - Revision 4036. * Wed Aug 24 2011 Vít Ondruch - 0.5.5-1.svn3836 - Revision 3836. * Fri Jun 17 2011 Vít Ondruch - 0.5.5-1.svn3643 - Version 0.5.5 - Revision 3643. * Tue May 24 2011 Vít Ondruch - 0.4.6-2 - Revision 3617. * Fri Jun 11 2010 - Alexander Koblov - Initial package, version 0.4.6