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