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.6
     13 %use ptw = python-twisted-web2.spec
     14 
     15 Name:                    SUNWpython26-twisted-web2
     16 Summary:                 %{ptw.summary}
     17 License:                 MIT
     18 URL:                     %{ptw.url}
     19 Version:                 %{ptw.version}
     20 SUNW_BaseDir:            %{_basedir}
     21 SUNW_Copyright:          SUNWpython-twisted-web2.copyright
     22 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
     23 BuildRequires:           SUNWpython26-twisted
     24 BuildRequires:           SUNWpython26-setuptools
     25 Requires:                SUNWPython26
     26 Requires:                SUNWpython26-twisted
     27 
     28 %include default-depend.inc
     29 
     30 %prep
     31 rm -rf %{name}-%{version}
     32 mkdir -p %{name}-%{version}
     33 %ptw.prep -d %{name}-%{version}
     34 
     35 %build
     36 %ptw.build -d %{name}-%{version}
     37 
     38 %install
     39 rm -rf $RPM_BUILD_ROOT
     40 %ptw.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) %{_libdir}
     50 %{_libdir}/python%{pythonver}/vendor-packages/*
     51 %doc -d TwistedWeb2-%{version} README
     52 %doc(bzip2) -d TwistedWeb2-%{version} LICENSE NEWS
     53 %dir %attr (0755, root, sys) %{_datadir}
     54 %dir %attr (0755, root, other) %{_datadir}/doc
     55 
     56 %changelog
     57 * Thu Oct 27 2009 - yuntong.jin@sun.com
     58 - Change the owner to jouby
     59 * Thu Feb 12 2009 - brian.cameron@sun.com
     60 - created 2.6 version based on SUNWpython-twisted-web2.spec.
     61 * Tue Sep 30 2008 - brian.cameron@sun.com
     62 - Bump to 8.1.0.
     63 * Fri Jul 25 2008 - brian.cameron@sun.com
     64 - Initial version.
     65