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 Patch4: %{name}-finance.patch
17 BuildRequires: autoconf
18 BuildRequires: automake
19 Obsoletes: gnome-menus
20 Obsoletes: gnome-menus-filter
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _xdgconfdir /etc/xdg
26 %define _xdgdatadir %{_datadir}/desktop-directories
29 Base directories tree used for storing desktop/kdelnk menu entries.
30 Package also contains full description of this hierarchy (descriptions
31 with translations and menu order).
34 Bazowa struktura katalogów u¿ywana do przechowywania plików
35 desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
36 zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
37 t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
38 grup/elementów katalogów.
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
60 DESTDIR=$RPM_BUILD_ROOT \
61 pixmapsdir=%{_pixmapsdir}
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/preferences.menu
64 install %{SOURCE2} $RPM_BUILD_ROOT%{_xdgconfdir}/menus/settings.menu
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
72 %dir %{_xdgconfdir}/menus
73 %dir %{_xdgconfdir}/menus/applications-merged
74 %{_xdgconfdir}/menus/*.menu