]>
Commit | Line | Data |
---|---|---|
33f7491a MWP |
1 | # |
2 | # look this: http://dag.wieers.com/packages/bsc/bsc.spec | |
3 | ||
4 | Summary: Beesoft Commander - NC clone | |
5 | Summary(pl): Beesoft Commander - klon NC | |
6 | Name: bsc | |
7 | Version: 2.18 | |
8 | Release: 0.1 | |
9 | License: GPL | |
10 | Group: Applications | |
11 | Source0: http://www.beesoft.org/download/%{name}_%{version}_src.tar.gz | |
12 | # Source0-md5: 19f9bd6d3026bc9a2efa3c99efdcddf2 | |
13 | #Source1: %{name}.desktop | |
14 | URL: http://www.beesoft.org/bsc.html | |
c7505c4d | 15 | BuildRequires: qmake |
33f7491a MWP |
16 | BuildRequires: qt-devel |
17 | #Requires: - | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Beesoft Commander is a QT file manager (like Norton Commander) for | |
22 | Linux. | |
23 | ||
24 | %description -l pl | |
25 | ||
26 | ||
27 | %prep | |
28 | %setup -q -n %{name} | |
29 | ||
30 | %build | |
31 | export QTDIR=%{_prefix} | |
32 | qmake bsc.pro | |
33 | %{__make} %{?_smp_mflags} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/applications/} | |
39 | install bsc $RPM_BUILD_ROOT%{_bindir} | |
40 | ||
41 | #desktop-file-install --vendor rpmforge \ | |
42 | # --add-category X-Red-Hat-Base \ | |
43 | # --dir $RPM_BUILD_ROOT%{_datadir}/applications \ | |
44 | # $SOURCE1 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | #%doc readme.txt | |
51 | %attr(755,root,root) %{_bindir}/bsc | |
52 | #%{_datadir}/applications/*.desktop |