]> git.pld-linux.org Git - packages/applnk.git/blob - applnk.spec
- added %%{_desktopdir}/docklets
[packages/applnk.git] / applnk.spec
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
3 Name:           applnk
4 Version:        1.9.4
5 Release:        4
6 License:        GPL
7 Group:          Base
8 #Source0:       ftp://ftp.pld-linux.org/software/applnk/
9 Source0:        %{name}-%{version}.tar.bz2
10 # Source0-md5:  85300a3ea420042be20e8438c7e42dd0
11 Patch0:         %{name}-capplet.patch
12 Patch1:         %{name}-SystemSetup.patch
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _xdgconfdir     /etc/xdg
19 %define         _xdgdatadir     %{_datadir}/desktop-directories
20
21 %description
22 Base directories tree used for storing desktop/kdelnk menu entries.
23 Package also contains full description of this hierarchy (descriptions
24 with translations and menu order).
25
26 %description -l pl
27 Bazowa struktura katalogów u¿ywana do przechowywania plików
28 desktop/kdelnk opisu elementów menu ze spisem aplikacji. Pakiet
29 zawiera pe³ny opis hierarchii katalogów (w plikach .directory) wraz z
30 t³umaczeniami tych opisów, a tak¿e opis sposobu uszeregowania
31 grup/elementów katalogów.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 rm -f missing
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_xdgconfdir}/menus/applications-merged
47         $RPM_BUILD_ROOT%{_desktopdir}/docklets
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT \
51         pixmapsdir=%{_pixmapsdir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %dir %{_desktopdir}/docklets
59 %dir %{_xdgconfdir}/menus
60 %dir %{_xdgconfdir}/menus/applications-merged
61 # should be marked as %%config
62 %{_xdgconfdir}/menus/applications.menu
63 %{_xdgdatadir}
64 %{_pixmapsdir}/*
This page took 0.063224 seconds and 4 git commands to generate.