]> git.pld-linux.org Git - SPECS.git/blob - kcommander.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kcommander.spec
1 %define         _beta           Beta2
2 Summary:        WindowsCommander-like file manager
3 Summary(pl.UTF-8):      Zarządca plików podobny do Windows Commandera
4 Name:           kcommander
5 Version:        3.0
6 Release:        0.%{_beta}.2
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        ftp://codewizards.de/pub/kcommander/%{name}3-%{version}%{_beta}.tar.gz
10 # Source0-md5:  70af0c8d114e3813357c031c8c3b3b07
11 Source1:        http://www.pld-linux.org/Members/andree/%{name}-metal.tar.gz
12 # Source1-md5:  0bc00f70082a505a86b94ca5115afef0
13 Patch0:         %{name}-linkfix.patch
14 Patch1:         %{name}-makefile.patch
15 Patch2:         %{name}-first-start.patch
16 URL:            http://www.kcommander.org/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  qt-devel >= 6:3.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      kcommander2
22
23 %description
24 KCommander is the ultimate tool for every ex-windows-users, who used
25 and liked WindowsCommander.
26
27 %description -l pl.UTF-8
28 KCommander jest narzędziem służącym do zarządzania plikami,
29 przeznaczonym dla byłych użytkowników Windows, którzy używali i
30 polubili Windows Commandera.
31
32 %prep
33 %setup -q -n %{name}3-%{version} -a 1
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 cp -f /usr/share/automake/config.* admin
40 %{__autoconf}
41 %configure \
42         --enable-mt \
43         --with-qt-libraries=%{_libdir}
44
45 # clean is needed to regenerate files from *.ui for new qt
46 %{__make} clean
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog TODO
61 %attr(755,root,root) %{_bindir}/kcommander3
This page took 0.042563 seconds and 3 git commands to generate.