]> git.pld-linux.org Git - packages/desktop-file-utils.git/blobdiff - desktop-file-utils.spec
- support for NoDisplay menu entry
[packages/desktop-file-utils.git] / desktop-file-utils.spec
index 9b554bc03deee78f81ec4b9e26fcd4642c2595c8..f7e1b944da61b1584222838c2f8cc9a2eabd8339 100644 (file)
@@ -1,14 +1,21 @@
-%define        _snap   20031116
 Summary:       A couple of command line utilities for working with desktop entries
 Summary(pl):   Kilka narzêdzi do pracy z elementami biurkowymi
 Name:          desktop-file-utils
-Version:       0.3
-Release:       0.%{_snap}.1
+Version:       0.6
+Release:       2.4
 License:       GPL
 Group:         Applications
-Source0:       %{name}-%{version}-%{_snap}.tar.bz2
-# Source0-md5: 0fdf4caaea9b67a10f259906d0f92819
-URL:           http://www.freedesktop.org/software/desktop-file-utils/
+Source0:       http://freedesktop.org/Software/desktop-file-utils/releases/%{name}-%{version}.tar.gz
+# Source0-md5: dcace3294470e9cdc9ebfe7de1881ece
+Patch0:                %{name}-menu.patch
+Patch1:                %{name}-hide_empty_submenus.patch
+Patch2:                %{name}-directory_change_notify.patch
+Patch3:                %{name}-directory_mtime.patch
+Patch4:                %{name}-onlyshowin.patch
+Patch5:                %{name}-nodisplay.patch
+Patch6:                %{name}-noshowin.patch
+# don't append / at end of URL
+URL:           http://www.freedesktop.org/software/desktop-file-utils
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: glib2-devel >= 2.0.0
@@ -30,9 +37,10 @@ Summary:     Freedesktop.org style menu support module for gnome-vfs
 Summary(pl):   Obs³uga menu wed³ug specyfikacji z freedesktop.org
 Group:         Applications
 Requires:      gnome-vfs2 >= 2.2.0
+Requires:      applnk >= 1.9.3-2
 
 %description -n gnome-vfs2-module-menu
-This package contain module for gnome-vfs supporting menu with
+This package contains module for gnome-vfs supporting menu with
 specification declared by freedesktop.org.
 
 %description -n gnome-vfs2-module-menu -l pl
@@ -40,16 +48,23 @@ Ten pakiet zawiera modu
 specyfikacji freedesktop.org.
 
 %prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-%configure
+%configure \
+       --disable-static
 %{__make}
 
 %install
@@ -58,6 +73,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# remove unused *.la for gnome-vfs modules
+rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la
+
+# not needed - it's only for testing purposes
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gnome-vfs-2.0/modules/menu-modules.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -68,6 +89,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n gnome-vfs2-module-menu
 %defattr(644,root,root,755)
-%{_sysconfdir}/gnome-vfs-2.0/modules/menu-modules.conf
 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/*.so
-%{_libdir}/gnome-vfs-2.0/modules/*.la
This page took 0.065097 seconds and 4 git commands to generate.