1 # 2 # spec file for package SUNWpython-twisted 3 # 4 # Copyright 2008 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 %define owner jouby 9 # 10 %include Solaris.inc 11 12 %define pythonver 2.6 13 %use pt = python-twisted.spec 14 15 Name: SUNWpython26-twisted 16 Summary: %{pt.summary} 17 License: MIT 18 URL: %{pt.url} 19 Version: %{pt.version} 20 SUNW_BaseDir: %{_basedir} 21 SUNW_Copyright: SUNWpython-twisted.copyright 22 BuildRoot: %{_tmppath}/%{name}-%{version}-build 23 Requires: SUNWPython26 24 BuildRequires: SUNWPython26-devel 25 BuildRequires: SUNWpython26-zope-interface 26 BuildRequires: SUNWpython26-setuptools 27 28 %include default-depend.inc 29 30 %prep 31 rm -rf %{name}-%{version} 32 mkdir -p %{name}-%{version} 33 %pt.prep -d %{name}-%{version} 34 35 %build 36 %pt.build -d %{name}-%{version} 37 38 %install 39 rm -rf $RPM_BUILD_ROOT 40 %pt.install -d %{name}-%{version} 41 42 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} 43 44 %clean 45 rm -rf $RPM_BUILD_ROOT 46 47 %files 48 %defattr (-, root, bin) 49 %dir %attr (0755, root, bin) %{_basedir}/demo/twisted-python%{pythonver} 50 %{_basedir}/demo/twisted-python%{pythonver}/* 51 %dir %attr (0755, root, bin) %{_libdir} 52 %{_libdir}/python%{pythonver}/vendor-packages/Twisted-%{version}-py%{pythonver}.egg-info 53 %{_libdir}/python%{pythonver}/vendor-packages/twisted 54 %doc -d Twisted-%{version} README twisted/topfiles/README twisted/conch/topfiles/README 55 %doc -d Twisted-%{version} twisted/flow/topfiles/README twisted/lore/topfiles/README 56 %doc -d Twisted-%{version} twisted/mail/topfiles/README twisted/names/topfiles/README 57 %doc -d Twisted-%{version} twisted/news/topfiles/README twisted/pair/topfiles/README 58 %doc -d Twisted-%{version} twisted/python/zsh/README twisted/runner/topfiles/README 59 %doc -d Twisted-%{version} twisted/web/topfiles/README twisted/words/topfiles/README 60 %doc -d Twisted-%{version} doc/conch/benchmarks/README doc/core/examples/threadedselect/README 61 %doc -d Twisted-%{version} twisted/topfiles/CREDITS 62 %doc(bzip2) -d Twisted-%{version} LICENSE twisted/copyright.py NEWS 63 %doc(bzip2) -d Twisted-%{version} twisted/topfiles/NEWS twisted/conch/topfiles/NEWS 64 %doc(bzip2) -d Twisted-%{version} twisted/lore/topfiles/NEWS twisted/mail/topfiles/NEWS 65 %doc(bzip2) -d Twisted-%{version} twisted/names/topfiles/NEWS twisted/news/topfiles/NEWS 66 %doc(bzip2) -d Twisted-%{version} twisted/runner/topfiles/NEWS twisted/web/topfiles/NEWS 67 %doc(bzip2) -d Twisted-%{version} twisted/words/topfiles/NEWS 68 %doc(bzip2) -d Twisted-%{version} twisted/topfiles/ChangeLog.Old 69 %dir %attr (0755, root, sys) %{_datadir} 70 %dir %attr (0755, root, other) %{_datadir}/doc 71 72 %changelog 73 * Thu Oct 27 2009 - yuntong.jin@sun.com 74 - Change the owner to jouby 75 * Thu Feb 12 2009 - brian.cameron@sun.com 76 - created 2.6 version based on SUNWpython-twisted.spec. 77 * Tue Dec 02 2008 - brian.cameron@sun.com 78 - Add missing build dependency SUNWpython-setuptools 79 * Wed Jul 23 2008 - brian.cameron@sun.com 80 - Bump to 8.1. 81 * Tue Feb 19 2008 - darren.kenny@sun.com 82 - Move demo scripts from /usr/bin to /usr/demo/twisted 83 * Tue Feb 12 2008 - dermot.mccluskey@sun.com 84 - initial version 85