Debian Codegraph @

install/linux/rpm/doublecmd-gtk.spec

raw
1 Name: doublecmd-gtk
2 Summary: Twin-panel (commander-style) file manager (GTK2)
3 Version: 1.1.0
4 Release: 1
5 URL: https://doublecmd.sourceforge.io
6 Source0: doublecmd_%{version}.orig.tar.gz
7 License: GPL
8 Group: Applications/File
9 BuildRequires: fpc >= 3.0.0 fpc-src glib2-devel gtk2-devel lazarus >= 1.8.0
10 %if 0%{?mandriva_version}
11 BuildRequires: libncurses-devel libdbus-1-devel libbzip2-devel
12 %endif
13 %if 0%{?fedora_version} || 0%{?rhel}
14 BuildRequires: dbus-devel bzip2-devel
15 %endif
16 %if 0%{?suse_version} >= 1110
17 BuildRequires: ncurses-devel dbus-1-devel libbz2-devel polkit
18 %endif
19 Provides: doublecmd
20 Conflicts: doublecmd-qt
21 BuildRoot: %{_tmppath}/doublecmd-%{version}-build
22
23 %define debug_package %{nil}
24
25 %description
26 Double Commander is a cross platform open source file manager with two panels side by side.
27 It is inspired by Total Commander and features some new ideas.
28
29 %prep
30 %setup -q -n doublecmd-%{version}
31
32 %build
33 ./build.sh release gtk2
34
35 %install
36 install/linux/install.sh --install-prefix=%{buildroot}
37
38 %clean
39 [ %{buildroot} != "/" ] && ( rm -rf %{buildroot} )
40
41 %files
42 %defattr(-,root,root)
43 %{_libdir}/doublecmd
44 %{_bindir}/doublecmd
45 %{_datadir}/doublecmd
46 %{_datadir}/man/man1/doublecmd.*
47 %{_datadir}/pixmaps/doublecmd.*
48 %{_datadir}/applications/doublecmd.desktop
49 %{_datadir}/icons/hicolor/scalable/apps/doublecmd.svg
50 %{_datadir}/polkit-1/actions/org.doublecmd.root.policy
51
52 %changelog
53 * Fri Jun 11 2010 - Alexander Koblov <[email protected]>
54 - Initial package, version 0.4.6