diff --git a/libmenu-cache.spec b/libmenu-cache.spec index cc8ddff..9828d10 100644 --- a/libmenu-cache.spec +++ b/libmenu-cache.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: libmenu-cache Version: 1.1.0 -Release: 1mamba +Release: 2mamba Summary: Caching mechanism for freedesktop.org compliant menus Group: System/Libraries Vendor: openmamba @@ -10,13 +10,14 @@ 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: ldconfig +BuildRequires: libfm-devel BuildRequires: libglib-devel -BuildRequires: libselinux ## AUTOBUILDREQ-END Provides: menu-cache +BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Menu-cache is a caching mechanism for freedesktop.org compliant menus to speed up parsing of the menu entries. @@ -30,14 +31,17 @@ 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 needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep %setup -q -n menu-cache-%{version} %build -%configure +%configure \ + CFLAGS="%{optflags} -fcommon" + %make %install @@ -52,7 +56,7 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/libmenu-cache.so.* %dir %{_libexecdir}/menu-cache %{_libexecdir}/menu-cache/menu-cache-gen %{_libexecdir}/menu-cache/menu-cached @@ -62,13 +66,16 @@ This package contains static libraries and header files need for development. %defattr(-,root,root) %dir %{_includedir}/menu-cache/ %{_includedir}/menu-cache/*.h -%{_libdir}/*.a -%{_libdir}/*.la -%{_libdir}/*.so +%{_libdir}/libmenu-cache.a +%{_libdir}/libmenu-cache.la +%{_libdir}/libmenu-cache.so %{_libdir}/pkgconfig/*.pc %doc README %changelog +* 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