%define majver %(echo %version | cut -d. -f1-2) Name: libmenu-cache Version: 1.0.0 Release: 1mamba Summary: Caching mechanism for freedesktop.org compliant menus Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Fabio Giani URL: http://www.lxde.org/ Source: http://downloads.sourceforge.net/project/lxde/menu-cache/%{majver}/menu-cache-%{version}.tar.xz License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libglib-devel BuildRequires: libselinux ## AUTOBUILDREQ-END Provides: menu-cache %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 devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description 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 need for development. %prep %setup -q -n menu-cache-%{version} %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall DESTDIR=%{buildroot} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %dir %{_libexecdir}/menu-cache %{_libexecdir}/menu-cache/menu-cache-gen %{_libexecdir}/menu-cache/menu-cached %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/menu-cache/ %{_includedir}/menu-cache/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %doc README %changelog * 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