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