]> git.pld-linux.org Git - packages/desktop-file-utils.git/blob - desktop-file-utils.spec
- added nodisplay and noshowin patches (support for NoDisplay and NoShowIn
[packages/desktop-file-utils.git] / desktop-file-utils.spec
1 Summary:        A couple of command line utilities for working with desktop entries
2 Summary(pl):    Kilka narzêdzi do pracy z elementami biurkowymi
3 Name:           desktop-file-utils
4 Version:        0.6
5 Release:        2.4
6 License:        GPL
7 Group:          Applications
8 Source0:        http://freedesktop.org/Software/desktop-file-utils/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  dcace3294470e9cdc9ebfe7de1881ece
10 Patch0:         %{name}-menu.patch
11 Patch1:         %{name}-hide_empty_submenus.patch
12 Patch2:         %{name}-directory_change_notify.patch
13 Patch3:         %{name}-directory_mtime.patch
14 Patch4:         %{name}-onlyshowin.patch
15 Patch5:         %{name}-nodisplay.patch
16 Patch6:         %{name}-noshowin.patch
17 # don't append / at end of URL
18 URL:            http://www.freedesktop.org/software/desktop-file-utils
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  glib2-devel >= 2.0.0
22 BuildRequires:  gnome-vfs2-devel >= 2.2.0
23 BuildRequires:  libtool
24 BuildRequires:  popt-devel >= 1.5
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 desktop-file-utils contains a couple of command line utilities for
29 working with desktop entries.
30
31 %description -l pl
32 desktop-file-utils zawiera kilka narzêdzi uruchamianych z linii
33 poleceñ, s³u¿±cych do pracy z elementami biurkowymi.
34
35 %package -n gnome-vfs2-module-menu
36 Summary:        Freedesktop.org style menu support module for gnome-vfs
37 Summary(pl):    Obs³uga menu wed³ug specyfikacji z freedesktop.org
38 Group:          Applications
39 Requires:       gnome-vfs2 >= 2.2.0
40 Requires:       applnk >= 1.9.3-2
41
42 %description -n gnome-vfs2-module-menu
43 This package contains module for gnome-vfs supporting menu with
44 specification declared by freedesktop.org.
45
46 %description -n gnome-vfs2-module-menu -l pl
47 Ten pakiet zawiera modu³ obs³ugi menu dla gnome-vfs wed³ug
48 specyfikacji freedesktop.org.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54 %patch2 -p1
55 %patch3 -p1
56 %patch4 -p1
57 %patch5 -p1
58 %patch6 -p1
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoheader}
64 %{__automake}
65 %{__autoconf}
66 %configure \
67         --disable-static
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 # remove unused *.la for gnome-vfs modules
77 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la
78
79 # not needed - it's only for testing purposes
80 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gnome-vfs-2.0/modules/menu-modules.conf
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README
88 %attr(755,root,root) %{_bindir}/*
89
90 %files -n gnome-vfs2-module-menu
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/*.so
This page took 0.130048 seconds and 3 git commands to generate.