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