diff --git a/README.md b/README.md index 782207d..f98c094 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libmenu-cache +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. + diff --git a/libmenu-cache.spec b/libmenu-cache.spec new file mode 100644 index 0000000..0ed2af3 --- /dev/null +++ b/libmenu-cache.spec @@ -0,0 +1,80 @@ +Name: libmenu-cache +Version: 0.4.1 +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/menu-cache%20%{version}/menu-cache-%{version}.tar.gz +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.* +%{_libexecdir}/menu-cache-gen +%{_libexecdir}/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 +* 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