SUNWterminator.spec revision 19441
10103N/A#
10103N/A# spec file for package terminator
10103N/A#
10103N/A# Copyright 2010 Sun Microsystems, Inc.
10103N/A# This file and all modifications and additions to the pristine
10103N/A# package are under the same license as the package itself.
10103N/A#
10103N/A%define owner kevmca
10103N/A#
10103N/A
10103N/A%include Solaris.inc
10103N/A
10103N/A%define OSR 9644:0.9
10103N/A
10103N/A%define python_version 2.6
10103N/A
10103N/AName: SUNWterminator
10103N/AIPS_package_name: terminal/terminator
10103N/AMeta(info.classification): %{classification_prefix}:Applications/System Utilities
10103N/ALicense: GPLv2
10103N/AVendor: www.tenshu.net/terminator
10103N/AVersion: 0.95
10103N/ASummary: Multiple GNOME terminals in one window
10103N/ASource: http://launchpad.net/terminator/trunk/%{version}/+download/terminator_%{version}.tar.gz
10103N/A# date:2009-02-19 owner:mattman type:branding
10103N/APatch1: terminator-01-manpages.diff
10103N/APatch2: terminator-02-py26.diff
10103N/AURL: http://www.tenshu.net/terminator/
10103N/ASUNW_Basedir: %{_basedir}
10103N/ASUNW_Copyright: %{name}.copyright
10103N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10103N/A
10103N/A%include default-depend.inc
10103N/A%include gnome-consolidation.inc
10103N/ABuildRequires: SUNWPython26-devel
10103N/ABuildRequires: SUNWpython26-setuptools
10103N/ARequires: SUNWgnome-python26-libs
10103N/ARequires: SUNWdesktop-cache
10103N/ARequires: SUNWPython26
10103N/ARequires: SUNWgnome-libs
10103N/A
10103N/A%description
10103N/AThis is a project to produce an efficient way of filling a
10103N/Alarge area of screen space with terminals. This is done by
10103N/Asplitting the window into a resizeable grid of terminals. As
10103N/Asuch, you can produce a very flexible arrangements of terminals
10103N/Afor different tasks.
10103N/A
10103N/A%if %build_l10n
10103N/A%package l10n
10103N/AIPS_package_name: terminal/terminator/l10n
10103N/ASummary: %{summary} - l10n files
10103N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_dto_il10n_basedir}
10103N/A%include default-depend.inc
10103N/A%include gnome-consolidation.inc
10103N/ARequires: %{name}
10103N/A%endif
10103N/A
10103N/A%prep
10103N/A%setup -q -c -n terminator-%{version}
10103N/Acd terminator-%{version}
10103N/A%patch1 -p1
10103N/A%patch2 -p1
10103N/A%if %build_l10n
10103N/Arm po/ru_RU.po
10103N/A%endif
10103N/A
10103N/A%build
10103N/Aexport PYTHON="/usr/bin/python%{python_version}"
10103N/Acd terminator-%{version}
10103N/Apython%{python_version} setup.py build
10103N/A
10103N/A%install
10103N/Arm -rf $RPM_BUILD_ROOT
10103N/Acd terminator-%{version}
10103N/Apython%{python_version} setup.py install --root=$RPM_BUILD_ROOT
10103N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
10103N/A
10103N/A%if %build_l10n
10103N/A%else
10103N/Arm -r $RPM_BUILD_ROOT%{_datadir}/locale
10103N/A%endif
10103N/A
10103N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{python_version}/site-packages \
10103N/A $RPM_BUILD_ROOT%{_libdir}/python%{python_version}/vendor-packages
10103N/A
10103N/A%clean
10103N/Arm -rf $RPM_BUILD_ROOT
10103N/A
10103N/A#%post
10103N/A#%restart_fmri icon-cache desktop-mime-cache
10103N/A
10103N/A#%postun
10103N/A#%restart_fmri icon-cache desktop-mime-cache
%files
%defattr(-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/*
%dir %attr(0755, root, sys) %{_datadir}
%dir %attr(0755, root, other) %{_datadir}/applications
%{_datadir}/applications/*
%dir %attr(0755, root, other) %{_datadir}/pixmaps
%{_datadir}/pixmaps/*
%dir %attr(0755, root, other) %{_datadir}/icons
%attr(-, root, other) %{_datadir}/icons/*
%dir %attr (0755, root, bin) %{_mandir}/man1
%{_mandir}/man1/*
%dir %attr (0755, root, bin) %{_mandir}/man5
%{_mandir}/man5/*
%if %build_l10n
%files l10n
%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/locale
%attr(-, root, other) %{_datadir}/locale/*
%endif
%changelog
* Wed Oct 27 2010 - brian.cameron@oracle.com
- Bump to 0.95.
* Tue May 25 2010 - brian.cameron@oracle.com
- Bump to 0.93.
* Tue May 04 2010 - harry.fu@sun.com
- Bypass ru_RU translations at the moment.
* Thu Apr 15 2010 - brian.cameron@sun.com
- Bump to 0.92.
* Wed Jan 27 2010 - brian.cameron@sun.com
- Bump to 0.14.
* Mon Dec 07 2009 - yuntong.jin@sun.com
- use python2.6 in script explicitly.
* Mon Nov 09 2009 - ke.wang@sun.com
- Change dependency from SUNWPython to SUNWPython26.
* Fri Oct 02 2009 - brian.cameron@sun.com
- Now build with Python 2.6. Terminator no longer works with Python 2.4.
See CR #6885253.
* Wed Aug 12 2009 - christian.kelly@sun.com
- Bump to 0.13.
- Remove terminator-02-interpreters.diff, upstream.
* Fri May 29 2009 - kevin.mcareavey@sun.com
- Add patch to fix python path.
* Wed Apr 22 2009 - kevin.mcareavey@sun.com
- Bump to 0.12.
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun.
* Thu Feb 19 2009 - matt.keenan@sun.com
- Add manpages patch for Attributes and ARC case comments.
* Thu Sep 11 2008 - kevin.mcareavey@sun.com
- Add %doc to %files for copyright.
* Fri Aug 8 2008 - kevin.mcareavey@sun.com
- Updated Summary and %description.
* Tue Aug 5 2008 - kevin.mcareavey@sun.com
- Initial version.