18861N/A#
18861N/A# spec file for package SUNWccsm
18861N/A####################################################################
18861N/A# compizconfig-settings-manager(ccsm): A fully featured Python/GTK
18861N/A# based settings manager for the CompizConfig system.
18861N/A####################################################################
18861N/A#
18861N/A# Copyright 2009 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner erwannc
18861N/A
18861N/A%include Solaris.inc
18861N/A
18861N/A%define OSR 8297:1.6.2
18861N/A
18861N/A%define src_name ccsm
18861N/A
18861N/AName: SUNWccsm
18861N/AIPS_package_name: desktop/compiz/ccsm
18861N/AMeta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
18861N/ASummary: ccsm settings manager for the CompizConfig system
18861N/ALicense: GPL v2
18861N/AVersion: 0.8.2
18861N/ASource: http://releases.compiz-fusion.org/%{version}/%{src_name}-%{version}.tar.bz2
18861N/A# owner:jedy date:2008-08-11 type:branding
18861N/APatch1: ccsm-01-desktop.diff
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/A
18861N/A%ifnarch sparc
18861N/A# these packages are only avavilable on x86
18861N/A# =========================================
18861N/A
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
18861N/A# add build and runtime dependencies here:
19997N/ABuildRequires: SUNWpygtk2-26-devel
18993N/ABuildRequires: SUNWPython26
18993N/ABuildRequires: SUNWpython26-setuptools
19821N/ABuildRequires: SUNWcompizconfig-python
18861N/ABuildRequires: SUNWlibsexy
18993N/ARequires: SUNWdbus-python26
19997N/ARequires: SUNWpygtk2-26
18993N/ARequires: SUNWPython26
18861N/ARequires: SUNWcompizconfig-python
18861N/ARequires: SUNWlibsexy
18861N/ARequires: SUNWdesktop-cache
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
18861N/A
18861N/A%define pythonver 2.6
18861N/A
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/ARequires: %{name}
18861N/A
18861N/A%prep
18861N/A%setup -q -n %{src_name}-%version
18861N/A%patch1 -p1
18861N/A
18861N/A%build
18861N/Apython%{pythonver} setup.py build --prefix=%{_prefix}
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/Apython%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
18861N/A
18861N/A# move to vendor-packages
18861N/Amkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
18861N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
18861N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
18861N/Armdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
18861N/A
18861N/A%post
18861N/A%restart_fmri desktop-mime-cache mime-types-cache
18861N/A
18861N/A%postun
18861N/A%restart_fmri desktop-mime-cache mime-types-cache
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%files
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_bindir}
18861N/A%{_bindir}/*
18861N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%{_libdir}/python%{pythonver}/vendor-packages
18861N/A%dir %attr(0755, root, sys) %{_datadir}
18861N/A%dir %attr (0755, root, other) %{_datadir}/ccsm
18861N/A%{_datadir}/ccsm/*
18861N/A%dir %attr (0755, root, other) %{_datadir}/applications
18861N/A%{_datadir}/applications/ccsm.desktop
18861N/A%attr (0755, root, other) %{_datadir}/icons
20829N/A
18861N/A%files l10n
18861N/A%defattr (-, root, other)
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%{_datadir}/locale/*
18861N/A
18861N/A# endif for "ifnarch sparc"
18861N/A%endif
18861N/A
18861N/A%changelog
18861N/A* Thu Aug 13 2009 - christian.kelly@sun.com
18861N/A- Bump to 0.8.2.
18861N/A* Fri Apr 3 2009 - laca@sun.com
18861N/A- use desktop-cache instead of postrun
18861N/A* Mon Aug 11 2008 - jedy.wang@sun.com
18861N/A- Add 02-desktop.diff to hide the menu enty form the menu because it has
18861N/A been integrated into gnome-appearance-properties.
18861N/A* Tue Jun 01 2008 - damien.carbery@sun.com
18861N/A- Fix perms in %files.
18861N/A* Wed Mar 26 2008 - dave.lin@sun.com
18861N/A- change to not build this component on SPARC
18861N/A* Fri Feb 22 2008 - takao.fujiwara@sun.com
18861N/A- Add ccsm-01-po.diff to add cs.po, es.po, hu.po, ja.po, ko.po from HEAD.
18861N/A* Wed Feb 13 2008 - erwann@sun.com
18861N/A- Moved to SFO
18861N/A* Wed Nov 14 2007 - daymobrew@users.sourceforge.net
18861N/A- Add l10n package.
18861N/A* Mon Oct 29 2007 - trisk@acm.jhu.edu
18861N/A- Bump to 0.6.0
18861N/A* Sat Sep 08 2007 - trisk@acm.jhu.edu
18861N/A- Correct rules, remove -root, fix Python library location
18861N/A* Fri Aug 14 2007 - erwann@sun.com
18861N/A- Initial spec
18861N/A
19159N/A
19476N/A