SUNWpygtksourceview26.spec revision 20134
12606N/A#
12606N/A# spec file for package SUNWpygtksourceview26 aka
12606N/A# library/python-2/pygtksourceview-26
12606N/A#
12606N/A# includes module(s): pygtksourceview
12606N/A#
12606N/A# Copyright (c) 2005,2011, Oracle and/or its affiliates. All rights reserved.
12606N/A#
12606N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
12606N/A#
18644N/A%define owner laca
17182N/A#
12747N/A%include Solaris.inc
12747N/A%define pythonver 2.6
17026N/A%define python_version %{pythonver}
12606N/A
12606N/A%use pygtksourceview = pygtksourceview.spec
12606N/A
12606N/AName: SUNWpygtksourceview26
18688N/AIPS_package_name: library/python-2/pygtksourceview2-26
18688N/AMeta(info.classification): %{classification_prefix}:Development/Python
12606N/ASummary: Python 2.6 bindings for the gtksourceview library
18593N/AVersion: %{pygtksourceview.version}
19013N/ASUNW_BaseDir: %{_basedir}
12606N/ASUNW_Copyright: %{name}.copyright
12773N/ALicense: %{pygtksourceview.license}
17488N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18106N/A
12606N/A%include default-depend.inc
12771N/A%include gnome-consolidation.inc
12606N/ARequires: SUNWPython26
12606N/ARequires: SUNWpygobject26
12606N/ARequires: SUNWgnome-gtksourceview
20857N/ABuildRequires: SUNWPython26-devel
16401N/ABuildRequires: SUNWpygobject26-devel
12606N/ABuildRequires: SUNWpygtk2-26-devel
12606N/ABuildRequires: SUNWgnome-gtksourceview-devel
12606N/ABuildRequires: SUNWpython26-setuptools
12606N/ABuildRequires: SUNWgsed
12606N/A
18993N/A%package devel
20857N/ASummary: %{summary} - development files
16401N/ASUNW_BaseDir: %{_basedir}
16401N/A%include default-depend.inc
12606N/A%include gnome-consolidation.inc
12606N/ARequires: %name
12606N/ARequires: SUNWPython26
12606N/A
12606N/A%prep
12606N/Arm -rf %name-%version
12606N/Amkdir %name-%version
12606N/A%pygtksourceview.prep -d %name-%version
12606N/A
12606N/A%build
12606N/APKG_CONFIG_DISABLE_UNINSTALLED=
12606N/Aunset PKG_CONFIG_DISABLE_UNINSTALLED
17488N/A
18106N/Aexport PYTHON="/usr/bin/python2.6"
12606N/Aexport CPPFLAGS="-I/usr/xpg4/include -I/usr/include/python%{pythonver}"
12606N/Aexport CFLAGS="%optflags -I/usr/xpg4/include -I%{_includedir} -I/usr/include/python%{pythonver}"
12606N/Aexport RPM_OPT_FLAGS="$CFLAGS"
12606N/Aexport LDFLAGS="%_ldflags"
12606N/Aexport PYCC_CC="$CC"
12648N/Aexport PYCC_CXX="$CXX"
12773N/A
12773N/A%pygtksourceview.build -d %name-%version
12773N/A
12606N/A%install
12606N/Arm -rf $RPM_BUILD_ROOT
12606N/A%pygtksourceview.install -d %name-%version
12606N/A
12606N/A# move to vendor-packages
12606N/Aif [ -x $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages ]; then
12606N/Amkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
12606N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
12606N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
12606N/Armdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
12606N/Afi
12606N/A
12606N/A%clean
12606N/Arm -rf $RPM_BUILD_ROOT
12606N/A
12606N/A%files
12606N/A%defattr(-, root, bin)
12606N/A%dir %attr (0755, root, bin) %{_libdir}
12606N/A%{_libdir}/python?.?/vendor-packages
12606N/A
12606N/A%files devel
12606N/A%defattr(-, root, bin)
12606N/A%dir %attr (0755, root, bin) %{_libdir}
12606N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
12606N/A%{_libdir}/pkgconfig/*
12606N/A%dir %attr (0755, root, sys) %{_datadir}
12606N/A%{_datadir}/*
12606N/A
12606N/A%changelog
12606N/A* Fri Feb 4 2010 - laszlo.peter@oracle.com
12606N/A- created, based on SUNWgnome-python26-libs.spec
12606N/A* Wed Sep 23 2009 - brian.cameron@sun.com
12606N/A- Use PKG_CONFIG_TOP_BUILD_DIR environment variable when building pygtk and
12606N/A pygtksourceview, so that pkg-config expands $(top_builddir), otherwise
12606N/A pygobject pkg-config variables do not expand nicely and the build fails.
12606N/A* Sat Jun 20 2009 - christian.kelly@sun.com
12606N/A- Minor pkg'ing fix.
12606N/A* Wed Mar 25 2009 - li.yuan@sun.com
12606N/A- Move pyspi from SUNWgnome-python-libs to SUNWgnome-a11y-libs.
14057N/A* Mon Feb 2 2009 - laca@sun.com
12606N/A- created, based on SUNWgnome-python25-libs.spec
12606N/A* Tue Nov 25 2008 - laca@sun.com
12606N/A- get rid of SUNWgnome-python-libs-common because there are no files
12606N/A that we can share between 2.4 and 2.5.
12606N/A* Mon Nov 24 2008 - laca@sun.com
12606N/A- created, based on SUNWPython-extra.spec
12606N/A* Wed Sep 17 2008 - laca@sun.com
12606N/A- set PYTHON to python2.4 (instead of just python) to make sure the
18106N/A right version is used for the build
12606N/A* Tue Aug 12 2008 - damien.carbery@sun.com
12606N/A- Add %{_libdir}/libpyglib-2.0.so* to %files.
12606N/A* Mon Aug 11 2008 - damien.carbery@sun.com
12606N/A- Move site-packages to vendor-packages here because pygobject 2.15.2 borked
18106N/A when vendor-packages was specified by pyexecdir and pythondir in make
12606N/A install.
12606N/A* Tue Oct 16 2007 - damien.carbery@sun.com
12606N/A- Remove unnecessary environment variable settings.
12606N/A* Mon Oct 8 2007 - damien.carbery@sun.com
12606N/A- Add SUNWgnome-gtksourceview dependency as it is required to by
12606N/A pygtksourceview.
12606N/A* Sun Oct 7 2007 - damien.carbery@sun.com
12606N/A- Add pygtksourceview as it is required to build python bindings in gedit.
12606N/A* Fri Sep 28 2007 - laca@sun.com
12606N/A- delete some unnecessary env vars
12606N/A* Fri Aug 31 2007 - damien.carbery@sun.com
13056N/A- Remove pygtksourceview.spec. It is still not building and isn't required.
15832N/A* Thu Jul 05 2007 - damien.carbery@sun.com
15832N/A- Add pygtksourceview.spec, but disable it because it is not building yet.
15832N/A* Tue Jan 9 2007 - laca@sun.com
15832N/A- define PYCC_CC and PYCC_CXX to override what the configure script sets
14437N/A in CC/CXX
14437N/A* Mon Aug 28 2006 - damien.carbery@sun.com
14057N/A- Fix typo in PKG_CONFIG_PATH data (s/=/-/).
14057N/A* Sun Jun 11 2006 - laca@sun.com
14193N/A- change group from other to bin/sys
14000N/A* Fri May 12 2006 - damien.carbery@sun.com
14000N/A- Small update to dependency list after check-deps.pl run.
14000N/A* Thu May 11 2006 - brian.cameron@sun.com
13615N/A- Move pygtk-demo to demo directory.
13615N/A* Wed Apr 5 2006 - damien.carbery@sun.com
13615N/A- Add pygobject. It has been moved from pygtk2.
13535N/A* Mon Feb 20 2006 - damien.carbery@sun.com
13535N/A- Complete update of Build/Requires after running check-deps.pl script.
13535N/A* Fri Feb 17 2006 - damien.carbery@sun.com
13056N/A- Update Build/Requires after running check-deps.pl script.
13056N/A* Mon Jan 09 2006 - damien.carbery@sun.com
12606N/A- Add gnome-vfs module.
13015N/A* Thu Oct 27 2005 - laca@sun.com
13015N/A- add pygtk2
13015N/A* Tue Sep 20 2005 - laca@sun.com
13015N/A- move to /usr as Python was also moved there
12648N/A* Thu Sep 01 2005 - damien.carbery@sun.com
12648N/A- Remove unused pygtk2 references.
12648N/A* Wed Aug 30 2005 - damien.carbery@sun.com
12606N/A- Add Build/Requires for SUNWgnome-file-mgr (nautilus) and SUNWgnome-print
12606N/A (libgnomeprint/libgnomeprintui) so that those submodules will be built.
12606N/A* Mon Aug 29 2005 - rich.burridge@sun.com
12606N/A- Adjusted to put files under /usr/sfw
12606N/A* Thu Aug 25 2005 - rich.burridge@sun.com
12606N/A- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed.
12606N/A* Mon Aug 22 2005 - rich.burridge@sun.com
12606N/A- Adjustments needed to make the package proto maps equivalent to what gets
12606N/A installed via "make install"
12606N/A* Thu Aug 11 2005 - rich.burridge@sun.com
12606N/A- initial version
12606N/A
12606N/A
12606N/A
12606N/A