1 Summary: Applnk - base directories tree used for storing desktop/kdelnk menu entries
2 Summary(pl): Applnk - bazowa struktura katalogów z opisami do plików desktop/kdelnk
8 Source0: ftp://ftp.pld-linux.org/software/applnk/%{name}-%{version}.tar.bz2
9 # Source0-md5: e3d5d40cfd4ea6c891d4e337004e09f4
10 Source1: %{name}-gnome-preferences.menu
11 Source2: %{name}-gnome-settings.menu
12 Patch0: %{name}-system.patch
13 Patch1: %{name}-gnome.patch
14 Patch2: %{name}-category.patch
15 Patch3: %{name}-ca+es.patch
16 BuildRequires: autoconf
17 BuildRequires: automake
18 Obsoletes: gnome-menus
19 Obsoletes: gnome-menus-filter
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _xdgconfdir /etc/xdg
25 %define _xdgdatadir %{_datadir}/desktop-directories
28 Base directories tree used for storing desktop/kdelnk menu entries.
29 Package also contains full description of this hierarchy (descriptions
30 with translations and menu order).
33 Bazowa struktura katalogów u¿ywana do przechowywania plików
34 desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
35 zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
36 t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
37 grup/elementów katalogów.
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged \
56 $RPM_BUILD_ROOT%{_desktopdir}/docklets
59 DESTDIR=$RPM_BUILD_ROOT \
60 pixmapsdir=%{_pixmapsdir}
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/preferences.menu
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/settings.menu
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
71 %dir %{_desktopdir}/docklets
72 %dir %{_xdgconfdir}/menus
73 %dir %{_xdgconfdir}/menus/applications-merged
74 %{_xdgconfdir}/menus/*.menu