%define majver %(echo %version | cut -d. -f1-2) Name: menu-cache Version: 1.1.0 Release: 3mamba Summary: Caching mechanism for freedesktop.org compliant menus Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.lxde.org/ Source: http://downloads.sourceforge.net/project/lxde/menu-cache/%{majver}/menu-cache-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libfm-devel BuildRequires: libglib-devel ## AUTOBUILDREQ-END %description Menu-cache is a caching mechanism for freedesktop.org compliant menus to speed up parsing of the menu entries. It is currently used by some of components of the LXDE desktop environment such as LXPanel or LXLauncher. %package -n lib%{name} Group: System/Libraries Summary: Caching mechanism for freedesktop.org compliant menus Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: menu-cache %description -n lib%{name} Menu-cache is a caching mechanism for freedesktop.org compliant menus to speed up parsing of the menu entries. It is currently used by some of components of the LXDE desktop environment such as LXPanel or LXLauncher. %package -n lib%{name}-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel Menu-cache is a caching mechanism for freedesktop.org compliant menus to speed up parsing of the menu entries. It is currently used by some of components of the LXDE desktop environment such as LXPanel or LXLauncher. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q %build %configure \ CFLAGS="%{optflags} -fcommon" %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall DESTDIR=%{buildroot} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libmenu-cache.so.* %dir %{_libexecdir}/menu-cache %{_libexecdir}/menu-cache/menu-cache-gen %{_libexecdir}/menu-cache/menu-cached %doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/menu-cache/ %{_includedir}/menu-cache/*.h %{_libdir}/libmenu-cache.a %{_libdir}/libmenu-cache.so %{_libdir}/pkgconfig/*.pc %doc README %changelog * Fri Dec 06 2024 Silvan Calarco 1.1.0-3mamba - source renamed from libmenu-cache to menu-cache * Wed Dec 16 2020 Silvan Calarco 1.1.0-2mamba - rebuilt with debug package * Sun Feb 04 2018 Automatic Build System 1.1.0-1mamba - automatic version update by autodist * Wed Dec 07 2016 Automatic Build System 1.0.2-1mamba - automatic version update by autodist * Mon Dec 07 2015 Automatic Build System 1.0.1-1mamba - automatic version update by autodist * Sun Nov 23 2014 Silvan Calarco 1.0.0-1mamba - update to 1.0.0 * Tue Oct 07 2014 Automatic Build System 0.7.0-1mamba - automatic version update by autodist * Sun Aug 31 2014 Silvan Calarco 0.6.1-1mamba - update to 0.6.1 * Fri Oct 18 2013 Automatic Build System 0.5.1-1mamba - automatic version update by autodist * Fri Jul 19 2013 Automatic Build System 0.5.0-1mamba - update to 0.5.0 * Fri Dec 21 2012 Automatic Build System 0.4.1-1mamba - update to 0.4.1 * Mon Jul 30 2012 Silvan Calarco 0.3.3-1mamba - update to 0.3.3 * Tue Nov 09 2010 Silvan Calarco 0.3.2-1mamba - update to 0.3.2 * Fri Jan 22 2010 Fabio Giani 0.2.6-1mamba - package created by autospec