rpms/upnp-inspector/devel import.log, NONE, 1.1 upnp-inspector-0.2.2-mapage.patch, NONE, 1.1 upnp-inspector.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

musuruan musuruan at fedoraproject.org
Sun Apr 18 08:03:32 UTC 2010


Author: musuruan

Update of /cvs/pkgs/rpms/upnp-inspector/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1226/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log upnp-inspector-0.2.2-mapage.patch 
	upnp-inspector.spec 
Log Message:
First import


--- NEW FILE import.log ---
upnp-inspector-0_2_2-2_fc12:HEAD:upnp-inspector-0.2.2-2.fc12.src.rpm:1271577739

upnp-inspector-0.2.2-mapage.patch:
 upnp-inspector.1 |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

--- NEW FILE upnp-inspector-0.2.2-mapage.patch ---
--- upnp-inspector-0.2.2.orig/misc/upnp-inspector.1
+++ upnp-inspector-0.2.2/misc/upnp-inspector.1
@@ -0,0 +1,25 @@
+.\"Created with GNOME Manpages Editor Wizard
+.\"http://sourceforge.net/projects/gmanedit2
+.TH "UPnP-Inspector" "1" "May 17, 2009" "Frank Scholz" "Python UPnP Analyzer"
+.SH NAME
+.LP
+UPnP-Inspector\- Is a UPnP device and service analyzer.
+
+.SH DESCRIPTION
+The Inspector is an UPnP Device and Service analyzer, and a debugging tool, based on the Coherence DLNA/UPnP framework.  Modeled loosely after the Intel UPnP Device Spy and Device Validator.
+
+The Inspector is a GUI to discover and explorer of UPnP devices on your network. Detected devices are displayed in a tree-view, where, amongst other things, actions can be called and state\-variables be queried.
+
+The Inspector will host the tests from our UPnP test-suite, to provide a central place to verify device implementations and hunt down any UPnP anomalies.
+
+.SH OPTIONS
+.B
+.IP -OPTION
+There are no command line options for upnp-inspector.
+
+.SH "AUTHORS"
+.LP 
+UPnP-Inspector was written by Frank Scholz <coherence at beebits.net>.
+.P
+This man page was created by Charlie Smotherman <cjsmo at cableone.net> for Frank Scholz and the Debian Project.
+



--- NEW FILE upnp-inspector.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 realname UPnP-Inspector

Name:           upnp-inspector
Version:        0.2.2 
Release:        2%{?dist}
Summary:        UPnP Device and Service analyzer

Group:          Applications/Multimedia
License:        MIT
URL:            http://coherence.beebits.net/wiki/UPnP-Inspector
Source0:        http://coherence.beebits.net/download/%{realname}-%{version}.tar.gz
# Man page from Debian
Patch0:         %{name}-0.2.2-mapage.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch

BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  desktop-file-utils
Requires:       python
Requires:       pygtk2
Requires:       python-Coherence
Requires:       hicolor-icon-theme


%description
The Inspector is an UPnP Device and Service analyzer, and a debugging tool, 
based on the Coherence DLNA/UPnP framework.

It is a GUI to discover and explore UPnP devices on your network. Detected 
devices are displayed in a tree-view, where - amongst other things - actions 
can be called and state-variables be queried. 


%prep
%setup -q -n %{realname}-%{version}
%patch0 -p1

# Fix desktop file
sed -i 's/Icon=inspector.xpm/Icon=inspector/' misc/%{name}.desktop


%build
python setup.py build


%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --skip-build --root $RPM_BUILD_ROOT

# Install desktop file
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  misc/%{name}.desktop

# Install icon
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 0644 misc/inspector.xpm \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/

# Install man page
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 misc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/


%clean
rm -rf $RPM_BUILD_ROOT


%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
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{python_sitelib}/UPnP_Inspector*.egg-info
%{python_sitelib}/upnp_inspector/
%{_datadir}/icons/hicolor/*/apps/inspector.xpm
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.1*
%doc LICENCE NEWS README


%changelog
* Sat Apr 10 2010 Andrea Musuruane <musuruan at gmail.com> 0.2.2-2
- Added man page from Debian

* Sat Apr 03 2010 Andrea Musuruane <musuruan at gmail.com> 0.2.2-1
- First release



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/upnp-inspector/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	18 Apr 2010 01:51:33 -0000	1.1
+++ .cvsignore	18 Apr 2010 08:03:31 -0000	1.2
@@ -0,0 +1 @@
+UPnP-Inspector-0.2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/upnp-inspector/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	18 Apr 2010 01:51:33 -0000	1.1
+++ sources	18 Apr 2010 08:03:31 -0000	1.2
@@ -0,0 +1 @@
+6823a57f4501c8af6a7b8547b8133759  UPnP-Inspector-0.2.2.tar.gz



More information about the scm-commits mailing list