python-slip-vl.spec 7.0 KB

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