diff options
author | Vít Ondruch <vondruch@redhat.com> | 2015-11-03 14:18:43 +0100 |
---|---|---|
committer | Vít Ondruch <vondruch@redhat.com> | 2015-11-03 14:18:43 +0100 |
commit | cf5736cb3cefcf08032a2fefff2130b8129f259f (patch) | |
tree | 0226ae7828e53fca7b082a3d5614ed5570f93116 /doublecmd-gtk.spec | |
parent | c5c7b39311179dddca713db6c05da6e4545ca635 (diff) | |
download | doublecmd-cf5736cb3cefcf08032a2fefff2130b8129f259f.tar.gz doublecmd-cf5736cb3cefcf08032a2fefff2130b8129f259f.tar.xz doublecmd-cf5736cb3cefcf08032a2fefff2130b8129f259f.zip |
Diffstat (limited to 'doublecmd-gtk.spec')
-rw-r--r-- | doublecmd-gtk.spec | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/doublecmd-gtk.spec b/doublecmd-gtk.spec index 708df2f..223f73a 100644 --- a/doublecmd-gtk.spec +++ b/doublecmd-gtk.spec @@ -1,13 +1,13 @@ %global doublecmd doublecmd -%global svn_revision 5869 +%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 5869 http://svn.code.sf.net/p/doublecmd/code/trunk doublecmd-0.7.0 -# tar caf doublecmd-0.7.0-r5869.tar.xz doublecmd-0.7.0 +# 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 @@ -23,16 +23,20 @@ It is inspired by Total Commander and features some new ideas. %setup -q -n %{doublecmd}-%{version} %build -# Keep the debugingo. -sed -i '/strip/d' build.sh +# 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 -./build.sh all gtk2 +# Keep debug info. It is stripped later by rpmbuild's find-debuginfo.sh. +sed -i '/strip/ s/^/#/' build.sh -%install -# .zdli is generated by beta targed. Not sure what is the difference. +# 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 '/\.zdli/d' install/linux/install.sh +sed -i '/extractdwrflnfo/ s/.dbg//' build.sh + +./build.sh beta gtk2 +%install install/linux/install.sh --install-prefix=%{buildroot} %files @@ -45,6 +49,9 @@ install/linux/install.sh --install-prefix=%{buildroot} %doc %{_mandir}/man1/* %changelog +* Mon Nov 02 2015 Vít Ondruch <vondruch@redhat.com> - 0.7.0-0.svn6368 +- Revision 6368. + * Fri Mar 06 2015 Vít Ondruch <vondruch@redhat.com> - 0.7.0-0.svn5869 - Revision 5869. |