Author: aredridel Date: Sun Aug 17 01:07:38 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - desktop and icon files
---- Files affected: SPECS: freenx-client.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: SPECS/freenx-client.spec diff -u SPECS/freenx-client.spec:1.3 SPECS/freenx-client.spec:1.4 --- SPECS/freenx-client.spec:1.3 Sun Aug 17 00:40:58 2008 +++ SPECS/freenx-client.spec Sun Aug 17 03:07:33 2008 @@ -14,7 +14,12 @@ BuildRequires: QtCore-devel >= 4.4.0 BuildRequires: qt4-qmake >= 4.4.0 BuildRequires: qt4-build >= 4.4.0 +Requires(post,postun): desktop-file-utils +Requires(post,postun): hicolor-icon-theme +Requires(post,postun): shared-mime-info Source0: http://download.berlios.de/freenx/freenx-client-%{version}.tar.bz2 +Source1: %{name}.desktop +Source2: %{name}.svg # Source0-md5: 777b3cda7a245e3870d4870a9460cb73 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -38,15 +43,31 @@ install qtnx/qtnx $RPM_BUILD_ROOT%{_bindir} install -d $RPM_BUILD_ROOT%{_datadir}/%{name} install qtnx/id.key $RPM_BUILD_ROOT%{_datadir}/%{name}/default.key +install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/ +install %{SOURCE2} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/ +install -d $RPM_BUILD_ROOT%{_datadir}/applications/ +install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %clean rm -rf $RPM_BUILD_ROOT +%post +%update_desktop_database_post +%update_mime_database +%update_icon_cache hicolor + +%postun +%update_desktop_database_postun +%update_mime_database +%update_icon_cache hicolor + %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/qtnx %dir %{_datadir}/%{name} %{_datadir}/%{name}/*.key +%{_iconsdir}/*/*/apps/%{name}.svg +%{_datadir}/applications/%{name}.desktop %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -54,6 +75,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2008/08/17 01:07:33 aredridel +- desktop and icon files + Revision 1.3 2008/08/16 22:40:58 aredridel - include default NX key ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freenx-client.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
