## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Review at https://bugzilla.redhat.com/show_bug.cgi?id=554603 %global xfceversion 4.18 %global namespc Garcon Name: garcon Version: 4.18.2 Release: %autorelease Summary: Implementation of the freedesktop.org menu specification # garcon's source code is licensed under the LGPLv2+, # while its documentation is licensed under the GFDL 1.1 # Automatically converted from old format: LGPLv2+ and GFDL - review is highly recommended. License: LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-GFDL URL: http://xfce.org/ #VCS git:git://git.xfce.org/xfce/garcon Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 Source1: Documentation.directory Patch0: garcon-%{xfceversion}-fedora-menus.patch BuildRequires: pkgconfig(glib-2.0) >= 2.30.0 BuildRequires: pkgconfig(libxfce4util-1.0) >= %{xfceversion} BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion} BuildRequires: pkgconfig(gio-2.0) >= 2.30.0 BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0 BuildRequires: pkgconfig(gthread-2.0) >= 2.30.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0 BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: gettext BuildRequires: intltool BuildRequires: gobject-introspection-devel BuildRequires: make Obsoletes: libxfce4menu < 4.6.3 # because of %%{_datadir}/desktop-directories/xfce-* Conflicts: xfdesktop <= 4.6.2 %description Garcon is an implementation of the freedesktop.org menu specification replacing the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and aims at covering the entire specification except for legacy menus. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: gtk2-devel Requires: pkgconfig Obsoletes: libxfce4menu-devel < 4.6.2 %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch -P 0 -p1 -b.fedora-menus %build %configure --disable-static --enable-gtk-doc %make_build %install %make_install # fix permissions for libraries chmod 755 %{buildroot}/%{_libdir}/*.so find %{buildroot} -name '*.la' -exec rm -f {} ';' %find_lang %{name} install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/desktop-directories %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog NEWS %config(noreplace) %{_sysconfdir}/xdg/menus/xfce-applications.menu %{_libdir}/*.so.* %{_libdir}/girepository-1.0/%{namespc}* %{_datadir}/icons/hicolor/*/apps/org.xfce.garcon.png %{_datadir}/gir-1.0/%{namespc}* %{_datadir}/desktop-directories/*.directory %files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %doc %{_datadir}/gtk-doc/ %changelog ## START: Generated by rpmautospec * Wed Aug 28 2024 Miroslav Suchý - 4.18.2-4 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 4.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Feb 23 2024 Kevin Fenzi - 4.18.2-2 - Adjust name of Documentation directory to fix translations. rhbz#2265553 * Sat Feb 10 2024 Mukundan Ragavan - 4.18.2-1 - Update garcon to v4.18.2 * Wed Jan 24 2024 Fedora Release Engineering - 4.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 4.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 4.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Mar 29 2023 Mukundan Ragavan - 4.18.1-1 - Update to v4.18.1 * Thu Jan 19 2023 Fedora Release Engineering - 4.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 16 2023 Mukundan Ragavan - 4.18.0-2 - update patch to 4.18 * Mon Jan 16 2023 Mukundan Ragavan - 4.18.0-1 - Update to v4.18.0 (Xfce 4.18) * Thu Jul 21 2022 Fedora Release Engineering - 4.16.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 4.16.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 4.16.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Feb 05 2021 Mukundan Ragavan - 4.16.1-3 - Update and re-enable fedora menu patch * Tue Jan 26 2021 Fedora Release Engineering - 4.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 16 2021 Filipe Rosset - 4.16.1-1 - Update to 4.16.1 * Wed Dec 23 2020 Mukundan Ragavan - 0.8.0-1 - Update to 0.8.0 * Mon Jul 27 2020 Fedora Release Engineering - 0.6.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.6.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 12 2019 Mukundan Ragavan - 0.6.4-3 - Rebuild for xfce 4.14 * Tue Jul 30 2019 Mukundan Ragavan - 0.6.4-2 - rebuild for xfce 4.14pre3 * Mon Jul 29 2019 Mukundan Ragavan - 0.6.4-1 - Update to 0.6.4 * Thu Jul 25 2019 Fedora Release Engineering - 0.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 02 2019 Mukundan Ragavan - 0.6.3-2 - Rebuild for libxfce4util and libxfce4ui - Add gobject-introspection-devel as buildrequires * Mon Jul 01 2019 Mukundan Ragavan - 0.6.3-1 - Update to 0.6.3 * Thu Jan 31 2019 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Dec 07 2018 Mukundan Ragavan - 0.6.2-1 - Update to 0.6.2 - Drop unnecessary patches * Fri Sep 07 2018 Mukundan Ragavan - 0.6.1-21 - Add patch to fix large icons (fixes bug#1624292) * Sat Aug 11 2018 Mukundan Ragavan - 0.6.1-20 - Rebuild for xfce version 4.13 * Mon Jul 16 2018 Mukundan Ragavan - 0.6.1-6 - Add gcc-c++ as BR * Fri Jul 13 2018 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 07 2017 Kevin Fenzi - 0.6.1-1 - Update to 0.6.1. Fixes bug #1468765 * Mon Apr 17 2017 Kevin Fenzi - 0.6.0-1 - Update to 0.6.0. * Fri Feb 10 2017 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jul 29 2016 Kevin Fenzi - 0.5.0-1 - Update to 0.5.0. Fixes bug #1361565 * Wed Feb 03 2016 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Feb 28 2015 Mukundan Ragavan - 0.4.0-2 - Fix permissions for installed libraries * Sat Feb 28 2015 Mukundan Ragavan - 0.4.0-1 - Update to version 0.4.0 * Sat Aug 16 2014 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Aug 28 2013 Kevin Fenzi 0.2.1-3 - Fix obsoletes. Fixes bug #1002131 * Sat Aug 03 2013 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun May 05 2013 Kevin Fenzi 0.2.1-1 - Update to 0.2.1 * Wed Feb 13 2013 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 27 2012 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat May 05 2012 Christoph Wickert - 0.2.0-2 - Don't use redhat-menus, otherwiese we need gnome-menus, too (#750380) * Sat Apr 28 2012 Christoph Wickert - 0.2.0-1 - Update to 0.2.0 (Xfce 4.10 final) - Add VCS key * Sat Apr 14 2012 Kevin Fenzi - 0.1.12-1 - Update to 0.1.12 (Xfce 4.10pre1) * Mon Apr 02 2012 Kevin Fenzi - 0.1.11-1 - Update to 0.1.11 * Fri Jan 13 2012 Fedora Release Engineering - 0.1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Oct 26 2011 Fedora Release Engineering - 0.1.9-2 - Rebuilt for glibc bug#747377 * Sat Oct 22 2011 Christoph Wickert - 0.1.9-1 - Update to 0.1.9 - BR libxfce4util-devel * Sun Jun 19 2011 Christoph Wickert - 0.1.8-1 - Update to 0.1.8 * Thu May 05 2011 Christoph Wickert - 0.1.7-1 - Update to 0.1.7 - Fix redhat-menus.patch to include all icons * Wed Apr 06 2011 Christoph Wickert - 0.1.6-1 - Update to 0.1.6 - Remove Provides: for libxfce4menu since we not really provide it * Sat Apr 02 2011 Christoph Wickert - 0.1.5-5 - Remove internet-mail icons again (moved to exo) - Update redhat-menus.patch for F15 * Tue Mar 29 2011 Christoph Wickert - 0.1.5-4 - Add internet-mail icon for exo-mail-reader (#678706) * Tue Feb 08 2011 Fedora Release Engineering - 0.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 17 2011 Christoph Wickert - 0.1.5-2 - Include rebased redhat-menus.patch * Sun Jan 16 2011 Kevin Fenzi - 0.1.5-1 - Update to 0.1.5 * Sun Dec 05 2010 Christoph Wickert - 0.1.4-1 - Update to 0.1.4 * Sat Dec 04 2010 Christoph Wickert - 0.1.3-2 - Add patch to use redhat-menus * Mon Nov 08 2010 Christoph Wickert - 0.1.3-1 - Update to 0.1.2 * Wed Nov 03 2010 Christoph Wickert - 0.1.2-1 - Update to 0.1.2 * Thu Oct 07 2010 Christoph Wickert - 0.1.1-2 - Drop dependency on gtk-doc (#604352) * Fri Feb 26 2010 Christoph Wickert - 0.1.1-1 - Update to 0.1.1 * Tue Jan 12 2010 Christoph Wickert - 0.1.0-2 - Build gtk-doc * Tue Jan 05 2010 Christoph Wickert - 0.1.0-1 - Initial spec file ## END: Generated by rpmautospec