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