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