]> git.pld-linux.org Git - packages/desktop-file-utils.git/blobdiff - desktop-file-utils.spec
- package %{_desktopdir}/mimeinfo.cache; rel 2
[packages/desktop-file-utils.git] / desktop-file-utils.spec
index 7d415d4590c54e027b88c24a9f878a297549f3c1..f4bf36aaf05e28cd641782b9132a030bbd6fc93c 100644 (file)
@@ -1,63 +1,30 @@
 Summary:       A couple of command line utilities for working with desktop entries
-Summary(pl):   Kilka narzêdzi do pracy z elementami biurkowymi
+Summary(pl.UTF-8):     Kilka narzędzi do pracy z elementami biurkowymi
 Name:          desktop-file-utils
-Version:       0.7
-Release:       0.91
+Version:       0.14
+Release:       2
 License:       GPL
 Group:         Applications
-Source0:       http://freedesktop.org/Software/desktop-file-utils/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 32b948c2676170dc01ac4849c00bc5d6
-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
-Patch7:                %{name}-home_dir.patch
-# don't append / at end of URL
-URL:           http://www.freedesktop.org/software/desktop-file-utils
+Source0:       http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.gz
+# Source0-md5: e0b5057a4e3166f34635ac6f27c712c0
+URL:           http://www.freedesktop.org/wiki/Software/desktop-file-utils
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: glib2-devel >= 2.0.0
-BuildRequires: gnome-vfs2-devel >= 2.2.0
+BuildRequires: glib2-devel >= 1:2.8.0
 BuildRequires: libtool
-BuildRequires: popt-devel >= 1.5
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 desktop-file-utils contains a couple of command line utilities for
 working with desktop entries.
 
-%description -l pl
-desktop-file-utils zawiera kilka narzêdzi uruchamianych z linii
-poleceñ, s³u¿±cych do pracy z elementami biurkowymi.
-
-%package -n gnome-vfs2-module-menu
-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.6.1.1-3.1
-Requires:      applnk >= 1.9.3-2
-
-%description -n gnome-vfs2-module-menu
-This package contains module for gnome-vfs supporting menu with
-specification declared by freedesktop.org.
-
-%description -n gnome-vfs2-module-menu -l pl
-Ten pakiet zawiera modu³ obs³ugi menu dla gnome-vfs wed³ug
-specyfikacji freedesktop.org.
+%description -l pl.UTF-8
+desktop-file-utils zawiera kilka narzędzi uruchamianych z linii
+poleceń, służących do pracy z elementami biurkowymi.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
 
 %build
 %{__libtoolize}
@@ -75,11 +42,8 @@ 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
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -88,7 +52,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
-
-%files -n gnome-vfs2-module-menu
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/*.so
+%ghost %{_desktopdir}/mimeinfo.cache
This page took 0.185486 seconds and 4 git commands to generate.