Accepting request 354623 from home:markoschandras:firewalld
I want to maintain python-slip in Factory. This package is a dependency for firewalld which I will submit soon. I would like to use the devel:languages:python as the devel project OBS-URL: https://build.opensuse.org/request/show/354623 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slip?expand=0&rev=1
This commit is contained in:
commit
f673ce4636
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
python-slip-0.6.4.tar.bz2
Normal file
3
python-slip-0.6.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6238c17ea127171dbf277005a26178e265937cab7aa968e858144d9f36943dc2
|
||||||
|
size 25978
|
5
python-slip.changes
Normal file
5
python-slip.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 7 13:44:23 UTC 2016 - mchandras@suse.de
|
||||||
|
|
||||||
|
- Initial package. Version 0.6.4
|
||||||
|
|
104
python-slip.spec
Normal file
104
python-slip.spec
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-slip
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX 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: python-slip
|
||||||
|
Version: 0.6.4
|
||||||
|
Release: 0
|
||||||
|
Summary: Miscellaneous convenience, extension and workaround code for Python
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/Libraries
|
||||||
|
Url: https://github.com/nphilipp/python-slip
|
||||||
|
Source0: https://github.com/nphilipp/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Simple Library for Python packages contain miscellaneous code for
|
||||||
|
convenience, extension and workaround purposes.
|
||||||
|
|
||||||
|
This package provides the "slip" and the "slip.util" modules.
|
||||||
|
|
||||||
|
%package dbus
|
||||||
|
Summary: Convenience functions for dbus services
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: dbus-1-python >= 0.80
|
||||||
|
Requires: polkit >= 0.94
|
||||||
|
Requires: python-decorator
|
||||||
|
# Don't require any of python-gobject{,2} because slip.dbus works with either one. In
|
||||||
|
# theory users of slip.dbus should require one or the other anyway to use the
|
||||||
|
# main loop.
|
||||||
|
#
|
||||||
|
|
||||||
|
%description dbus
|
||||||
|
The Simple Library for Python packages contain miscellaneous code for
|
||||||
|
convenience, extension and workaround purposes.
|
||||||
|
|
||||||
|
This package provides slip.dbus.service.Object, which is a dbus.service.Object
|
||||||
|
derivative that ends itself after a certain time without being used and/or if
|
||||||
|
there are no clients anymore on the message bus, as well as convenience
|
||||||
|
functions and decorators for integrating a dbus service with PolicyKit.
|
||||||
|
|
||||||
|
%package gtk
|
||||||
|
Summary: Code to make auto-wrapping gtk labels
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: python-gtk
|
||||||
|
|
||||||
|
%description gtk
|
||||||
|
The Simple Library for Python packages contain miscellaneous code for
|
||||||
|
convenience, extension and workaround purposes.
|
||||||
|
|
||||||
|
This package provides slip.gtk.set_autowrap(), a convenience function which
|
||||||
|
lets gtk labels be automatically re-wrapped upon resizing.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
%fdupes %{buildroot}/%{python_sitelib}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING
|
||||||
|
%dir %{python_sitelib}/slip/
|
||||||
|
%dir %{python_sitelib}/slip/_wrappers
|
||||||
|
%{python_sitelib}/slip/__init__.py*
|
||||||
|
%{python_sitelib}/slip/util
|
||||||
|
%{python_sitelib}/slip-%{version}-py%{python_version}.egg-info
|
||||||
|
%{python_sitelib}/slip/_wrappers/__init__.*
|
||||||
|
%{python_sitelib}/slip/_wrappers/_glib.*
|
||||||
|
|
||||||
|
%files dbus
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc doc/dbus/*
|
||||||
|
%{python_sitelib}/slip/dbus
|
||||||
|
%{python_sitelib}/slip.dbus-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
%files gtk
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{python_sitelib}/slip/gtk
|
||||||
|
%{python_sitelib}/slip.gtk-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user