Home | History | Annotate | Download | only in core
      1 #
      2 # spec file for package SUNWpython-xdg
      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 dkenny
      9 #
     10 
     11 %include Solaris.inc
     12 
     13 %define pythonver 2.6
     14 %use pyxdg = python-xdg.spec
     15 
     16 Name:            SUNWpython26-xdg
     17 Summary:         %{pyxdg.summary}
     18 URL:             %{pyxdg.url}
     19 Version:         %{pyxdg.version}
     20 SUNW_BaseDir:    %{_basedir}
     21 SUNW_Copyright:  SUNWpython-xdg.copyright
     22 BuildRoot:       %{_tmppath}/%{name}-%{version}-build
     23 BuildRequires:   SUNWPython26-devel
     24 BuildRequires:   SUNWpython26-setuptools
     25 Requires:        SUNWPython26
     26 
     27 %include default-depend.inc
     28 
     29 %description
     30 Extensions to python-distutils for large or complex distributions.
     31 
     32 %prep
     33 rm -rf %{name}-%{version}
     34 mkdir -p %{name}-%{version}
     35 %pyxdg.prep -d  %{name}-%{version}
     36 
     37 %build
     38 %pyxdg.build -d  %{name}-%{version}
     39 
     40 %install
     41 rm -rf $RPM_BUILD_ROOT
     42 %pyxdg.install -d  %{name}-%{version}
     43 
     44 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
     45 
     46 %clean
     47 rm -rf $RPM_BUILD_ROOT
     48 
     49 %files
     50 %defattr (-, root, bin)
     51 %dir %attr (0755, root, bin) %{_libdir}
     52 %{_libdir}/python%{pythonver}/vendor-packages/*
     53 %doc -d  pyxdg-%version AUTHORS README PKG-INFO
     54 %doc(bzip2) -d  pyxdg-%version COPYING ChangeLog
     55 %dir %attr (0755, root, sys) %{_datadir}
     56 %dir %attr (0755, root, other) %{_datadir}/doc
     57 
     58 %changelog
     59 * Thu Feb 12 2009 - brian.cameron@sun.com
     60 - created 2.6 version based on SUNWpython-xdg.spec.
     61 * Tue Nov 18 2008 - jedy.wang@sun.com
     62 - Fix installation directory problem.
     63 * Wed Oct 29 2008 - brian.cameron@sun.com
     64 - Add patch xdg-01-indentation.diff to fix runtime bugzilla bug #18289.
     65 * Mon Oct 27 2008 - brian.cameron@sun.com
     66 - Bump to 0.16.
     67 * Fri Sep 12 2008 - matt.keenn@sun.com
     68 - Update copyright
     69 * Wed May 14 2008 - darren.kenny@sun.com
     70 - Add dependency for SUNWPython
     71 * Tue Feb 12 2008 - dermot.mccluskey@sun.com
     72 - initial version
     73