[packages/menu-cache] - updated to 1.1.0; requires libfm-extra now

qboosh qboosh at pld-linux.org
Thu Nov 23 15:54:44 CET 2017


commit 51f8be4714db1586f3782bbb77d77d59d9b644f4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Nov 23 15:55:45 2017 +0100

    - updated to 1.1.0; requires libfm-extra now

 menu-cache.spec | 62 +++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 45 insertions(+), 17 deletions(-)
---
diff --git a/menu-cache.spec b/menu-cache.spec
index 20593a9..82081ca 100644
--- a/menu-cache.spec
+++ b/menu-cache.spec
@@ -1,17 +1,21 @@
 Summary:	Library for caching freedesktop defined application menus
 Summary(pl.UTF-8):	Biblioteka do buforowania menu freedesktop.org
 Name:		menu-cache
-Version:	0.5.0
-Release:	2
-License:	GPL v2
+Version:	1.1.0
+Release:	1
+License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
-# Source0-md5:	3a757b0a8a668081eb8685140c0e69e8
+Source0:	http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+# Source0-md5:	99999a0bca48b980105208760c8fd893
 URL:		http://www.lxde.org/
-BuildRequires:	glib2-devel
-BuildRequires:	libtool
+BuildRequires:	glib2-devel >= 1:2.16.0
+BuildRequires:	gtk-doc >= 1.14
+BuildRequires:	libfm-extra-devel
 BuildRequires:	pkgconfig
 BuildRequires:	rpm >= 4.4.9-56
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	glib2 >= 1:2.16.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,7 +32,8 @@ z freedesktop.org. Libmenu-cache może zastępować libgnome-menu.
 Summary:	Header files and libraries for menu-cache development
 Summary(pl.UTF-8):	Pliki nagłówkowe i dokumentacja do menu-cache
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.16.0
 
 %description devel
 Libmenu-cache is a library creating and utilizing caches to speed up
@@ -43,14 +48,14 @@ Libmenu-cache jest biblioteką do tworzenia i używania buforów
 (caches), które przyspieszają wczytywanie i zapisywanie menu zgodnego
 z freedesktop.org. Libmenu-cache może zastępować libgnome-menu.
 
-Pakiet ten zawiera pliki nagłowkowe i dokumentację potrzebną przy
+Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy
 tworzeniu własnych programów wykorzystujących menu-cache.
 
 %package static
 Summary:	Static library for menu-cache development
 Summary(pl.UTF-8):	Biblioteka statyczna do menu-cache
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Libmenu-cache is a library creating and utilizing caches to speed up
@@ -68,11 +73,25 @@ z freedesktop.org. Libmenu-cache może zastępować libgnome-menu.
 Pakiet ten zawiera bibliotekę statyczną potrzebną przy tworzeniu
 własnych programów wykorzystujących menu-cache.
 
+%package apidocs
+Summary:	API documentation for menu-cache library
+Summary(pl.UTF-8):	Dokumentacja API biblioteki menu-cache
+Group:		Documentation
+
+%description apidocs
+API documentation for menu-cache library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki menu-cache.
+
 %prep
 %setup -q
 
 %build
-%configure
+%configure \
+	--enable-gtk-doc \
+	--disable-silent-rules \
+	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
@@ -81,22 +100,27 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmenu-cache.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
-%attr(755,root,root) %{_libdir}/libmenu-cache.so.3*
-%attr(755,root,root) %{_libdir}/menu-cache*
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_libdir}/libmenu-cache.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmenu-cache.so.3
+%dir %{_libexecdir}/menu-cache
+%attr(755,root,root) %{_libexecdir}/menu-cache/menu-cache-gen
+%attr(755,root,root) %{_libexecdir}/menu-cache/menu-cached
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libmenu-cache.so
-%{_libdir}/libmenu-cache.la
 %dir %{_includedir}/menu-cache
 %{_includedir}/menu-cache/menu-cache.h
 %{_pkgconfigdir}/libmenu-cache.pc
@@ -104,3 +128,7 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libmenu-cache.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libmenu-cache
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/menu-cache.git/commitdiff/51f8be4714db1586f3782bbb77d77d59d9b644f4



More information about the pld-cvs-commit mailing list