libmenu-cache/libmenu-cache.spec

101 lines
3.0 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libmenu-cache
Version: 1.0.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/%{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
* Mon Dec 07 2015 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Sun Nov 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Tue Oct 07 2014 Automatic Build System <autodist@mambasoft.it> 0.7.0-1mamba
- automatic version update by autodist
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-1mamba
- update to 0.6.1
* Fri Oct 18 2013 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- automatic version update by autodist
* Fri Jul 19 2013 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- update to 0.5.0
* 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