1 | Name: python-slip |
---|
2 | Version: 0.2.14 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Miscellaneous convenience, extension and workaround code for Python |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://fedorahosted.org/python-slip |
---|
9 | |
---|
10 | Source0: http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2 |
---|
11 | Patch0: python-slip-0.2.14-noselinux.patch |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | BuildArch: noarch |
---|
15 | |
---|
16 | BuildRequires: python |
---|
17 | BuildRequires: python-devel |
---|
18 | |
---|
19 | %description |
---|
20 | The Simple Library for Python packages contain miscellaneous code for |
---|
21 | convenience, extension and workaround purposes. |
---|
22 | |
---|
23 | This package provides the "slip" and the "slip.util" modules. |
---|
24 | |
---|
25 | %package dbus |
---|
26 | Summary: Convenience functions for dbus services |
---|
27 | Summary(ja): Convenience functions for dbus services |
---|
28 | Group: System Environment/Libraries |
---|
29 | Requires: %{name} = %{version}-%{release} |
---|
30 | Requires: dbus-python |
---|
31 | Requires: pygobject |
---|
32 | Requires: polkit |
---|
33 | Requires: python-decorator |
---|
34 | |
---|
35 | %description dbus |
---|
36 | The Simple Library for Python packages contain miscellaneous code for |
---|
37 | convenience, extension and workaround purposes. |
---|
38 | |
---|
39 | This package provides slip.dbus.service.Object, which is a dbus.service.Object |
---|
40 | derivative that ends itself after a certain time without being used and/or if |
---|
41 | there are no clients anymore on the message bus, as well as convenience |
---|
42 | functions and decorators for integrating a dbus service with PolicyKit. |
---|
43 | |
---|
44 | %package gtk |
---|
45 | Summary: Code to make auto-wrapping gtk labels |
---|
46 | Summary(ja): Code to make auto-wrapping gtk labels |
---|
47 | Group: System Environment/Libraries |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | Requires: pygtk2 |
---|
50 | |
---|
51 | %description gtk |
---|
52 | The Simple Library for Python packages contain miscellaneous code for |
---|
53 | convenience, extension and workaround purposes. |
---|
54 | |
---|
55 | This package provides slip.gtk.set_autowrap(), a convenience function which |
---|
56 | lets gtk labels be automatically re-wrapped upon resizing. |
---|
57 | |
---|
58 | %prep |
---|
59 | %setup -q |
---|
60 | %patch0 -p1 -b .noselinux |
---|
61 | |
---|
62 | %build |
---|
63 | make %{?_smp_mflags} |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf %buildroot |
---|
67 | make install DESTDIR=%buildroot |
---|
68 | |
---|
69 | %clean |
---|
70 | rm -rf %buildroot |
---|
71 | |
---|
72 | %files |
---|
73 | %defattr(-,root,root,-) |
---|
74 | %doc COPYING doc/dbus |
---|
75 | %dir %{python_sitelib}/slip/ |
---|
76 | %{python_sitelib}/slip/__init__.py* |
---|
77 | %{python_sitelib}/slip/util |
---|
78 | %{python_sitelib}/slip-%{version}-py%{python_version}.egg-info |
---|
79 | |
---|
80 | %files dbus |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %doc doc/dbus/* |
---|
83 | %{python_sitelib}/slip/dbus |
---|
84 | %{python_sitelib}/slip.dbus-%{version}-py%{python_version}.egg-info |
---|
85 | |
---|
86 | %files gtk |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %{python_sitelib}/slip/gtk |
---|
89 | %{python_sitelib}/slip.gtk-%{version}-py%{python_version}.egg-info |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.14-2 |
---|
93 | - add R: python-decorator |
---|
94 | |
---|
95 | * Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.14-1 |
---|
96 | - initial build for Vine Linux |
---|
97 | |
---|
98 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-2 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
100 | |
---|
101 | * Mon Oct 11 2010 Nils Philippsen <nils@redhat.com> - 0.2.14-1 |
---|
102 | - use plain "raise" in some places to ease debugging |
---|
103 | |
---|
104 | * Tue Aug 31 2010 Nils Philippsen <nils@redhat.com> - 0.2.13-1 |
---|
105 | - revert "use tempfile.mkstemp" |
---|
106 | |
---|
107 | * Tue Aug 24 2010 Nils Philippsen <nils@redhat.com> - 0.2.12-1 |
---|
108 | - use os.path.abspath instead of .realpath (#615819) |
---|
109 | - use tempfile.mkstemp |
---|
110 | - don't use hardcoded file ext separator |
---|
111 | |
---|
112 | * Wed Jun 30 2010 Nils Philippsen <nils@redhat.com> - 0.2.11-1 |
---|
113 | - fix re-raising exceptions |
---|
114 | - add slip.util.files.overwrite_safely() |
---|
115 | |
---|
116 | * Fri Jun 11 2010 Nils Philippsen <nils@redhat.com> - 0.2.10-1 |
---|
117 | - add pygobject2 requirement to dbus subpackage |
---|
118 | |
---|
119 | * Mon Mar 22 2010 Nils Philippsen <nils@redhat.com> - 0.2.9-1 |
---|
120 | - fix throwing auth fail exceptions |
---|
121 | |
---|
122 | * Thu Mar 11 2010 Nils Philippsen <nils@redhat.com> - 0.2.8-1 |
---|
123 | - improve polkit.enable_proxy decorator |
---|
124 | |
---|
125 | * Thu Feb 11 2010 Nils Philippsen <nils@redhat.com> |
---|
126 | - deprecate IsSystemBusNameAuthorized() |
---|
127 | |
---|
128 | * Tue Sep 29 2009 Nils Philippsen <nils@redhat.com> - 0.2.7-1 |
---|
129 | - fix persistent service objects |
---|
130 | |
---|
131 | * Mon Sep 28 2009 Nils Philippsen <nils@redhat.com> - 0.2.6-1 |
---|
132 | - ship all slip.dbus modules (#525790) |
---|
133 | |
---|
134 | * Thu Sep 24 2009 Nils Philippsen <nils@redhat.com> - 0.2.5-1 |
---|
135 | - make polkit checks in dbus services non-blocking |
---|
136 | |
---|
137 | * Mon Sep 14 2009 Nils Philippsen <nils@redhat.com> |
---|
138 | - improve example documentation |
---|
139 | |
---|
140 | * Tue Sep 08 2009 Nils Philippsen <nils@redhat.com> - 0.2.4-1 |
---|
141 | - fix dbus example |
---|
142 | |
---|
143 | * Tue Sep 01 2009 Nils Philippsen <nils@redhat.com> - 0.2.3-1 |
---|
144 | - add issamefile(), linkfile(), linkorcopyfile() to slip.util.files |
---|
145 | |
---|
146 | * Tue Sep 01 2009 Nils Philippsen <nils@redhat.com> - 0.2.2-1 |
---|
147 | - add slip.util.files |
---|
148 | |
---|
149 | * Tue Aug 25 2009 Nils Philippsen <nils@redhat.com> - 0.2.1-1 |
---|
150 | - ship slip.gtk.tools |
---|
151 | |
---|
152 | * Mon Aug 24 2009 Nils Philippsen <nils@redhat.com> - 0.2.0-1 |
---|
153 | - use PolicyKit version 1.0 if possible (#518996) |
---|
154 | - update and ship dbus README |
---|
155 | |
---|
156 | * Fri Aug 21 2009 Nils Philippsen <nils@redhat.com> |
---|
157 | - require polkit >= 0.94 from F-12 on |
---|
158 | |
---|
159 | * Thu Nov 27 2008 Nils Philippsen <nphilipp@redhat.com |
---|
160 | - use fedorahosted.org URLs |
---|
161 | |
---|
162 | * Tue Oct 14 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.15 |
---|
163 | - add slip.dbus.polkit.AreAuthorizationsObtainable() |
---|
164 | |
---|
165 | * Mon Sep 15 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.14 |
---|
166 | - clarify examples a bit |
---|
167 | |
---|
168 | * Tue Sep 09 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.13 |
---|
169 | - add working examples |
---|
170 | |
---|
171 | * Fri Aug 29 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.12 |
---|
172 | - make slip.dbus.service.Object persistence overridable per object |
---|
173 | |
---|
174 | * Tue Aug 05 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.11 |
---|
175 | - implement freezing/thawing hooks |
---|
176 | |
---|
177 | * Tue Aug 05 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.10 |
---|
178 | - implement disabling/enabling hooks |
---|
179 | |
---|
180 | * Tue Aug 05 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.9 |
---|
181 | - make slip.util.hookable more flexible, easier extendable |
---|
182 | |
---|
183 | * Mon Aug 04 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.8 |
---|
184 | - add slip.util.hookable |
---|
185 | |
---|
186 | * Thu Jul 24 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.7 |
---|
187 | - fix import error (#456511) |
---|
188 | |
---|
189 | * Wed Jul 23 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.6 |
---|
190 | - move proxy.polkit_enable to polkit.enable_proxy |
---|
191 | - rename polkit.NotAuthorized to NotAuthorizedException, polkit.auth_required |
---|
192 | to require_auth |
---|
193 | |
---|
194 | * Tue Jul 22 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.5 |
---|
195 | - don't reset timeout on failed polkit authorizations |
---|
196 | |
---|
197 | * Mon Jul 21 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.4 |
---|
198 | - implement PolicyKit convenience functions and decorators |
---|
199 | - rename slip.dbus.service.TimeoutObject -> slip.dbus.service.Object |
---|
200 | |
---|
201 | * Fri Jul 11 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.3 |
---|
202 | - BR: python-devel |
---|
203 | |
---|
204 | * Fri Jul 11 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.2 |
---|
205 | - fix more inconsistent tabs/spaces |
---|
206 | |
---|
207 | * Fri Jul 11 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1.1 |
---|
208 | - fix inconsistent tabs/spaces |
---|
209 | |
---|
210 | * Tue May 27 2008 Nils Philippsen <nphilipp@redhat.com> - 0.1 |
---|
211 | - move gtk.py -> gtk/__init__.py |
---|
212 | - rename gtk.set_autowrap () -> gtk.label_autowrap () |
---|
213 | |
---|
214 | * Mon May 26 2008 Nils Philippsen <nphilipp@redhat.com> |
---|
215 | - initial build |
---|