#%define alphatag beta Name: gdesklets Version: 0.36.3 Release: 18%{?dist} Summary: Architecture for desktop applets Group: User Interface/Desktops License: GPLv2+ URL: https://launchpad.net/gdesklets Source0: https://launchpad.net/gdesklets/0.3x/release-of-%{version}/+download/%{name}-%{version}.tar.bz2 Source1: gdesklets.appdata.xml # patch0 reported https://bugs.launchpad.net/gdesklets/+bug/1213232 Patch0: transition.patch Patch1: gdesklets-desktop.patch Patch3: gdesklets-m4.patch #Upstream patches Patch10: 174_173.diff Patch11: 175_174.diff Patch12: 176_175.diff Patch13: 177_176.diff Patch14: 179_178.diff Patch15: 180_179.diff Patch16: 186_185.diff Patch17: 188_187.diff BuildRequires: python2-devel > 2.0.0, pyorbit-devel, pygtk2-devel > 2.4.0 BuildRequires: librsvg2-devel, libgtop2-devel >= 2.8.0, gettext, gvfs-devel BuildRequires: libXau-devel, libXdmcp-devel, intltool, gnome-python2-devel BuildRequires: libgnome-devel > 2.6.0, desktop-file-utils, libcap-devel BuildRequires: autoconf automake libtool BuildRequires: libappstream-glib Requires: gnome-python2-gconf >= 2.6.0 %description 'gDesklets' provides an advanced architecture for desktop applets - tiny displays that sit on your desktop such as status meters, icon bars, weather sensors, news tickers. %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .transition %patch1 -p1 -b .gdesklets-desktop %patch3 -p1 -b .m4 %patch10 -p0 -b .174 %patch11 -p0 -b .175 %patch12 -p0 -b .176 %patch13 -p0 -b .177 %patch14 -p0 -b .179 %patch15 -p0 -b .180 %patch16 -p0 -b .186 %patch17 -p0 -b .188 %build autoreconf -fiv %configure \ --disable-static \ --disable-schemas-install make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %find_lang %{name} desktop-file-install \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}{%{_bindir},%{_datadir}/%{name}/data/,%{_datadir}/%{name}/Displays/,%{_datadir}/%{name}/Controls/} # don't want libtool archives find %{buildroot} -name \*.la | xargs rm install -Dp %{SOURCE1} %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml %post /bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : /usr/bin/update-desktop-database &> /dev/null || : %postun if [ $1 -eq 0 ] ; then /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : fi /usr/bin/update-desktop-database &> /dev/null || : %posttrans /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -f %{name}.lang %doc AUTHORS ChangeLog NEWS README %license COPYING %{_bindir}/%{name} %{_datadir}/mime/packages/%{name}.xml %{_datadir}/icons/gnome/48x48/mimetypes/*.png %{_datadir}/pixmaps/%{name}.png %{_sysconfdir}/xdg/autostart/%{name}.desktop %{_datadir}/applications/*.desktop %{_datadir}/%{name}/ %{_libdir}/%{name}/ %{_mandir}/man1/* %{_datadir}/appdata/%{name}.appdata.xml %changelog * Tue Jun 09 2015 Sérgio Basto - 0.36.3-18 - Added 8 patches from upstream. - Removed vfs.patch (https://bugs.launchpad.net/gdesklets/+bug/890817 , I agree with comment #2.) - Removed gdesklets-aarch64.patch and use autoreconf instead. - Added patch to fix obsoleted m4s. - Added desktop-database scriptlet. - Fix License tag and License macro. - Spec clean up. - Fix mixed-use-of-spaces-and-tabs. - Added AppData https://fedoraproject.org/wiki/Packaging:AppData * Sat Sep 27 2014 Rex Dieter 0.36.3-17 - update mimeinfo scriptlets * Sat Aug 16 2014 Fedora Release Engineering - 0.36.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.36.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 01 2014 Kalev Lember - 0.36.3-14 - Rebuilt for libgtop2 soname bump * Fri Aug 16 2013 * Mon Apr 16 2012 Luya Tshimblanaga - 0.36.3-13 - Patch to support aarch64 * Sat Aug 03 2013 Fedora Release Engineering - 0.36.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Mar 14 2013 Michael Schwendt - 0.36.3-11 - Use the more careful and latest conditional to detect Fedora < 19. * Thu Mar 14 2013 Michael Schwendt - 0.36.3-10 - Remove desktop vendor prefix for Fedora >= 19. - Don't include .desktop.in and MIME .xml.in template files. - Build with --disable-static and don't include libtool archives (#889607). * Wed Feb 13 2013 Fedora Release Engineering - 0.36.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.36.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Apr 16 2012 Luya Tshimblanaga - 0.36.3-7 - Bump to address upgradepath autoqa failure * Tue Mar 20 2012 Luya Tshimbalanga - 0.36.3-6 - Adhered to Fedora guideline for desktop declaration - Ported patch from OpenSuse spec version - Patch addressing memory leak (rhbz #747420, launchpad #190894) * Fri Jan 13 2012 Fedora Release Engineering - 0.36.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.36.3-4 - Rebuild for new libpng * Mon Dec 05 2011 Luya Tshimbalanga - 0.36.3-3 - Patch for vfs declaration (rhbz#740610) - Added gvfs-devel and python3-devel for BuildRequires * Tue Feb 08 2011 Fedora Release Engineering - 0.36.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jan 27 2011 Luya Tshimbalanga - 0.36.3-1 - New upstream version - Fixes spec * Wed Aug 11 2010 David Malcolm - 0.36.2-3 - recompiling .py files against Python 2.7 (rhbz#623304) * Wed Mar 03 2010 Luya Tshimbalanga 0.36.2-2 - Changed summary sentence (rhbz#588330) * Wed Mar 03 2010 Luya Tshimbalanga 0.36.2-1.1 - New upstream version - Dropped patch related to python 2.6 compatibility * Thu Oct 29 2009 Luya Tshimbalanga 0.36.1-7 - Add patch to address compatibility with python 2.6 * Fri Jul 24 2009 Fedora Release Engineering - 0.36.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.36.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Dec 01 2008 Ignacio Vazquez-Abrams - 0.36.1-4 - Rebuild for Python 2.6 * Thu Nov 20 2008 Luya Tshimbalanga - 0.36.1-3 - Updated from upstream - (#472263) Removed autogenerated-mime data for integrating check courtesy of Christian Krause (chkr@plauener.de) * Fri Oct 03 2008 Luya Tshimbalanga - 0.36-2 - Cleaned up spec - Minor fixes * Fri Feb 22 2008 Luya Tshimbalanga - 0.36-1 - Update from upstream - Added libcap-devel for dependancy * Tue Feb 19 2008 Fedora Release Engineering - 0.36-0.4.beta - Autorebuild for GCC 4.3 * Fri Nov 23 2007 Luya Tshimbalanga - 0.36.0-3.beta - Changed url adress - Added patch for dialog * Thu Nov 15 2007 Luya Tshimbalanga - 0.36.0-1.beta - New beta release - Removed patch * Tue Aug 21 2007 Luya Tshimbalanga - 0.35.4-9 - Renamed GPL to GPL+ following the new Fedora tagging license schema * Sun Jul 15 2007 Tyler Owen - 0.35.4-8 - Added directory for Displays - Added directory for Controls * Thu Jun 07 2007 Luya Tshimbalanga - 0.35.4-7.1 - Dropped Applet name category - Replaced Accesories name category by Applet - Added patch to remove old Xorg 6.8 notification for transition.py - Removed no-longer needed python-abi * Tue May 15 2007 Luya Tshimbalanga - 0.35.4-5 - Rebuild with Koji * Thu Dec 14 2006 Jason L Tibbitts III - 0.35.4-4 - Rebuild for new Python * Tue Nov 07 2006 Luya Tshimbalanga - 0.35.4-3 - Added gnome-python2-devel for buildrequires (rawhide) * Tue Nov 07 2006 Luya Tshimbalanga - 0.35.4-2 - Removed gnome-python for buildrequires * Tue Nov 07 2006 Luya Tshimbalanga - 0.35.4-1 - Removed patch no longer needed - Updated to 0.35.4 * Thu Aug 31 2006 Luya Tshimbalanga - 0.35.3-14 - Add patch related to pyorbit due to upstream bug * Wed Aug 30 2006 Luya Tshimbalanga - 0.35.3-13.2 - pyorbit for FC-4 is 2.0.1 (-_-) * Wed Aug 30 2006 Luya Tshimbalanga - 0.35.3-13 - Fixed a silly typo - Added intltool for BuildRequires * Sun Aug 27 2006 Luya Tshimbalanga - 0.35.3-10 - Removed unecessary comment * Wed Apr 19 2006 Luya Tshimbalanga - 0.35.3-8 - Remove conditional sign for pyorbit-devel * Mon Apr 03 2006 Luya Tshimbalanga - 0.35.3-5 - Ajusted pyorbit requirement for ppc64 * Thu Jan 19 2006 Luya Tshimbalanga - 0.35.3-4 - Rebuild for Fedora Extras 5 * Mon Jan 16 2006 Luya Tshimbalanga - 0.35.3-1 - Updated to 0.35.3 - Removed thumbmail - Removed patch, no longer needed * Thu Jan 5 2006 Luya Tshimbalanga - 0.35.2-26.fc5 - Minor rebuilt * Thu Jan 5 2006 Luya Tshimbalanga - 0.35.2-25.fc5 - Rebuilt against libgtop2-devel - Changed url of the provider * Sun Dec 18 2005 Luya Tshimbalanga - 0.35.2-24.fc5 - Added libXdmcp-devel on BuildRequires * Sun Dec 18 2005 Luya Tshimbalanga - 0.35.2-23.fc5 - Added libXau-devel on BuildRequires * Wed Dec 14 2005 Luya Tshimbalanga - 0.35.2-22 - Added desktop-file-utils for build requirement - Clean up * Tue Dec 6 2005 Luya Tshimbalanga - 0.35.2-21 - Removed unnecessary comment - More clean up * Tue Dec 6 2005 Luya Tshimbalanga - 0.35.2-20 - Clean up - Fixed the right path for symbolic link * Sat Dec 3 2005 Luya Tshimbalanga - 0.35.2-19 - Added disable-schemas-install on configure - Trying to symlink using nrpms method based on FC3 version * Tue Nov 29 2005 Luya Tshimbalanga - 0.35.2-18 - Added patch against NullObject.py (thanks jwb) * Tue Nov 29 2005 Luya Tshimbalanga - 0.35.2-17 - Reorganized names and fixed install * Mon Nov 21 2005 Luya Tshimbalanga - 0.35.2-12 - Removed pygtk2 * Mon Nov 21 2005 Luya Tshimbalanga - 0.35.2-11 - Added distribution version - Clarified the note about GConf instead of gconf * Fri Nov 18 2005 Luya Tshimbalanga - 0.35.2-10 - Added libgnomeui-devel to test some sensors * Fri Nov 18 2005 Luya Tshimbalanga - 0.35.2-9 - Cleaned up and removed unnecesary buildrequires * Fri Nov 18 2005 Luya Tshimbalanga - 0.35.2-8 - Fixed error on mime.cache * Wed Nov 16 2005 Luya Tshimbalanga - 0.35.2-5 - Added desktop-file-utils command for post and postun * Wed Nov 16 2005 Luya Tshimbalanga - 0.35.2-4 - Fixed mistakes (thanks Alex Lancaster (alexl@users.sourceforge.net)) * Sat Nov 12 2005 Luya Tshimbalanga - 0.35.2-3 - Enhanced codes to be FedoraGuide compliant (thanks to Brian Pepple (bdpepple@ameritech.net)) * Sat Nov 12 2005 Luya Tshimbalanga - 0.35.2-1 - Initial Fedora Extras package