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/
9 Source0: %{name}-%{version}.tar.bz2
10 # Source0-md5: 4ca390faf2287051251cca02d971bac1
11 Source1: package_gnome_accessibility.png
12 Source2: package_gnome_advanced.png
13 Source3: package_gnome_system.png
14 Patch0: %{name}-xmllint.patch
15 Patch1: %{name}-gnome-settings.patch
16 BuildRequires: autoconf
17 BuildRequires: automake
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _xdgconfdir /etc/xdg
22 %define _xdgdatadir %{_datadir}/desktop-directories
25 Base directories tree used for storing desktop/kdelnk menu entries.
26 Package also contains full description of this hierarchy (descriptions
27 with translations and menu order).
30 Bazowa struktura katalogów u¿ywana do przechowywania plików
31 desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
32 zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
33 t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
34 grup/elementów katalogów.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
53 DESTDIR=$RPM_BUILD_ROOT \
54 pixmapsdir=%{_pixmapsdir}
56 install %{SOURCE1} %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %dir %{_xdgconfdir}/menus
64 %dir %{_xdgconfdir}/menus/applications-merged
65 # should be marked as %%config
66 %{_xdgconfdir}/menus/applications.menu