libmenu-cache/libmenu-cache.spec

81 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

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 <fabio.giani@gmail.com>
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 <autodist@mambasoft.it> 0.4.1-1mamba
- update to 0.4.1
* Mon Jul 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3-1mamba
- update to 0.3.3
* Tue Nov 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1mamba
- update to 0.3.2
* Fri Jan 22 2010 Fabio Giani <fabio.giani@gmail.com> 0.2.6-1mamba
- package created by autospec