Home | History | Annotate | Download | only in core
      1 #
      2 # spec file for package SUNWpython-twisted-web2
      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.4
     13 %use ptw = python-twisted-web2.spec
     14 
     15 Name:                    SUNWpython-twisted-web2
     16 Summary:                 %{ptw.summary}
     17 License:                 MIT
     18 URL:                     %{ptw.url}
     19 Version:                 %{ptw.version}
     20 SUNW_BaseDir:            %{_basedir}
     21 SUNW_Copyright:          %{name}.copyright
     22 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
     23 Requires:                SUNWPython
     24 Requires:                SUNWpython-twisted
     25 BuildRequires:           SUNWpython-setuptools
     26 
     27 %include default-depend.inc
     28 
     29 %prep
     30 rm -rf %{name}-%{version}
     31 mkdir -p %{name}-%{version}
     32 %ptw.prep -d %{name}-%{version}
     33 
     34 %build
     35 %ptw.build -d %{name}-%{version}
     36 
     37 %install
     38 rm -rf $RPM_BUILD_ROOT
     39 %ptw.install -d %{name}-%{version}
     40 
     41 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
     42 
     43 %clean
     44 rm -rf $RPM_BUILD_ROOT
     45 
     46 %files
     47 %defattr (-, root, bin)
     48 %dir %attr (0755, root, bin) %{_libdir}
     49 %{_libdir}/python%{pythonver}/vendor-packages/twisted
     50 %doc -d TwistedWeb2-%{version} README
     51 %doc(bzip2) -d TwistedWeb2-%{version} LICENSE NEWS
     52 %dir %attr (0755, root, sys) %{_datadir}
     53 %dir %attr (0755, root, other) %{_datadir}/doc
     54 
     55 %changelog
     56 * Thu Oct 27 2009 - yuntong.jin@sun.com
     57 - Change the owner to jouby
     58 * Thu Nov 27 2008 - darren.kenny@sun.com
     59 - Use base spec file
     60 * Tue Sep 30 2008 - brian.cameron@sun.com
     61 - Bump to 8.1.0.
     62 * Fri Jul 25 2008 - brian.cameron@sun.com
     63 - Initial version.
     64