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