rpms/umit/F-12 import.log, NONE, 1.1 umit-1.0RC-setup.py.patch, NONE, 1.1 umit.desktop, NONE, 1.1 umit.spec, NONE, 1.1 umit_48x48.png, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

lystor lystor at fedoraproject.org
Tue Mar 16 11:57:24 UTC 2010


Author: lystor

Update of /cvs/pkgs/rpms/umit/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29697/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log umit-1.0RC-setup.py.patch umit.desktop umit.spec 
	umit_48x48.png 
Log Message:
Initial import (#566411).



--- NEW FILE import.log ---
umit-1_0-0_3_RC_fc12:F-12:umit-1.0-0.3.RC.fc12.src.rpm:1268740715

umit-1.0RC-setup.py.patch:
 setup.py |    2 --
 1 file changed, 2 deletions(-)

--- NEW FILE umit-1.0RC-setup.py.patch ---
diff -up umit-1.0RC/setup.py.orig umit-1.0RC/setup.py
--- umit-1.0RC/setup.py.orig	2009-08-22 05:19:10.000000000 +0300
+++ umit-1.0RC/setup.py	2010-02-05 19:28:02.023608024 +0200
@@ -266,8 +266,6 @@ class umit_install(install):
         install.run(self)
 
         self.set_perms()
-        self.set_modules_path()
-        self.fix_paths()
         self.create_uninstaller()
         self.finish_banner()
 


--- NEW FILE umit.desktop ---
[Desktop Entry]
Name=Umit
GenericName=Nmap Security Scanner
Comment=GUI frontend for Nmap security/port scanner
Exec=umit
Icon=umit
Terminal=false
Type=Application
Categories=System;


--- NEW FILE umit.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%endif

%global prerelease RC

Name:           umit
Version:        1.0
Release:        0.3.%{prerelease}%{?dist}
Summary:        Nmap front-end

Group:          Applications/Internet
License:        GPLv2+ and LGPLv2+
URL:            http://umit.sourceforge.net/
Source0:        http://downloads.sourceforge.net/umit/umit-%{version}%{prerelease}.tar.gz
# http://trac.umitproject.org/ticket/378
Source1:        umit_48x48.png
# http://trac.umitproject.org/ticket/378
Source2:        umit.desktop
# Fedora-specific: Fix check-buildroot issues
Patch0:         umit-1.0RC-setup.py.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  desktop-file-utils
BuildRequires:  gettext
BuildRequires:  python2-devel
BuildRequires:  python-sphinx

Requires:       nmap
Requires:       pygtk2


%description
With Umit, you have all the power provided by Nmap through its regular 
command line interface, and a lot more in a highly usable and portable 
Graphical Interface. Some of its main features include:
    * Easily create powerful Nmap commands and save them as profiles to use 
      whenever you need it
    * Edit your Profiles using the Interface Editor
    * Create Profiles with the assistance of a Wizard
    * Group and order you scan results
    * Filter hosts list by services
    * Filter services list by hosts
    * Compare two scan results in one of our three compare modes: text diff, 
      graphical comparison and HTML diff
    * Search scan results
    * Use Umit interface through the Web


%prep
%setup -q -n umit-%{version}%{prerelease}
%patch0 -p1


%build
%{__python} setup.py build


%install
rm -rf %{buildroot}
%{__python} setup.py install --root %{buildroot}

# Remove useless files
rm %{buildroot}%{_bindir}/uninstall_umit

# Fix permissions
find %{buildroot} -type f -exec chmod 644 {} \;
chmod 755 %{buildroot}%{_bindir}/*

# Remove a interpreter from the site-packages
find %{buildroot}%{python_sitelib} -type f -iname "*py" -exec \
    sed -i 's/#!\/usr\/bin\/env python//' {} \;

# Fix the file end-of-line encoding
sed -i 's/\r//' %{buildroot}%{_docdir}/umit/html/_sources/plugins.txt

# Install the icons
install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/umit
install -d %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
ln -s ../../../../pixmaps/umit/umit_48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/umit.png

# Install the desktop file
install -d %{buildroot}%{_datadir}/applications
desktop-file-install \
    --dir=%{buildroot}%{_datadir}/applications \
    %{SOURCE2}

%find_lang %{name}


%clean
rm -rf %{buildroot}


%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :


%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi


%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING COPYING_HIGWIDGETS README
%{_bindir}/umit
%{_bindir}/umit_scheduler.py
%{_datadir}/applications/umit.desktop
%{_datadir}/icons/hicolor/*/*/umit*
%{_datadir}/icons/umit
%{_datadir}/pixmaps/umit
%{_datadir}/umit
%{_docdir}/umit
%{python_sitelib}/higwidgets
%{python_sitelib}/umit
%{python_sitelib}/umit-*.egg-info


%changelog
* Mon Mar 15 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.0-0.3.RC
- Fix the Summary
- Remove doc macro from %%{_docdir}/umit

* Sat Mar 13 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.0-0.2.RC
- Add the pygtk2 to the Requires
- Fix the license
- Fix the Source0
- Remove the unused macro python_sitearch
- Remove the -doc subpackage
- Replace generally useful macros by regular commands

* Fri Feb 05 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.0-0.1.RC
- Initial package build



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/umit/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	15 Mar 2010 22:07:17 -0000	1.1
+++ .cvsignore	16 Mar 2010 11:57:24 -0000	1.2
@@ -0,0 +1 @@
+umit-1.0RC.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/umit/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	15 Mar 2010 22:07:17 -0000	1.1
+++ sources	16 Mar 2010 11:57:24 -0000	1.2
@@ -0,0 +1 @@
+e096ac3795017ba87be4ed569c520be8  umit-1.0RC.tar.gz



More information about the scm-commits mailing list