|
Leigh Scott |
76d5a7e |
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
|
Leigh Scott |
76d5a7e |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
Leigh Scott |
76d5a7e |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
Leigh Scott |
76d5a7e |
%endif
|
|
|
be79b4a |
%define basever 0.9.2.1
|
|
|
d25d040 |
|
|
|
d25d040 |
Name: ccsm
|
|
|
be79b4a |
Version: 0.9.2.1
|
|
|
5ee3558 |
Release: 2%{?dist}
|
|
|
d25d040 |
Summary: Plugin and configuration tool - Compiz Fusion Project
|
|
|
d25d040 |
|
|
|
d25d040 |
Group: User Interface/Desktops
|
|
|
d25d040 |
License: GPLv2+
|
|
|
be79b4a |
URL: http://www.compiz.org
|
|
|
d25d040 |
|
|
|
be79b4a |
Source0: http://releases.compiz.org/%{version}/%{name}-%{version}.tar.bz2
|
|
|
d25d040 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Leigh Scott |
76d5a7e |
Patch102: widgets_filter.patch
|
|
|
d25d040 |
# libdrm is not available on these arches
|
|
|
d25d040 |
ExcludeArch: s390 s390x ppc64
|
|
|
d25d040 |
BuildArch: noarch
|
|
|
ad71043 |
BuildRequires: python-devel, gettext, desktop-file-utils, intltool
|
|
|
26f9efc |
Requires: compizconfig-python >= %{basever} , libcompizconfig >= %{basever}
|
|
|
be79b4a |
Requires: pygtk2 >= 2.10, python-sexy
|
|
|
d25d040 |
|
|
|
d25d040 |
%description
|
|
|
d25d040 |
The Compiz Project brings 3D desktop visual effects that improve
|
|
|
d25d040 |
usability of the X Window System and provide increased productivity
|
|
|
d25d040 |
though plugins and themes contributed by the community giving a
|
|
|
d25d040 |
rich desktop experience.
|
|
|
d25d040 |
|
|
|
d25d040 |
This package contains a gui configuration tool to configure Compiz
|
|
|
d25d040 |
plugins and the composite window manager.
|
|
|
d25d040 |
|
|
|
d25d040 |
%prep
|
|
|
d25d040 |
%setup -q
|
|
Leigh Scott |
76d5a7e |
%patch102 -p1 -b .widgets_filter
|
|
|
d25d040 |
|
|
|
d25d040 |
%build
|
|
|
5ee3558 |
CFLAGS="$RPM_OPT_FLAGS" python setup.py build --prefix=%{_usr}
|
|
|
d25d040 |
|
|
|
d25d040 |
%install
|
|
|
d25d040 |
rm -rf $RPM_BUILD_ROOT
|
|
|
be79b4a |
python setup.py install --prefix=%{_prefix} --skip-build --root=$RPM_BUILD_ROOT
|
|
|
d25d040 |
desktop-file-install --vendor="fedora" \
|
|
|
d25d040 |
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
d25d040 |
--remove-category="Compiz" \
|
|
|
d25d040 |
--delete-original \
|
|
|
d25d040 |
$RPM_BUILD_ROOT%{_datadir}/applications/ccsm.desktop
|
|
|
d25d040 |
|
|
|
d25d040 |
%find_lang %{name}
|
|
|
d25d040 |
|
|
|
d25d040 |
%post
|
|
Leigh Scott |
662e4cc |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
d25d040 |
|
|
|
d25d040 |
%postun
|
|
Leigh Scott |
662e4cc |
if [ $1 -eq 0 ] ; then
|
|
Leigh Scott |
662e4cc |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Leigh Scott |
662e4cc |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
d25d040 |
fi
|
|
|
d25d040 |
|
|
Leigh Scott |
662e4cc |
%posttrans
|
|
Leigh Scott |
662e4cc |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Leigh Scott |
662e4cc |
|
|
|
d25d040 |
%clean
|
|
|
d25d040 |
rm -rf $RPM_BUILD_ROOT
|
|
|
d25d040 |
|
|
|
d25d040 |
|
|
|
d25d040 |
%files -f %{name}.lang
|
|
|
d25d040 |
%defattr(-,root,root,-)
|
|
|
d25d040 |
%doc AUTHORS COPYING VERSION
|
|
|
d25d040 |
%{_bindir}/ccsm
|
|
|
d25d040 |
%{_datadir}/applications/fedora-ccsm.desktop
|
|
Leigh Scott |
76d5a7e |
%dir %{_datadir}/ccsm
|
|
Leigh Scott |
76d5a7e |
%{_datadir}/ccsm/*
|
|
|
b8d83fa |
%{_datadir}/icons/hicolor/*/apps/ccsm.*
|
|
Leigh Scott |
76d5a7e |
%dir %{python_sitelib}/ccm
|
|
Leigh Scott |
76d5a7e |
%{python_sitelib}/ccm/*
|
|
|
62c220d |
%{python_sitelib}/ccsm-%{version}-py?.?.egg-info
|
|
|
d25d040 |
|
|
|
d25d040 |
|
|
|
d25d040 |
%changelog
|
|
|
5ee3558 |
* Thu Jan 20 2011 Adam Williamson <awilliam@redhat.com> - 0.9.2.1-2
|
|
|
5ee3558 |
- pass --prefix parameter to build (should fix image location issue)
|
|
|
5ee3558 |
|
|
|
be79b4a |
* Sat Jan 15 2011 Adam Williamson <awilliam@redhat.com> - 0.9.2.1-1
|
|
|
be79b4a |
- new release 0.9.2.1
|
|
|
be79b4a |
- drop two patches now upstreamed
|
|
|
be79b4a |
- apply cflags when building
|
|
|
be79b4a |
- skip build when installing
|
|
|
be79b4a |
- depending on compiz-manager is a silly fix for the settings issue
|
|
|
be79b4a |
correct fix is to have compiz-gtk launch compiz correctly
|
|
|
be79b4a |
|
|
Izhar Firdaus |
af7b96a |
* Fri Nov 19 2010 Izhar Firdaus <kagesenshi.87@gmail.com> - 0.8.4-5
|
|
Izhar Firdaus |
af7b96a |
- added dependency to compiz-manager as compiz-manager loads compiz with ccp,
|
|
Izhar Firdaus |
af7b96a |
and gnome-wm loads compiz-manager if it exist. This should fix the long
|
|
Izhar Firdaus |
af7b96a |
standing bug of ccsm not applying changes.
|
|
Izhar Firdaus |
af7b96a |
|
|
|
371b1d4 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.8.4-4
|
|
|
371b1d4 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
371b1d4 |
|
|
Leigh Scott |
5448f8b |
* Sun May 6 2010 Leigh Scott <leigh123linux@googlemail.com> - 0.8.4-3
|
|
Leigh Scott |
5448f8b |
- add widget_dialog patch (Bz 589677)
|
|
Leigh Scott |
5448f8b |
|
|
Leigh Scott |
76d5a7e |
* Sat May 1 2010 Leigh Scott <leigh123linux@googlemail.com> - 0.8.4-2
|
|
Leigh Scott |
76d5a7e |
- update python marcos
|
|
Leigh Scott |
76d5a7e |
- add widgets_filter patch (Bz 553665)
|
|
Leigh Scott |
76d5a7e |
- fix ccsm directory ownership
|
|
Leigh Scott |
76d5a7e |
|
|
Leigh Scott |
a388964 |
* Sat Jan 16 2010 Leigh Scott <leigh123linux@googlemail.com> - 0.8.4-1
|
|
Leigh Scott |
a388964 |
- Update to 0.8.4
|
|
Leigh Scott |
a388964 |
|
|
|
2b15b39 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
|
|
|
2b15b39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2b15b39 |
|
|
Leigh Scott |
662e4cc |
* Thu Jul 23 2009 Leigh Scott <leigh123linux@googlemail.com> 0.8.2-1
|
|
Leigh Scott |
662e4cc |
- update to 0.8.2
|
|
Leigh Scott |
662e4cc |
- update the defines python_sitelib & python_sitearch
|
|
Leigh Scott |
662e4cc |
- update icon-cache scriptlets
|
|
Leigh Scott |
662e4cc |
|
|
|
23f1021 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.8-2
|
|
|
23f1021 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
23f1021 |
|
|
|
b903df2 |
* Sun Dec 07 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.8-1
|
|
|
b903df2 |
- 0.7.8 update
|
|
|
b903df2 |
|
|
|
62c220d |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.6-4
|
|
|
62c220d |
- Fix locations for Python 2.6
|
|
|
62c220d |
|
|
|
0e424d7 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.6-3
|
|
|
0e424d7 |
- Rebuild for Python 2.6
|
|
|
0e424d7 |
|
|
|
ad71043 |
* Mon Jun 09 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.6-2
|
|
|
ad71043 |
- added BR intltool
|
|
|
ad71043 |
|
|
|
26f9efc |
* Sun Jun 08 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.6-1
|
|
|
26f9efc |
- 0.7.6 update
|
|
|
26f9efc |
|
|
|
b8d83fa |
* Tue Mar 29 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.2-1
|
|
|
b8d83fa |
- 0.7.2 update
|
|
|
b8d83fa |
|
|
|
7a16173 |
* Sat Dec 8 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-5
|
|
|
7a16173 |
- added installed but unpackaged file ccsm-0.6.0-py2.5.egg-info
|
|
|
7a16173 |
|
|
|
21b4d84 |
* Sat Nov 25 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-4
|
|
|
21b4d84 |
- changed requires to allow flexible upgrade of compizconfig-python and libcompizconfig
|
|
|
21b4d84 |
|
|
|
d25d040 |
* Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-3
|
|
|
d25d040 |
- fixed issue with remove shebangs patch
|
|
|
d25d040 |
|
|
|
d25d040 |
* Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-1
|
|
|
d25d040 |
- official upstream 0.6.0 tarball release
|
|
|
d25d040 |
- owns directory
|
|
|
d25d040 |
- removed shebangs from ccm
|
|
|
d25d040 |
- fixed desktop entry
|
|
|
d25d040 |
|
|
|
d25d040 |
* Fri Aug 19 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.3.20071018gita7fa7d
|
|
|
d25d040 |
- removed unneeded BuildReqs
|
|
|
d25d040 |
|
|
|
d25d040 |
* Thu Aug 18 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.2.20071018gita7fa7d
|
|
|
d25d040 |
- 0.6.0 branch
|
|
|
d25d040 |
|
|
|
d25d040 |
* Sun Jun 30 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-0.3.20070630git
|
|
|
d25d040 |
- 20070630git
|
|
|
d25d040 |
- Added BuildReq gettext
|
|
|
d25d040 |
- Added Require compizconfig-python
|
|
|
d25d040 |
- added require pygtk2
|
|
|
d25d040 |
|
|
|
d25d040 |
* Sun Jun 24 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-20070622git
|
|
|
d25d040 |
- Initial specfile, borrowing descriptions from Trevino ubuntu debs
|