Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c07bd6f3da | ||
|
|
a302afb4bc | ||
|
|
8e907efaf1 | ||
|
|
8634b19aa4 | ||
|
|
2dc8a3b8c8 | ||
|
|
0ec7ee8839 |
5 changed files with 101 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
menu-cache-0.2.6.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: menu-cache
|
||||
# $Id$
|
||||
NAME := menu-cache
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
99
menu-cache.spec
Normal file
99
menu-cache.spec
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
Name: menu-cache
|
||||
Version: 0.2.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Caching mechanism for freedesktop.org compliant menus
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+ and GPLv2+
|
||||
URL: http://lxde.org
|
||||
Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: glib2-devel >= 2.16.0
|
||||
BuildRequires: chrpath
|
||||
Requires: redhat-menus
|
||||
|
||||
%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
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/menu-cache-gen
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
#FIXME: add ChangeLog and NEWS if there is content
|
||||
%doc AUTHORS COPYING README
|
||||
%{_libexecdir}/menu-cache-gen
|
||||
%{_libexecdir}/menu-cached
|
||||
%{_libdir}/libmenu-cache.so.*
|
||||
#%{_mandir}/man*/*.gz
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_includedir}/menu-cache/
|
||||
%{_includedir}/menu-cache/*.h
|
||||
%{_libdir}/libmenu-cache.so
|
||||
%{_libdir}/pkgconfig/libmenu-cache.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.6-1
|
||||
- Update to 0.2.6
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.5-1
|
||||
- Update to 0.2.5
|
||||
|
||||
* Mon Apr 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.4-1
|
||||
- Update to 0.2.4
|
||||
|
||||
* Tue Mar 31 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.3-1
|
||||
- Update to 0.2.3
|
||||
|
||||
* Wed Dec 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.2-1
|
||||
- Update to 0.2.2
|
||||
|
||||
* Tue Dec 09 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.0-1
|
||||
- Update to 0.2.0
|
||||
- Split into base and devel package
|
||||
|
||||
* Sun Dec 07 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-1
|
||||
- Initial Fedora package
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
114498e13525dd13cbfdce513d22b083 menu-cache-0.2.6.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue