]> git.pld-linux.org Git - packages/freenx-client.git/blob - freenx-client.spec
Release 5
[packages/freenx-client.git] / freenx-client.spec
1 Summary:        a Free NoMachine (NX) client
2 Name:           freenx-client
3 Version:        0.9
4 Release:        5
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:  libnxcl-devel
13 BuildRequires:  pkgconfig
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):  gtk-update-icon-cache
18 Requires(post,postun):  hicolor-icon-theme
19 Requires(post,postun):  shared-mime-info
20 Requires:       nx >= 3.5.0-2
21 Source0:        http://download.berlios.de/freenx/%{name}-%{version}.tar.bz2
22 Source1:        %{name}.desktop
23 Source2:        %{name}.svg
24 # Source0-md5:  777b3cda7a245e3870d4870a9460cb73
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27
28 %description
29 This is a free implementation of a NX session client.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 cd qtnx
37 qmake-qt4
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT%{_bindir}
44 install qtnx/qtnx $RPM_BUILD_ROOT%{_bindir}
45 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
46 install qtnx/id.key $RPM_BUILD_ROOT%{_datadir}/%{name}/default.key
47 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/
48 install %{SOURCE2} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/
49 install -d $RPM_BUILD_ROOT%{_desktopdir}/
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 %update_desktop_database_post
57 %update_mime_database
58 %update_icon_cache hicolor
59
60 %postun
61 %update_desktop_database_postun
62 %update_mime_database
63 %update_icon_cache hicolor
64
65 %files
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/qtnx
68 %dir %{_datadir}/%{name}
69 %{_datadir}/%{name}/*.key
70 %{_iconsdir}/*/*/apps/%{name}.svg
71 %{_desktopdir}/%{name}.desktop
This page took 0.074616 seconds and 3 git commands to generate.