rpms/nmap/devel nmap.spec,1.16,1.17
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Apr 21 14:11:17 UTC 2005
Update of /cvs/dist/rpms/nmap/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24259
Modified Files:
nmap.spec
Log Message:
- fixed desktop file and added icons (bug #149157)
Index: nmap.spec
===================================================================
RCS file: /cvs/dist/rpms/nmap/devel/nmap.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- nmap.spec 2 Mar 2005 14:19:59 -0000 1.16
+++ nmap.spec 21 Apr 2005 14:11:14 -0000 1.17
@@ -3,11 +3,13 @@
Summary: Network exploration tool and security scanner
Name: nmap
Version: 3.81
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Source0: http://download.insecure.org/nmap/dist/%{name}-%{version}.tar.bz2
-#Source1: nmapfe.desktop
+Source1: nmapfe.desktop
+Source2: nmapfe-32.png
+Source3: nmapfe-48.png
Patch0: inet_aton.patch
Patch1: makefile.patch
Patch2: nmap-3.78-gtk2.patch
@@ -48,13 +50,19 @@
%makeinstall nmapdatadir=$RPM_BUILD_ROOT%{_datadir}/nmap
-mv $RPM_BUILD_ROOT%{_datadir}/applications/nmapfe.desktop .
+#rm -f $RPM_BUILD_ROOT%{_datadir}/applications/nmapfe.desktop
- desktop-file-install --vendor nmap --delete-original \
+ desktop-file-install --vendor nmap \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Red-Hat-Base \
- nmapfe.desktop;
+ %{SOURCE1};
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+install -m 0644 %{SOURCE2} \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/nmapfe.png
+install -m 0644 %{SOURCE3} \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/nmapfe.png
%clean
rm -rf $RPM_BUILD_ROOT
@@ -74,10 +82,14 @@
%{_bindir}/nmapfe
%{_bindir}/xnmap
%{_datadir}/applications/nmapfe.desktop
+%{_datadir}/icons/hicolor/*/apps/nmapfe.png
%{_mandir}/man1/nmapfe.1.gz
%{_mandir}/man1/xnmap.1.gz
%changelog
+* Thu Apr 21 2005 Harald Hoyer <harald at redhat.com> - 2:3.81-2
+- fixed desktop file and added icons (bug #149157)
+
* Wed Mar 02 2005 Harald Hoyer <harald at redhat.com> - 2:3.81-1
- version 3.81
More information about the fedora-cvs-commits
mailing list