File simple_browse.spec of Package simple_browse
#
# spec file for package simple_browse
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: simple_browse
Version: 3
Release: 0
License: GPL-3.0+
Summary: A simple webkit browser written in Python
Url: http://github.com/DavidMulder/simple_browse
Group: Productivity/Office/Organizers
Source: %{name}-%{version}.tar.gz
Requires: python-webkitgtk
Requires: typelib-1_0-WebKit-3_0
%description
Pass the url in through the command line. Takes optional user agent and css style sheet as parameters also. This is meant for opening web client apps which you want to run as desktop apps. I use this for owa and vsphere.
%prep
%setup -q
%build
%install
%{__install} -D -m 0755 %{name}.py $RPM_BUILD_ROOT/usr/%_lib/%{name}/%{name}.py
%{__mkdir} -p $RPM_BUILD_ROOT/%{_bindir}
%{__ln_s} /usr/%_lib/%{name}/%{name}.py $RPM_BUILD_ROOT/%{_bindir}/%{name}
%files
%defattr(-,root,root)
/usr/%_lib/%{name}
%{_bindir}/%{name}