%global basever 0.8.14 Name: ccsm Version: 0.8.14 Release: 1%{?dist} Epoch: 1 Summary: Plugin and configuration tool - Compiz Reloaded Project Group: User Interface/Desktops License: GPLv2+ URL: https://github.com/compiz-reloaded/%{name} Source0: https://github.com/compiz-reloaded/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Patch1: ccsm_0001-Include-ccsm.appdata.xml.in-in-the-MANIFEST.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: gobject-introspection-devel BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: intltool Requires: compizconfig-python >= %{version} Requires: libcompizconfig >= %{basever} Requires: python3-cairo Requires: python3-gobject Requires: gobject-introspection Requires: gdk-pixbuf2 Requires: pango Requires: gtk3 %description The Compiz Project brings 3D desktop visual effects that improve usability of the X Window System and provide increased productivity though plugins and themes contributed by the community giving a rich desktop experience. This package contains a GUI configuration tool to configure Compiz plugins and the composite window manager. %prep %autosetup mv ccsm.appdata.xml ccsm.appdata.xml.in %build python3 setup.py build --prefix=%{_prefix} --with-gtk=3.0 %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} mv %{buildroot}%{_datadir}/{metainfo,appdata}/ %find_lang %{name} %check desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/ccsm.desktop %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %doc AUTHORS COPYING VERSION %{_bindir}/ccsm %{_datadir}/appdata/ccsm.appdata.xml %{_datadir}/applications/ccsm.desktop %dir %{_datadir}/ccsm %{_datadir}/ccsm/* %{_datadir}/icons/hicolor/*/apps/ccsm.* %dir %{python3_sitelib}/ccm %{python3_sitelib}/ccm/* %{python3_sitelib}/ccsm-%{version}-py?.?.egg-info %changelog * Thu Apr 20 2017 Wolfgang Ulbrich - 1:0.8.14-1 - update to 0.8.14 release - Fixes for Python3. - Introduce window state selector. - Add an icon for the Earth plugin. - Update translations. - mv ccsm.appdata.xml to follow fedora package guide lines - switch to python3 - modernize spec file * Fri Feb 10 2017 Fedora Release Engineering - 1:0.8.12.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 1:0.8.12.4-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri May 27 2016 Wolfgang Ulbrich - 1:0.8.12.4-1 - update to 0.8.12.4 release * Mon Apr 4 2016 Peter Robinson 1:0.8.12.3.0-2 - s390/ppc64 has libdrm now * Tue Mar 29 2016 Wolfgang Ulbrich - 1:0.8.12.3.0-1 - update to 0.8.12.3.0 release - switch to gtk3 - use a fixed tarball from upstream * Mon Mar 28 2016 Wolfgang Ulbrich - 1:0.8.12.3-1 - update to 0.8.12.3 release - switch to gtk3 * Sat Feb 13 2016 Wolfgang Ulbrich - 1:0.8.12.1-1 - update to 0.8.12.1 release - fix https://github.com/raveit65/ccsm/issues/1 - add more upstream patches * Sat Feb 13 2016 Wolfgang Ulbrich - 1:0.8.12-1 - update to 0.8.12 release * Wed Feb 03 2016 Fedora Release Engineering - 1:0.8.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Nov 06 2015 Wolfgang Ulbrich - 1:0.8.9-1 - update to 0.8.9 - new upstream is at https://github.com/raveit65/ccsm - remove upstreamed patches - remove sed commands - fix rpmlint issue in description (gui --> GUI) - modernize spec file for python * Wed Jun 17 2015 Fedora Release Engineering - 1:0.8.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Mar 18 2015 Wolfgang Ulbrich - 1:0.8.4-16 - rebuild for f22 * Sat Jun 07 2014 Fedora Release Engineering - 1:0.8.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Sep 24 2013 Wolfgang Ulbrich - 1:0.8.4-14 - fix no icons and text in main screen * Sat Aug 03 2013 Fedora Release Engineering - 1:0.8.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Feb 18 2013 Wolfgang Ulbrich - 1:0.8.4-12 - add ccsm_primary-is-control.patch - fix (#910977) * Wed Feb 13 2013 Fedora Release Engineering - 1:0.8.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jan 10 2013 Wolfgang Ulbrich - 1:0.8.4-10 - remove commented out require - drop gettext BR * Sun Dec 02 2012 Wolfgang Ulbrich - 1:0.8.4-9 - remove compizconfig-backend-mateconf require * Mon Oct 15 2012 Wolfgang Ulbrich - 1:0.8.4-8 - build for fedora - rename patches - fix invalid-lc-messages-dir - add Epoch tag * Mon Oct 15 2012 Wolfgang Ulbrich - 0.8.4-7 - remove python sitelib stuff * Wed Sep 19 2012 Wolfgang Ulbrich - 0.8.4-6 - improve spec file * Tue May 15 2012 Wolfgang Ulbrich - 0.8.4-5 - build for mate