diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90bb41a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +menu-cache-0.2.6.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 900be75..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/menu-cache.spec b/menu-cache.spec new file mode 100644 index 0000000..585f269 --- /dev/null +++ b/menu-cache.spec @@ -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 - 0.2.6-1 +- Update to 0.2.6 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Apr 28 2009 Christoph Wickert - 0.2.5-1 +- Update to 0.2.5 + +* Mon Apr 20 2009 Christoph Wickert - 0.2.4-1 +- Update to 0.2.4 + +* Tue Mar 31 2009 Christoph Wickert - 0.2.3-1 +- Update to 0.2.3 + +* Wed Dec 10 2008 Christoph Wickert - 0.2.2-1 +- Update to 0.2.2 + +* Tue Dec 09 2008 Christoph Wickert - 0.2.0-1 +- Update to 0.2.0 +- Split into base and devel package + +* Sun Dec 07 2008 Christoph Wickert - 0.1.3-1 +- Initial Fedora package diff --git a/sources b/sources index e69de29..71df6f5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +114498e13525dd13cbfdce513d22b083 menu-cache-0.2.6.tar.gz