summaryrefslogtreecommitdiffstats
path: root/doublecmd-gtk.spec
blob: 223f73a6d27dd94156caf6910d41ed835976b236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
%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 <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.

* Mon Dec 01 2014 Vít Ondruch <vondruch@redhat.com> - 0.6.0-0.svn5681
- Revision 5681.

* Mon Feb 03 2014 Vít Ondruch <vondruch@redhat.com> - 0.6.0-0.svn5447
- Revision 5447.

* Mon Jul 15 2013 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn5256
- Revision 5256.

* Wed May 15 2013 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn5205
- Revision 5205.

* Mon Sep 17 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn4969
- Revision 4969.

* Mon Jul 02 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn4912
- Revision 4912.

* Thu Feb 23 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn4690
- Revision 4690.

* Thu Feb 23 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn4304
- Revision 4304.

* Tue Nov 01 2011 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn4036
- Revision 4036.

* Wed Aug 24 2011 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn3836
- Revision 3836.

* Fri Jun 17 2011 Vít Ondruch <vondruch@redhat.com> - 0.5.5-1.svn3643
- Version 0.5.5
- Revision 3643.

* Tue May 24 2011 Vít Ondruch <vondruch@redhat.com> - 0.4.6-2
- Revision 3617.

* Fri Jun 11 2010 - Alexander Koblov <Alexx2000@mail.ru>
- Initial package, version 0.4.6