]> git.pld-linux.org Git - packages/freenx-client.git/blob - freenx-client.spec
- added R: nxssh
[packages/freenx-client.git] / freenx-client.spec
1 Summary:        a Free NoMachine (NX) client
2 Name:           freenx-client
3 Version:        0.9
4 Release:        2
5 License:        GPL v2 or later
6 Group:          X11/Applications/Networking
7 Patch0:         %{name}-keypath.patch
8 URL:            http://freenx.berlios.de/
9 BuildRequires:  QtCore-devel >= 4.4.0
10 BuildRequires:  QtGui-devel >= 4.4.0
11 BuildRequires:  QtXml-devel >= 4.4.0
12 BuildRequires:  doxygen
13 BuildRequires:  libnxcl-devel
14 BuildRequires:  qt4-build >= 4.4.0
15 BuildRequires:  qt4-qmake >= 4.4.0
16 Requires(post,postun):  desktop-file-utils
17 Requires(post,postun):  hicolor-icon-theme
18 Requires(post,postun):  shared-mime-info
19 Requires:       nxssh
20 Source0:        http://download.berlios.de/freenx/%{name}-%{version}.tar.bz2
21 Source1:        %{name}.desktop
22 Source2:        %{name}.svg
23 # Source0-md5:  777b3cda7a245e3870d4870a9460cb73
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26
27 %description
28 This is a free implementation of a NX session client.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 cd qtnx
36 qmake-qt4
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 install -d $RPM_BUILD_ROOT%{_bindir}
43 install qtnx/qtnx $RPM_BUILD_ROOT%{_bindir}
44 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
45 install qtnx/id.key $RPM_BUILD_ROOT%{_datadir}/%{name}/default.key
46 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/
47 install %{SOURCE2} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/
48 install -d $RPM_BUILD_ROOT%{_desktopdir}/
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post
55 %update_desktop_database_post
56 %update_mime_database
57 %update_icon_cache hicolor
58
59 %postun
60 %update_desktop_database_postun
61 %update_mime_database
62 %update_icon_cache hicolor
63
64 %files
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/qtnx
67 %dir %{_datadir}/%{name}
68 %{_datadir}/%{name}/*.key
69 %{_iconsdir}/*/*/apps/%{name}.svg
70 %{_desktopdir}/%{name}.desktop
This page took 0.079404 seconds and 3 git commands to generate.