# Don't provide plugin .so %global __provides_exclude_from %{_libdir}/xfce4/panel/plugins/.*\\.so # Fix Copr builds %{!?_real_vendor:%global _real_vendor mageia} %define url_ver %(echo %{version} | cut -d. -f1,2) %define major 4 %define api 1.0 %define libname %mklibname xfce4panel %{api} %{major} %define gmajor 2.0 %define girname %mklibname xfce4panel-gir %{gmajor} %define gtk3api 2.0 %define gtk3libname %mklibname xfce4panel %{gtk3api} %{major} %define devname %mklibname xfce4panel %{api} -d %define gtk3devname %mklibname xfce4panel %{gtk3api} -d Summary: A Xfce panel Name: xfce4-panel Version: 4.14.0 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://www.xfce.org Source0: https://archive.xfce.org/src/xfce/xfce4-panel/%{url_ver}/%{name}-%{version}.tar.bz2 # Upstream patches # Mga patches Patch500: 0001-Add-fallback-icons-for-action-buttons.patch BuildRequires: intltool BuildRequires: xfce4-dev-tools BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(exo-2) BuildRequires: pkgconfig(garcon-1) BuildRequires: pkgconfig(garcon-gtk3-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libwnck-3.0) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfconf-0) >= 4.13.3 Requires: desktop-common-data Requires: %{_real_vendor}-xfce-config # obsolete old plugins that don't work with xfce 4.8 Obsoletes: xfce4-volstatus-icon < 0.1.0-15 Obsoletes: xfce4-xfapplet-plugin < 0.1.0-15 # integrated since 4.10 to xfce4-panel's action plugin Obsoletes: xfswitch-plugin %description The Xfce 4 Panel supports multiple panels, with many options for their position, appearance, transparency and behavior. There are many items available by default to full fit a panel, like application launchers with detachable menus, a graphical pager, a tasklist, a clock, a system tray, a show/hide desktop switcher, and even more. It offers an easy way to add items using a dialog, and to move items accross different panels. %package -n %{libname} Summary: Panel library for the Xfce desktop environment Group: Graphical desktop/Xfce Obsoletes: %{_lib}xfce4panel3 < 4.8.6 %description -n %{libname} Panel library for the Xfce desktop environment. %package -n %{girname} Summary: GObject Introspection interface description for %{name} Group: System/Libraries Requires: %{gtk3libname} = %{version}-%{release} %description -n %{girname} GObject Introspection interface description for %{name}. %package -n %{gtk3libname} Summary: Panel library (GTK3 version) for the Xfce desktop environment Group: Graphical desktop/Xfce %description -n %{gtk3libname} Panel library (GTK3 version) for the Xfce desktop environment. %package -n %{devname} Summary: Libraries and header files for the %{name} library Group: Development/Other Requires: %{libname} = %{version}-%{release} Requires: %{gtk3libname} = %{version}-%{release} Requires: %{girname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Obsoletes: %{_lib}xfce4panel-devel < 4.12.0-2 %description -n %{devname} Libraries and header files for the %{name} library. %package -n %{gtk3devname} Summary: Libraries and header files for the %{name} library (GTK3 version) Group: Development/Other Requires: %{gtk3libname} = %{version}-%{release} Conflicts: %{_lib}xfce4panel-devel < 4.12.0-2 %description -n %{gtk3devname} Libraries and header files for the %{name} (GTK3 version) library. %prep %setup -q %autopatch -p1 %build %configure2_5x \ --enable-maintainer-mode \ --disable-static %make_build %install %make_install # (tpg) this file is in %{_real_vendor}-xfce-config package rm -rf %{buildroot}%{_sysconfdir}/xdg/xfce4/panel/* %find_lang %{name} # don't ship .la find %{buildroot} -name "*.la" -delete %files -f %{name}.lang %doc README AUTHORS NEWS ChangeLog %dir %{_sysconfdir}/xdg/xfce4/panel %dir %{_libdir}/xfce4/panel %dir %{_libdir}/xfce4/panel/plugins %dir %{_datadir}/xfce4/panel %dir %{_datadir}/xfce4/panel/plugins %{_bindir}/* %{_libdir}/xfce4/panel/plugins/* %{_datadir}/xfce4/panel/plugins/* %{_datadir}/applications/*.desktop %{_iconsdir}/hicolor/*/apps/xfce4-panel* %{_libdir}/xfce4/panel/migrate %{_libdir}/xfce4/panel/wrapper-* %files -n %{girname} %{_libdir}/girepository-1.0/libxfce4panel-%{gmajor}.typelib %files -n %{libname} %{_libdir}/libxfce4panel-%{api}.so.%{major}{,.*} %files -n %{gtk3libname} %{_libdir}/libxfce4panel-%{gtk3api}.so.%{major}{,.*} %files -n %{devname} %{_libdir}/libxfce4panel-%{api}.so %{_libdir}/pkgconfig/libxfce4panel-%{api}.pc %{_includedir}/xfce4/libxfce4panel-%{api}/ %files -n %{gtk3devname} %doc %{_datadir}/gtk-doc/html/libxfce4panel-%{gtk3api}/ %{_libdir}/libxfce4panel-%{gtk3api}.so %{_libdir}/pkgconfig/libxfce4panel-%{gtk3api}.pc %{_includedir}/xfce4/libxfce4panel-%{gtk3api}/ %{_datadir}/gir-1.0/libxfce4panel-%{gmajor}.gir %changelog * Mon Aug 19 2019 wally <wally> 4.14.0-1.mga7 + Revision: 1430265 - new version 4.14.0 * Sun May 19 2019 wally <wally> 4.13.5-2.mga7 + Revision: 1398483 - add patch to add fallback icons for panel action buttons * Sat May 18 2019 wally <wally> 4.13.5-1.mga7 + Revision: 1398243 - new version 4.13.5 - drop patches from usptream * Tue Apr 30 2019 wally <wally> 4.13.4-4.mga7 + Revision: 1395940 - add upstream fixes - tasklist: activate parent windows (xfce#15307) - launcher: fix tooltip icon size (xfce#15319) * Sat Apr 06 2019 wally <wally> 4.13.4-3.mga7 + Revision: 1386376 - add patches from upstream * Fri Jan 11 2019 wally <wally> 4.13.4-2.mga7 + Revision: 1355016 - add upstream patch to revert 'Applications menu icon sizing fixes' (mga#23993, xfce#14976) * Wed Jan 02 2019 wally <wally> 4.13.4-1.mga7 + Revision: 1348716 - new version 4.13.4 - drop upstreamed patches * Sun Sep 23 2018 umeabot <umeabot> 4.13.3-2.mga7 + Revision: 1301873 - Mageia 7 Mass Rebuild * Fri May 04 2018 wally <wally> 4.13.3-1.mga7 + Revision: 1226207 - new version 4.13.3 - drop patches from upstream * Tue Apr 17 2018 wally <wally> 4.13.2-4.mga7 + Revision: 1219694 - add patch from upstream to avoid constant redraws (xfce#14307) * Sat Mar 24 2018 wally <wally> 4.13.2-3.mga7 + Revision: 1211928 - add gir typelib support * Sat Feb 17 2018 wally <wally> 4.13.2-2.mga7 + Revision: 1202062 - add patches to fix various bugs reported to upstream o fixes missing icons with adwaita icon theme (mga#22617) * Thu Dec 14 2017 wally <wally> 4.13.2-1.mga7 + Revision: 1182557 - new version 4.13.2 - use freedesktop.org compliant icon for clock plugin * Thu Sep 28 2017 wally <wally> 4.13.1-1.mga7 + Revision: 1161131 - new version 4.13.1 * Wed Oct 26 2016 wally <wally> 4.12.1-1.mga6 + Revision: 1063672 - version 4.12.1 * Sun Dec 06 2015 wally <wally> 4.12.0-3.mga6 + Revision: 908566 - add patch to fix $HOME/.xsession-errors flooding and high CPU usage after GTK+3.19 udate * Sun Jun 21 2015 wally <wally> 4.12.0-2.mga6 + Revision: 837654 - split out the gtk3 devel pkg - remove old conflicts/obsoletes * Tue Mar 03 2015 wally <wally> 4.12.0-1.mga5 + Revision: 817394 - new version 4.12.0 - drop patches from upstream * Tue Jan 27 2015 wally <wally> 4.11.1-6.mga5 + Revision: 812454 - use xfce4-clock icon from cheser-icon-theme as clock applet icon * Mon Jan 26 2015 wally <wally> 4.11.1-5.mga5 + Revision: 812358 - fix separator icon in preferences etc. * Thu Nov 27 2014 wally <wally> 4.11.1-4.mga5 + Revision: 799536 - add patch from upstream git to fix session being always saved when using panel action logout button (xfce#7930) * Wed Oct 15 2014 umeabot <umeabot> 4.11.1-3.mga5 + Revision: 745649 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 4.11.1-2.mga5 + Revision: 690623 - Mageia 5 Mass Rebuild * Mon Jun 23 2014 wally <wally> 4.11.1-1.mga5 + Revision: 638859 - new version 4.11.1 * Sun Feb 16 2014 wally <wally> 4.11.0-1.mga5 + Revision: 592617 - new version 4.11.0 - enable GTK3 support - exclude plugin .so from provides * Tue Feb 04 2014 wally <wally> 4.10.1-3.mga5 + Revision: 581665 - add patch to add dm-tool support to user switch panel action * Sat Oct 19 2013 umeabot <umeabot> 4.10.1-2.mga4 + Revision: 523551 - Mageia 4 Mass Rebuild * Thu May 23 2013 wally <wally> 4.10.1-1.mga4 + Revision: 425069 - new version 4.10.1 - drop patches from upstream * Fri Apr 05 2013 wally <wally> 4.10.0-5.mga3 + Revision: 408353 - add patch from upstream git to fix icon/pixbuf resizing * Mon Jan 14 2013 umeabot <umeabot> 4.10.0-4.mga3 + Revision: 386859 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Dec 01 2012 wally <wally> 4.10.0-3.mga3 + Revision: 324116 - obsolete xfswitch-plugin which is integrated to xfce4-panel's action plugin * Wed Jul 18 2012 wally <wally> 4.10.0-2.mga3 + Revision: 272335 - fix requires after mageia-xfce-config packaging change * Mon May 28 2012 wally <wally> 4.10.0-1.mga3 + Revision: 248461 - new version 4.10.0 - new major 4 - clean .spec * Tue Jan 03 2012 wally <wally> 4.9.0-1.mga2 + Revision: 190020 - new version 4.9.0 - clean BRs - don't own system icon dirs - don't regenerate gtk docs - clean .spec a bit * Sat Sep 24 2011 wally <wally> 4.8.6-1.mga2 + Revision: 147298 - new version 4.8.6 - fix libification - move some doc files to devel pkg - clean .spec a bit * Fri Jun 24 2011 ahmad <ahmad> 4.8.5-1.mga2 + Revision: 113173 - Update to 4.8.5 * Tue Jun 21 2011 ahmad <ahmad> 4.8.4-1.mga2 + Revision: 111166 - Update to 4.8.4 * Wed Apr 13 2011 ahmad <ahmad> 4.8.3-1.mga1 + Revision: 84456 - update to 4.8.3 - bump some BR versions * Sat Apr 02 2011 ahmad <ahmad> 4.8.2-1.mga1 + Revision: 79737 - update to 4.8.2 - obsolete xfce4-volstatus-icon and xfce4-xfapplet-plugin, both are unmaintained upstream and hasn't been ported to XFCE 4.8 (confirmed by looking at upstream git logs and Fedora) * Thu Feb 17 2011 ahmad <ahmad> 4.8.1-1.mga1 + Revision: 53274 - update to 4.8.1 * Thu Jan 27 2011 ahmad <ahmad> 4.8.0-1.mga1 + Revision: 41638 - change requires to mageia-xfce-config-common - don't ship .a, .la - imported package xfce4-panel * Sun Jan 23 2011 Tomasz Pawel Gajc <tpg@mandriva.org> 4.8.0-1mdv2011.0 + Revision: 632432 - update to new version 4.8.0 * Fri Jan 07 2011 Tomasz Pawel Gajc <tpg@mandriva.org> 4.7.7-1mdv2011.0 + Revision: 629571 - update to new version 4.7.7 - fix file list * Wed Dec 08 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.7.6-1mdv2011.0 + Revision: 616407 - update to new version 4.7.6 * Sat Dec 04 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.7.5-1mdv2011.0 + Revision: 609367 - update to new version 4.7.5 * Sat Nov 06 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.7.4-1mdv2011.0 + Revision: 593817 - update to new version 4.7.4 - drop some conditions in spec file for mdv older than 200900 * Fri Sep 17 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.7.3-1mdv2011.0 + Revision: 579302 - update to new version 4.7.3 - tune up buildrequires - fix file list * Fri Jul 16 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.4-1mdv2011.0 + Revision: 553870 - update to new version 4.6.4 * Sat Feb 27 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.3-2mdv2010.1 + Revision: 512430 - fix obsoletes in devel subpackages * Wed Dec 30 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.3-1mdv2010.1 + Revision: 484149 - update to new version 4.6.3 - drop patch 0, fixed upstream (xfce bz #6110) * Sun Dec 27 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.2-3mdv2010.1 + Revision: 482718 - reeanble gtk-doc * Wed Dec 23 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.2-2mdv2010.1 + Revision: 481842 - apply patch 0 only for mdv >= 2010.0 - disable gtk-docs for now + Christophe Fergeau <cfergeau@mandriva.com> - make sure panels don't show window decorations * Sun Oct 18 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.2-1mdv2010.0 + Revision: 458148 - update to new version 4.6.2 - adapt to new urls - drop patch 0 and 1 because they were merged in by upstream * Thu Jun 25 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.1-3mdv2010.0 + Revision: 389207 - Patch1: fix command args for session restart * Thu Jun 11 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.1-2mdv2010.0 + Revision: 385028 - Patch0: open Terminal with exo-open * Tue Apr 21 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.1-1mdv2010.0 + Revision: 368576 - update to new version 4.6.1 * Sun Apr 05 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.0-4mdv2009.1 + Revision: 364183 - Patch1: migrate launcher category icons - Patch2: don't crash when quit button is pressed - Patch3: properly set the systray orientation property * Sun Mar 22 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.0-3mdv2009.1 + Revision: 360503 - Patch0: fix build with -Wl,--as-needed * Thu Mar 05 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.6.0-2mdv2009.1 + Revision: 349226 - rebuild whole xfce * Fri Feb 27 2009 Jérôme Soyer <saispo@mandriva.org> 4.6.0-1mdv2009.1 + Revision: 345704 - New upstream release * Tue Jan 27 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.5.99.1-1mdv2009.1 + Revision: 333946 - update to new version 4.5.99.1 * Wed Jan 14 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.5.93-1mdv2009.1 + Revision: 329515 - update to new version 4.5.93 - add full path for the Source0 * Sat Nov 15 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 4.5.92-3mdv2009.1 + Revision: 303523 - update to new version 4.5.92 (Xfce 4.6 Beta 2 Hopper) * Thu Nov 13 2008 Oden Eriksson <oeriksson@mandriva.com> 4.5.91-3mdv2009.1 + Revision: 302650 - rebuild * Tue Nov 11 2008 Oden Eriksson <oeriksson@mandriva.com> 4.5.91-2mdv2009.1 + Revision: 302229 - rebuilt against new libxcb * Thu Oct 16 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 4.5.91-1mdv2009.1 + Revision: 294486 - Xfce4.6 beta1 is landing on cooker - patch 1 and 2 were merged upstream - fix file list - tune up buildrequires + Thierry Vignaud <tv@mandriva.org> - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Mon May 19 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.2-4mdv2009.0 + Revision: 208978 - Patch0: fix drag and drop files over panels - Patch1: fix dialogs on multiscreen * Sun May 11 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.2-3mdv2009.0 + Revision: 205611 - change sysconfdir from /etc/X11/xdg to /etc/xdg only for Mandriva releases newer than 2008.1 * Mon Mar 31 2008 Antoine Ginies <aginies@mandriva.com> 4.4.2-3mdv2008.1 + Revision: 191245 - add mandriva-xfce-config-common to fix bug 39496 * Thu Jan 17 2008 Thierry Vignaud <tv@mandriva.org> 4.4.2-2mdv2008.1 + Revision: 154147 - do not package big changelog - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sun Nov 18 2007 Jérôme Soyer <saispo@mandriva.org> 4.4.2-1mdv2008.1 + Revision: 109979 - New release 4.4.2 + Tomasz Pawel Gajc <tpg@mandriva.org> - obsolete old release - new license policy - use upstream tarball name as a real name - use upstream name * Sat Sep 22 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-9mdv2008.0 + Revision: 92276 - provide patch 0 which fixes upstream Xfce bug #3496 * Fri Sep 21 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-8mdv2008.0 + Revision: 91879 - exclude config files, which are now in mandriva-xfce-config package * Fri Sep 07 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-7mdv2008.0 + Revision: 81884 - drop patch 0, because we rely on mandriva-xfce-config packages remove unneeded provides and obsoletes * Tue Jun 26 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-6mdv2008.0 + Revision: 44272 - fix file list - don't own configuration files - new devel library policy - correct obsoletes/provides - move Sources 1,2,3,4,5 to the xfce-config package - update description * Thu May 31 2007 Jérôme Soyer <saispo@mandriva.org> 4.4.1-5mdv2008.0 + Revision: 33090 - Fix errors - Fix Mandriva Theme * Tue May 29 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-3mdv2008.0 + Revision: 32517 - spec file clean - add %%post and %%postun for main package move icon caching macros from lib to main package * Fri May 25 2007 Jérôme Soyer <saispo@mandriva.org> 4.4.1-2mdv2008.0 + Revision: 31097 - Remove french desktop - Bump release - Add mandriva default theme * Wed Apr 18 2007 Jérôme Soyer <saispo@mandriva.org> 4.4.1-1mdv2008.0 + Revision: 14793 - New release 4.4.1